StrictDoc Documentation
tests/integration/features/source_code_traceability/_source_nodes/05_anchor_in_source_node_field/test.itest
Source file coverage
Path:
tests/integration/features/source_code_traceability/_source_nodes/05_anchor_in_source_node_field/test.itest
Lines:
14
Non-empty lines:
10
Non-empty lines covered with requirements:
10 / 10 (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: Export completed.
8
 
9
RUN: %check_exists --file "%T/html/05_anchor_in_source_node_field/input.html"
10
 
11
# The STATEMENT field of the requirement must render [LINK: IMPL-1]
12
# as a hyperlink pointing to the anchor in the source node's INTENTION field.
13
RUN: %cat %T/html/05_anchor_in_source_node_field/input.html | filecheck %s --check-prefix CHECK-REQ
14
CHECK-REQ: description.html#IMPL-1