StrictDoc Documentation
tests/integration/features/source_code_traceability/_language_parsers/robot/01_robot_range/test.itest
Source file coverage
Path:
tests/integration/features/source_code_traceability/_language_parsers/robot/01_robot_range/test.itest
Lines:
18
Non-empty lines:
13
Non-empty lines covered with requirements:
13 / 13 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
# @relation(SDOC-SRS-148, 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.robot.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.robot.html#REQ-1#5#7">
10
CHECK-HTML: <a{{.*}}href="../_source_files/file.robot.html#REQ-1#12#15">
11
 
12
RUN: %cat %T/html/_source_files/file.robot.html | filecheck %s --dump-input=fail --check-prefix CHECK-SOURCE-FILE
13
CHECK-SOURCE-FILE: href="../{{.*}}/input.html#REQ-1"
14
CHECK-SOURCE-FILE: href="../_source_files/file.robot.html##5#7"
15
CHECK-SOURCE-FILE: href="../_source_files/file.robot.html##12#15"
16
 
17
RUN: %cat %T/html/source_coverage.html | filecheck %s --dump-input=fail --check-prefix CHECK-SOURCE-COVERAGE
18
CHECK-SOURCE-COVERAGE: 50.0