StrictDoc Documentation
tests/integration/features/diff/56__sections__remove_section/test.itest
Source file coverage
Path:
tests/integration/features/diff/56__sections__remove_section/test.itest
Lines:
30
Non-empty lines:
21
Non-empty lines covered with requirements:
21 / 21 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
#
2
# @relation(SDOC-SRS-111, scope=file)
3
#
4
 
5
RUN: cp %S/strictdoc.toml %T/
6
RUN: cd %T && %strictdoc export . --generate-diff-dirs %S/lhs %S/rhs --output-dir %T
7
 
8
RUN: cat %T/html/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG
9
 
10
CHECK-CHANGELOG:<div class="sdoc-table_key_value-key">Nodes modified</div>
11
CHECK-CHANGELOG:<div class="sdoc-table_key_value-value"{{.*}}>1</div>
12
 
13
CHECK-CHANGELOG:<div class="sdoc-table_key_value-key">Documents modified</div>
14
CHECK-CHANGELOG:<div class="sdoc-table_key_value-value"{{.*}}>No documents were modified.</div>
15
 
16
CHECK-CHANGELOG:<div class="sdoc-table_key_value-key">SECTION nodes</div>
17
CHECK-CHANGELOG:<div class="sdoc-table_key_value-value"{{.*}}>1 (1 removed)</div>
18
 
19
CHECK-CHANGELOG:<div class="sdoc-table_key_value-key">TEXT nodes</div>
20
CHECK-CHANGELOG:<div class="sdoc-table_key_value-value"{{.*}}>No nodes were modified.</div>
21
 
22
CHECK-CHANGELOG:<div class="sdoc-table_key_value-key">REQUIREMENT nodes</div>
23
CHECK-CHANGELOG:<div class="sdoc-table_key_value-value"{{.*}}>No nodes were modified.</div>
24
 
25
CHECK-CHANGELOG:modified="left"
26
CHECK-CHANGELOG:UID{{.*}}SECT-1
27
CHECK-CHANGELOG:modified="left"
28
CHECK-CHANGELOG:TITLE{{.*}}To be removed section
29
 
30
CHECK-CHANGELOG:Node removed