Path:
tests/integration/features/source_code_traceability/_file_types/20_jinja/test.itest
Lines:
18
Non-empty lines:
13
Non-empty lines covered with requirements:
13 / 13 (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 --dump-input=fail
6
CHECK: Published: Example: Traceability between requirements and source files
7
8
RUN: %check_exists --file "%T/html/_source_files/file.jinja2.html"
9
10
RUN: %cat %T/html/20_jinja/example.html | filecheck %s --check-prefix CHECK-HTML
11
CHECK-HTML: href="../_source_files/file.jinja2.html#REQ-001#1#5">
12
13
RUN: %cat %T/html/_source_files/file.jinja2.html | filecheck %s --check-prefix CHECK-SOURCE-FILE
14
# Links to REQ-001, REQ-002, REQ-003 are correct.
15
CHECK-SOURCE-FILE:href="../20_jinja/example.html#REQ-002"
16
CHECK-SOURCE-FILE:href="../20_jinja/example.html#REQ-003"
17
18
CHECK-SOURCE-FILE:href="../20_jinja/example.html#REQ-001"