Path:
tests/integration/features/source_code_traceability/_path_resolution/02_basic_req_to_file_link_cwd_dot/test.itest
Lines:
15
Non-empty lines:
11
Non-empty lines covered with requirements:
11 / 11 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
# @relation(SDOC-SRS-145, scope=file)
2
# FIXME: Migrate this test to %T.
3
4
RUN: cd %S
5
RUN: %strictdoc export . --output-dir %T | filecheck %s --dump-input=fail
6
CHECK: Export completed.
7
8
RUN: %check_exists --file "%T/html/_source_files/file.py.html"
9
10
RUN: %cat %T/html/02_basic_req_to_file_link_cwd_dot/input.html | filecheck %s --dump-input=fail --check-prefix CHECK-HTML
11
CHECK-HTML: <link rel="stylesheet" href="../_static/base.css"/>
12
CHECK-HTML: <a{{.*}}href="../_source_files/file.py.html#REQ-001#1#2">13
14
RUN: %cat %T/html/_source_files/file.py.html | filecheck %s --dump-input=fail --check-prefix CHECK-SOURCE-FILE
15
CHECK-SOURCE-FILE: href="../02_basic_req_to_file_link_cwd_dot/input.html#REQ-001"