Path:
tests/integration/features/source_code_traceability/_language_parsers/python/06_python_file/test.itest
Lines:
16
Non-empty lines:
11
Non-empty lines covered with requirements:
11 / 11 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
- "7.2.3. Language-aware parsing of Python code" (REQUIREMENT)
- "7.6.4. File marker" (REQUIREMENT)
1
# @relation(SDOC-SRS-147, SDOC-SRS-139, scope=file)
2
3
RUN: %strictdoc export %S --output-dir %T
4
| filecheck %s --dump-input=fail
5
CHECK: Published: Hello world doc
6
7
RUN: %check_exists --file "%T/html/_source_files/file.py.html"
8
9
RUN: %cat %T/html/%THIS_TEST_FOLDER/input.html | filecheck %s --dump-input=fail --check-prefix CHECK-HTML
10
CHECK-HTML: <a{{.*}}href="../_source_files/file.py.html#REQ-1#1#14">11
12
RUN: %cat %T/html/_source_files/file.py.html | filecheck %s --dump-input=fail --check-prefix CHECK-SOURCE-FILE
13
CHECK-SOURCE-FILE: href="../_source_files/file.py.html#REQ-1#1#14"
14
15
RUN: %cat %T/html/source_coverage.html | filecheck %s --dump-input=fail --check-prefix CHECK-SOURCE-COVERAGE
16
CHECK-SOURCE-COVERAGE: 100.0