StrictDoc Documentation
tests/integration/features/source_code_traceability/_file_types/70_unregistered_file_extensions/test.itest
Source file coverage
Path:
tests/integration/features/source_code_traceability/_file_types/70_unregistered_file_extensions/test.itest
Lines:
29
Non-empty lines:
20
Non-empty lines covered with requirements:
20 / 20 (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
6
CHECK: Published: Hello world doc
7
 
8
RUN: %check_exists --file "%T/html/_source_files/file.unknown_extension.html"
9
 
10
RUN: %cat %T/html/70_unregistered_file_extensions/input.html | filecheck %s --check-prefix CHECK-HTML
11
CHECK-HTML: <link rel="stylesheet" href="../_static/base.css"/>
12
 
13
CHECK-HTML: <a{{.*}}href="../_source_files/file.unknown_extension.html#REQ-001#2#4"
14
 
15
RUN: %cat %T/html/_source_files/file.unknown_extension.html | filecheck %s --check-prefix CHECK-SOURCE-FILE
16
 
17
CHECK-SOURCE-FILE: href="../70_unregistered_file_extensions/input.html#REQ-001"
18
 
19
CHECK-SOURCE-FILE: href="../_source_files/file.unknown_extension.html#REQ-001#1#5"
20
CHECK-SOURCE-FILE: <b>[ 1-5 ]</b>
21
CHECK-SOURCE-FILE: file.unknown_extension, entire file
22
 
23
CHECK-SOURCE-FILE: href="../_source_files/file.unknown_extension.html#REQ-001#2#4"
24
CHECK-SOURCE-FILE: <b>[ 2-4 ]</b>
25
CHECK-SOURCE-FILE: file.unknown_extension, range
26
 
27
RUN: %cat %T/html/source_coverage.html | filecheck %s --check-prefix CHECK-SOURCE-COVERAGE
28
CHECK-SOURCE-COVERAGE: file.unknown_extension
29
CHECK-SOURCE-COVERAGE: strictdoc_config.py