Path:
tests/integration/features/source_code_traceability/_general_parser_forward/01_basic_req_to_file_link_full_path/test.itest
Lines:
22
Non-empty lines:
16
Non-empty lines covered with requirements:
16 / 16 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
#
2
# @relation(SDOC-SRS-145, scope=file)
3
#
4
5
RUN: %strictdoc export %S --output-dir %T | filecheck %s --dump-input=fail
6
CHECK: Export completed.
7
8
RUN: %check_exists --file "%T/html/_source_files/file.py.html"
9
10
RUN: %cat %T/html/01_basic_req_to_file_link_full_path/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
13
RUN: %cat %T/html/_source_files/file.py.html | filecheck %s --dump-input=fail --check-prefix CHECK-SOURCE-FILE
14
15
# Left/aside panel: The requirement cell has a link that correctly points to the document file.
16
CHECK-SOURCE-FILE: href="../01_basic_req_to_file_link_full_path/input.html#REQ-001"
17
CHECK-SOURCE-FILE: ../_source_files/file.py.html#REQ-001#1#2
18
19
# Central panel.
20
CHECK-SOURCE-FILE: "../_source_files/file.py.html##1#2"
21
CHECK-SOURCE-FILE: 1 - 2 | entire file
22
CHECK-SOURCE-FILE: hello world{{.*}}# noqa: T201