StrictDoc Documentation
tests/integration/features/source_code_traceability/_language_parsers/c/01_c_range/test.itest
Source file coverage
Path:
tests/integration/features/source_code_traceability/_language_parsers/c/01_c_range/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
# @relation(SDOC-SRS-146, SDOC-SRS-138, scope=file)
2
 
3
RUN: %strictdoc export %S --output-dir %T | filecheck %s --dump-input=fail
4
CHECK: Published: Hello world doc
5
 
6
RUN: %check_exists --file "%T/html/_source_files/file.c.html"
7
 
8
RUN: %cat %T/html/%THIS_TEST_FOLDER/input.html | filecheck %s --dump-input=fail --check-prefix CHECK-HTML
9
CHECK-HTML: <a{{.*}}href="../_source_files/file.c.html#REQ-1#2#4">
10
RUN: %cat %T/html/_source_files/file.c.html | filecheck %s --dump-input=fail --check-prefix CHECK-SOURCE-FILE
11
CHECK-SOURCE-FILE: href="../{{.*}}/input.html#REQ-1"
12
 
13
RUN: %cat %T/html/source_coverage.html | filecheck %s --dump-input=fail --check-prefix CHECK-SOURCE-COVERAGE
14
CHECK-SOURCE-COVERAGE: 60.0