StrictDoc Documentation
tests/integration/features/source_code_traceability/_source_nodes/04_link_and_anchor_in_fields/test.itest
Source file coverage
Path:
tests/integration/features/source_code_traceability/_source_nodes/04_link_and_anchor_in_fields/test.itest
Lines:
17
Non-empty lines:
11
Non-empty lines covered with requirements:
11 / 11 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
#
2
# @relation(SDOC-SRS-141, scope=file)
3
#
4
 
5
RUN: %strictdoc export %S --output-dir %T | filecheck %s
6
 
7
CHECK: Published: Requirements
8
 
9
RUN: %check_exists --file "%T/html/_source_files/tests/file.c.html"
10
 
11
# The INTENTION field must render [LINK: ...] as a hyperlink, not as raw text.
12
# Check for the fragment part of the URL.
13
RUN: %cat %T/html/_source_files/tests/file.c.html | filecheck %s --check-prefix CHECK-SOURCE-FILE
14
 
15
CHECK-SOURCE-FILE: <sdoc-node-field-label>INTENTION:</sdoc-node-field-label>
16
CHECK-SOURCE-FILE: input.html#REQ-1{{.*}}input.html#REQ-2
17