StrictDoc Documentation
tests/integration/features/source_code_traceability/_file_types/50_js/test.itest
Source file coverage
Path:
tests/integration/features/source_code_traceability/_file_types/50_js/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-142, scope=file)
3
#
4
 
5
RUN: %strictdoc export %S --output-dir %T | filecheck %s --dump-input=fail
6
CHECK: Published: Example: Traceability between requirements and source files
7
 
8
RUN: %check_exists --file "%T/html/_source_files/file.js.html"
9
 
10
RUN: %cat %T/html/50_js/example.html | filecheck %s --check-prefix CHECK-HTML
11
CHECK-HTML: <a{{.*}}href="../_source_files/file.js.html#REQ-001#1#8">
12
 
13
RUN: %cat %T/html/_source_files/file.js.html | filecheck %s --check-prefix CHECK-SOURCE-FILE
14
CHECK-SOURCE-FILE: href="../50_js/example.html#REQ-001"