StrictDoc Documentation
tests/integration/features/document_fragments/10_nested_fragments_inserted_to_section/test.itest
Source file coverage
Path:
tests/integration/features/document_fragments/10_nested_fragments_inserted_to_section/test.itest
Lines:
18
Non-empty lines:
15
Non-empty lines covered with requirements:
15 / 15 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
#
2
# @relation(SDOC-SRS-109, scope=file)
3
#
4
 
5
RUN: %strictdoc export %S --output-dir %T | filecheck %s --dump-input=fail
6
CHECK: Export completed.
7
 
8
RUN: %cat %T/html/10_nested_fragments_inserted_to_section/input.html | filecheck %s --dump-input=fail --check-prefix CHECK-HTML
9
 
10
CHECK-HTML:data-level="1"
11
CHECK-HTML:1. Section that nests a fragment
12
CHECK-HTML:data-level="1.1"
13
CHECK-HTML:1.1. Hello world doc 2
14
CHECK-HTML:data-level="1.1.1"
15
CHECK-HTML:data-level="1.1.1.1"
16
CHECK-HTML:data-level="1.1.1.1.1"
17
CHECK-HTML:data-level="1.1.1.1.1.1"
18
CHECK-HTML:1.1.1.1.1.1. Requirement 7.8.9