StrictDoc Documentation
tests/integration/features/reqif/profiles/p01_sdoc/end_to_end/100_export_reqif_header/test.itest
Source file coverage
Path:
tests/integration/features/reqif/profiles/p01_sdoc/end_to_end/100_export_reqif_header/test.itest
Lines:
19
Non-empty lines:
17
Non-empty lines covered with requirements:
17 / 17 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
#
2
# @relation(SDOC-SRS-72, scope=file)
3
#
4
 
5
RUN: %strictdoc export --formats=reqif-sdoc %S/sample.sdoc --output-dir %T
6
RUN: reqif validate --use-reqif-schema %T/reqif/output.reqif
7
RUN: %cat %T/reqif/output.reqif | filecheck %s
8
RUN: %strictdoc convert %T/reqif/output.reqif %T/
9
RUN: %diff %S/sample.sdoc %T/sample.sdoc
10
 
11
CHECK:     <THE-HEADER>
12
CHECK:       <REQ-IF-HEADER IDENTIFIER="REQ-IF-HEADER-{{.*}}">
13
CHECK:         <CREATION-TIME>{{.*}}</CREATION-TIME>
14
CHECK:         <REQ-IF-TOOL-ID>strictdoc</REQ-IF-TOOL-ID>
15
CHECK:         <REQ-IF-VERSION>1.0</REQ-IF-VERSION>
16
CHECK:         <SOURCE-TOOL-ID>strictdoc</SOURCE-TOOL-ID>
17
CHECK:         <TITLE>Documentation export by StrictDoc</TITLE>
18
CHECK:       </REQ-IF-HEADER>
19
CHECK:     </THE-HEADER>