Path:
tests/integration/features/source_code_traceability/_general_parser_forward/05_multiple_files_per_requirement/test.itest
Lines:
16
Non-empty lines:
12
Non-empty lines covered with requirements:
12 / 12 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
- "7.1. Link requirements with source files" (REQUIREMENT)
- "7.5.1. SDoc markup's forward relations" (REQUIREMENT)
1
#
2
# @relation(SDOC-SRS-33, SDOC-SRS-145, scope=file)
3
#
4
5
RUN: %strictdoc export %S --output-dir %T | filecheck %s --dump-input=fail
6
CHECK: Published: Hello world doc
7
8
RUN: %check_exists --file "%T/html/_source_files/file.py.html"
9
10
RUN: %cat %T/html/05_multiple_files_per_requirement/input.html | filecheck %s --dump-input=fail --check-prefix CHECK-HTML
11
CHECK-HTML: <a{{.*}}href="../_source_files/file.py.html#REQ-001#1#2">12
CHECK-HTML: <a{{.*}}href="../_source_files/file2.py.html#REQ-001#1#2">13
14
RUN: %cat %T/html/_source_files/file.py.html | filecheck %s --dump-input=fail --check-prefix CHECK-SOURCE-FILE
15
RUN: %cat %T/html/_source_files/file2.py.html | filecheck %s --dump-input=fail --check-prefix CHECK-SOURCE-FILE
16
CHECK-SOURCE-FILE: href="../05_multiple_files_per_requirement/input.html#REQ-001"