StrictDoc Documentation
tests/integration/features/source_code_traceability/_source_nodes/_validation/02_cfg_no_source_nodes_matched/test.itest
Source file coverage
Path:
tests/integration/features/source_code_traceability/_source_nodes/_validation/02_cfg_no_source_nodes_matched/test.itest
Lines:
9
Non-empty lines:
8
Non-empty lines covered with requirements:
8 / 8 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
#
2
# @relation(SDOC-SRS-141, scope=file)
3
#
4
# Listing a source directory in source_nodes is not enough to enable the feature.
5
# Source files must still be matched by include_source_paths / exclude_source_paths.
6
#
7
 
8
RUN: %expect_exit 0 %strictdoc export %S --output-dir %T | filecheck %s --dump-input=fail
9
CHECK: warning: source_node path src/ doesn't match any source file. Hint: Check include_source_paths.