StrictDoc Documentation
tests/integration/features/diff/50a__sections__from_empty_doc_to_one_section/test.itest
Source file coverage
Path:
tests/integration/features/diff/50a__sections__from_empty_doc_to_one_section/test.itest
Lines:
32
Non-empty lines:
23
Non-empty lines covered with requirements:
23 / 23 (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_config.py %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-section">Summary of the changes</div>
11
 
12
CHECK-CHANGELOG:<div class="sdoc-table_key_value-key">Nodes modified</div>
13
CHECK-CHANGELOG:<div class="sdoc-table_key_value-value"{{.*}}>2</div>
14
 
15
CHECK-CHANGELOG:<div class="sdoc-table_key_value-key">Documents modified</div>
16
CHECK-CHANGELOG:<div class="sdoc-table_key_value-value"{{.*}}>No documents were modified.</div>
17
 
18
CHECK-CHANGELOG:<div class="sdoc-table_key_value-key">TEXT nodes</div>
19
CHECK-CHANGELOG:<div class="sdoc-table_key_value-value"{{.*}}>1 (1 added)</div>
20
 
21
CHECK-CHANGELOG:<div class="sdoc-table_key_value-key">REQUIREMENT nodes</div>
22
CHECK-CHANGELOG:<div class="sdoc-table_key_value-value"{{.*}}>No nodes were modified.</div>
23
 
24
# SECTION
25
CHECK-CHANGELOG:class="diff_node_field"
26
CHECK-CHANGELOG:modified="right"
27
CHECK-CHANGELOG:New section
28
 
29
# TEXT
30
CHECK-CHANGELOG:class="diff_node_field"
31
CHECK-CHANGELOG:modified="right"
32
CHECK-CHANGELOG:Hello world!