Path:
tests/integration/features/source_code_traceability/_language_parsers/python/01_python_range/test.itest
Lines:
19
Non-empty lines:
14
Non-empty lines covered with requirements:
14 / 14 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
- "7.2.3. Language-aware parsing of Python code" (REQUIREMENT)
- "7.6.5. Range marker" (REQUIREMENT)
1
# @relation(SDOC-SRS-147, SDOC-SRS-138, scope=file)
2
3
RUN: %strictdoc export %S --output-dir %T | filecheck %s --dump-input=fail
4
CHECK: Export completed.
5
6
RUN: %check_exists --file "%T/html/_source_files/file.py.html"
7
8
RUN: %cat %T/html/%THIS_TEST_FOLDER/input.html | filecheck %s --check-prefix CHECK-HTML
9
CHECK-HTML: <a{{.*}}href="../_source_files/file.py.html#REQ-1#2#4">10
11
RUN: %cat %T/html/_source_files/file.py.html | filecheck %s --check-prefix CHECK-SOURCE-FILE
12
CHECK-SOURCE-FILE: href="../{{.*}}/input.html#REQ-1"13
CHECK-SOURCE-FILE: href="../_source_files/file.py.html#REQ-1#2#4"
14
CHECK-SOURCE-FILE: title="lines 2-4 in file file.py"
15
CHECK-SOURCE-FILE: <b>[ 2-4 ]</b>
16
CHECK-SOURCE-FILE: file.py, range
17
18
RUN: %cat %T/html/source_coverage.html | filecheck %s --check-prefix CHECK-SOURCE-COVERAGE
19
CHECK-SOURCE-COVERAGE: 75.0