From 3976d97071a7615d4da7ccd53c93cef951e16076 Mon Sep 17 00:00:00 2001 From: Stanislav Pankevich Date: Sun, 19 Oct 2025 19:40:14 +0200 Subject: [PATCH] trace: add missing traces between L2, source code and tests (focus on tests) --- .../01_main_page_serves_304/test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../diff/01_view_basic_diff/test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../edit_grammar_add_new_element/test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../update_grammar_element_noop/test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../edit_grammar_add_empty_field/test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../edit_grammar_add_human_title/test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../edit_grammar_add_new_field/test_case.py | 4 ++++ .../edit_grammar_add_three_fields/test_case.py | 4 ++++ .../edit_grammar_back_button/test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../edit_grammar_move_field_down/test_case.py | 4 ++++ .../edit_grammar_move_field_up/test_case.py | 4 ++++ .../edit_grammar_rename_field/test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../update_document_config_cancel/test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../update_document_config_uid/test_case.py | 4 ++++ .../test_case.py | 6 +++++- .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../expected_output/docs/document.sdoc | 0 .../expected_output/strictdoc.toml | 0 .../input/strictdoc.toml | 0 .../test_case.py | 4 ++++ .../expected_output/docs/document.sdoc | 0 .../expected_output/strictdoc.toml | 0 .../input/strictdoc.toml | 0 .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../expected_output/docs/document1.sdoc | 0 .../expected_output/docs/document2.sdoc | 0 .../expected_output/dummy.txt | 0 .../input/dummy.txt | 0 .../create_document_normal_flow/test_case.py | 4 ++++ .../expected_output/Document_1.sdoc | 0 .../expected_output/Document_2.sdoc | 0 .../expected_output/strictdoc.toml | 0 .../basic_reqif_export/input/Document_1.sdoc | 0 .../basic_reqif_export/input/Document_2.sdoc | 0 .../basic_reqif_export/input/strictdoc.toml | 0 .../basic_reqif_export/test_case.py | 0 .../input_file_not_reqif_format/sample.reqif | 0 .../input_file_not_reqif_format/strictdoc.toml | 0 .../input_file_not_reqif_format/test_case.py | 0 .../expected_output/Document_1.sdoc | 0 .../expected_output/dummy.txt | 0 .../expected_output/strictdoc.toml | 0 .../input/dummy.txt | 0 .../input/strictdoc.toml | 0 .../sample.reqif | 0 .../test_case.py | 0 .../expected_output/Document_1.sdoc | 0 .../expected_output/Document_2.sdoc | 0 .../expected_output/dummy.txt | 0 .../expected_output/strictdoc.toml | 0 .../input/dummy.txt | 0 .../input/strictdoc.toml | 0 .../sample.reqif | 0 .../test_case.py | 0 .../import_reqif_cancel_import/strictdoc.toml | 0 .../import_reqif_cancel_import/test_case.py | 0 .../expected_output/.dummy.txt | 0 .../input/document.sdoc | 0 .../input/fragment.sdoc | 0 .../input/strictdoc.toml | 0 .../show_hide_included_documents/test_case.py | 0 .../view_project_tree_empty_tree/test_case.py | 4 ++++ .../view_source_coverage/strictdoc.toml | 1 + .../view_source_coverage/test_case.py | 4 ++++ .../source_file/view_source_file/file.test.py | 5 +++++ .../source_file/view_source_file/index.sdoc | 0 .../view_source_file/strictdoc.toml | 0 .../source_file/view_source_file/test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../test_case.py | 4 ++++ .../view_traceability_matrix}/strictdoc.toml | 0 .../view_traceability_matrix}/test_case.py | 4 ++++ .../test.itest | 4 ++++ .../01_basic_check_all_elements/test.itest | 4 ++++ .../test.itest | 4 ++++ .../01_default_behavior/test.itest | 4 ++++ .../01_basic_grammar_from_file/test.itest | 4 ++++ .../02_ignores_junit_xml/test.itest | 2 ++ .../01_default_behavior/test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../06_works_against_single_files/test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../09_edge_grammar_UID_required/test.itest | 4 ++++ .../01_generates_section_uids/test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../110__document_fragments__basic/test.itest | 4 ++++ .../test.itest | 4 ++++ .../diff/120__escaping__basic/test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../52__sections__modify_free_text/test.itest | 4 ++++ .../test.itest | 4 ++++ .../54__sections__add_free_text/test.itest | 4 ++++ .../diff/55__sections__change_title/test.itest | 4 ++++ .../56__sections__remove_section/test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../82__documents__add_free_text/test.itest | 4 ++++ .../diff/83__documents__add_uid/test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../hello_world/01_minimal_document/test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../04_parallelization/test.itest | 4 ++++ .../test.itest | 4 ++++ .../test.itest | 4 ++++ .../01_basic/test.itest | 4 ++++ .../01_links_to_files/strictdoc.toml | 6 ------ .../01_links_to_files/strictdoc_config.py | 14 ++++++++++++++ .../01_links_to_files/test.itest | 4 ++++ .../input/strictdoc.toml | 5 ----- .../input/strictdoc_config.py | 13 +++++++++++++ .../test.itest | 4 ++++ .../input/strictdoc.toml | 8 -------- .../input/strictdoc_config.py | 18 ++++++++++++++++++ .../20__columns__file_relations/test.itest | 6 +++++- .../input/strictdoc_config.py | 13 +++++++++++++ .../test.itest | 4 ++++ .../test_case.py | 4 ++++ 188 files changed, 600 insertions(+), 21 deletions(-) rename tests/end2end/{ => screens}/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/expected_output/docs/document.sdoc (100%) rename tests/end2end/{ => screens}/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/expected_output/strictdoc.toml (100%) rename tests/end2end/{ => screens}/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/input/strictdoc.toml (100%) rename tests/end2end/{ => screens}/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/test_case.py (97%) rename tests/end2end/{ => screens}/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/expected_output/docs/document.sdoc (100%) rename tests/end2end/{ => screens}/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/expected_output/strictdoc.toml (100%) rename tests/end2end/{ => screens}/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/input/strictdoc.toml (100%) rename tests/end2end/{ => screens}/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/test_case.py (97%) rename tests/end2end/{ => screens}/project_index/create_document/_validation/create_document_validate_document_path_with_bad_chars/test_case.py (97%) rename tests/end2end/{ => screens}/project_index/create_document/_validation/create_document_validate_empty_document_path/test_case.py (96%) rename tests/end2end/{ => screens}/project_index/create_document/_validation/create_document_validate_empty_document_title/test_case.py (96%) rename tests/end2end/{ => screens}/project_index/create_document/create_document_normal_flow/expected_output/docs/document1.sdoc (100%) rename tests/end2end/{ => screens}/project_index/create_document/create_document_normal_flow/expected_output/docs/document2.sdoc (100%) rename tests/end2end/{ => screens}/project_index/create_document/create_document_normal_flow/expected_output/dummy.txt (100%) rename tests/end2end/{ => screens}/project_index/create_document/create_document_normal_flow/input/dummy.txt (100%) rename tests/end2end/{ => screens}/project_index/create_document/create_document_normal_flow/test_case.py (97%) rename tests/end2end/{ => screens}/project_index/export_tree_to_reqif/basic_reqif_export/expected_output/Document_1.sdoc (100%) rename tests/end2end/{ => screens}/project_index/export_tree_to_reqif/basic_reqif_export/expected_output/Document_2.sdoc (100%) rename tests/end2end/{ => screens}/project_index/export_tree_to_reqif/basic_reqif_export/expected_output/strictdoc.toml (100%) rename tests/end2end/{ => screens}/project_index/export_tree_to_reqif/basic_reqif_export/input/Document_1.sdoc (100%) rename tests/end2end/{ => screens}/project_index/export_tree_to_reqif/basic_reqif_export/input/Document_2.sdoc (100%) rename tests/end2end/{ => screens}/project_index/export_tree_to_reqif/basic_reqif_export/input/strictdoc.toml (100%) rename tests/end2end/{ => screens}/project_index/export_tree_to_reqif/basic_reqif_export/test_case.py (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/_validations/input_file_not_reqif_format/sample.reqif (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/_validations/input_file_not_reqif_format/strictdoc.toml (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/_validations/input_file_not_reqif_format/test_case.py (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/import_document_default_import/expected_output/Document_1.sdoc (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/import_document_default_import/expected_output/dummy.txt (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/import_document_default_import/expected_output/strictdoc.toml (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/import_document_default_import/input/dummy.txt (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/import_document_default_import/input/strictdoc.toml (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/import_document_default_import/sample.reqif (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/import_document_default_import/test_case.py (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/Document_1.sdoc (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/Document_2.sdoc (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/dummy.txt (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/strictdoc.toml (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/input/dummy.txt (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/input/strictdoc.toml (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/sample.reqif (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/test_case.py (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/import_reqif_cancel_import/strictdoc.toml (100%) rename tests/end2end/{ => screens}/project_index/import_document_from_reqif/import_reqif_cancel_import/test_case.py (100%) rename tests/end2end/{ => screens}/project_index/show_hide_included_documents/expected_output/.dummy.txt (100%) rename tests/end2end/{ => screens}/project_index/show_hide_included_documents/input/document.sdoc (100%) rename tests/end2end/{ => screens}/project_index/show_hide_included_documents/input/fragment.sdoc (100%) rename tests/end2end/{ => screens}/project_index/show_hide_included_documents/input/strictdoc.toml (100%) rename tests/end2end/{ => screens}/project_index/show_hide_included_documents/test_case.py (100%) rename tests/end2end/{ => screens}/project_index/view_project_tree/view_project_tree_empty_tree/test_case.py (92%) rename tests/end2end/screens/source_coverage/{requirements_to_source_traceability => }/view_source_coverage/strictdoc.toml (85%) rename tests/end2end/screens/source_coverage/{requirements_to_source_traceability => }/view_source_coverage/test_case.py (95%) rename tests/end2end/screens/{source_coverage => }/source_file/view_source_file/file.test.py (63%) rename tests/end2end/screens/{source_coverage => }/source_file/view_source_file/index.sdoc (100%) rename tests/end2end/screens/{source_coverage => }/source_file/view_source_file/strictdoc.toml (100%) rename tests/end2end/screens/{source_coverage => }/source_file/view_source_file/test_case.py (97%) rename tests/end2end/screens/{requirements_coverage/view_requirements_coverage => traceability_matrix/view_traceability_matrix}/strictdoc.toml (100%) rename tests/end2end/screens/{requirements_coverage/view_requirements_coverage => traceability_matrix/view_traceability_matrix}/test_case.py (95%) delete mode 100644 tests/integration/features/traceability_matrix/01_links_to_files/strictdoc.toml create mode 100644 tests/integration/features/traceability_matrix/01_links_to_files/strictdoc_config.py delete mode 100644 tests/integration/features/traceability_matrix/10__columns__relations_with_roles/input/strictdoc.toml create mode 100644 tests/integration/features/traceability_matrix/10__columns__relations_with_roles/input/strictdoc_config.py delete mode 100644 tests/integration/features/traceability_matrix/20__columns__file_relations/input/strictdoc.toml create mode 100644 tests/integration/features/traceability_matrix/20__columns__file_relations/input/strictdoc_config.py create mode 100644 tests/integration/features/traceability_matrix/50__config__sorting_relation_columns/input/strictdoc_config.py diff --git a/tests/end2end/performance/200_and_304_based_asset_caching/01_main_page_serves_304/test_case.py b/tests/end2end/performance/200_and_304_based_asset_caching/01_main_page_serves_304/test_case.py index 0e1e360b6..0871452a8 100644 --- a/tests/end2end/performance/200_and_304_based_asset_caching/01_main_page_serves_304/test_case.py +++ b/tests/end2end/performance/200_and_304_based_asset_caching/01_main_page_serves_304/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-4, scope=file) +""" + import os from tests.end2end.e2e_case import E2ECase diff --git a/tests/end2end/screens/deep_traceability/view_document/view_document_go_from_requirement_card_to_requirement_in_document_view/test_case.py b/tests/end2end/screens/deep_traceability/view_document/view_document_go_from_requirement_card_to_requirement_in_document_view/test_case.py index fd03efc6c..3b0567dd9 100644 --- a/tests/end2end/screens/deep_traceability/view_document/view_document_go_from_requirement_card_to_requirement_in_document_view/test_case.py +++ b/tests/end2end/screens/deep_traceability/view_document/view_document_go_from_requirement_card_to_requirement_in_document_view/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-66, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.components.viewtype_selector import ( diff --git a/tests/end2end/screens/deep_traceability/view_document/view_document_go_from_requirement_card_to_requirement_in_document_view_another_document/test_case.py b/tests/end2end/screens/deep_traceability/view_document/view_document_go_from_requirement_card_to_requirement_in_document_view_another_document/test_case.py index 536c0c457..291e98bbb 100644 --- a/tests/end2end/screens/deep_traceability/view_document/view_document_go_from_requirement_card_to_requirement_in_document_view_another_document/test_case.py +++ b/tests/end2end/screens/deep_traceability/view_document/view_document_go_from_requirement_card_to_requirement_in_document_view_another_document/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-66, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.components.viewtype_selector import ( diff --git a/tests/end2end/screens/deep_traceability/view_document/view_document_requirement_show_more_modal_window/test_case.py b/tests/end2end/screens/deep_traceability/view_document/view_document_requirement_show_more_modal_window/test_case.py index 6684f0cb9..e39fdb0b8 100644 --- a/tests/end2end/screens/deep_traceability/view_document/view_document_requirement_show_more_modal_window/test_case.py +++ b/tests/end2end/screens/deep_traceability/view_document/view_document_requirement_show_more_modal_window/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-66, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.components.viewtype_selector import ( diff --git a/tests/end2end/screens/deep_traceability/view_document/view_document_statement_with_inline_csv_table/test_case.py b/tests/end2end/screens/deep_traceability/view_document/view_document_statement_with_inline_csv_table/test_case.py index c73454c79..addfd67ba 100644 --- a/tests/end2end/screens/deep_traceability/view_document/view_document_statement_with_inline_csv_table/test_case.py +++ b/tests/end2end/screens/deep_traceability/view_document/view_document_statement_with_inline_csv_table/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-66, scope=file) +""" + import os from tests.end2end.e2e_case import E2ECase diff --git a/tests/end2end/screens/deep_traceability/view_document/view_document_when_document_has_no_requirement/test_case.py b/tests/end2end/screens/deep_traceability/view_document/view_document_when_document_has_no_requirement/test_case.py index c1e19c5eb..568d7b5b3 100644 --- a/tests/end2end/screens/deep_traceability/view_document/view_document_when_document_has_no_requirement/test_case.py +++ b/tests/end2end/screens/deep_traceability/view_document/view_document_when_document_has_no_requirement/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-66, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.components.viewtype_selector import ViewType_Selector diff --git a/tests/end2end/screens/deep_traceability/view_document/view_document_when_document_has_requirement/test_case.py b/tests/end2end/screens/deep_traceability/view_document/view_document_when_document_has_requirement/test_case.py index a5535809d..2994de11a 100644 --- a/tests/end2end/screens/deep_traceability/view_document/view_document_when_document_has_requirement/test_case.py +++ b/tests/end2end/screens/deep_traceability/view_document/view_document_when_document_has_requirement/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-66, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.components.viewtype_selector import ViewType_Selector diff --git a/tests/end2end/screens/diff/01_view_basic_diff/test_case.py b/tests/end2end/screens/diff/01_view_basic_diff/test_case.py index cf61ab7a1..821a7ee70 100644 --- a/tests/end2end/screens/diff/01_view_basic_diff/test_case.py +++ b/tests/end2end/screens/diff/01_view_basic_diff/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-111, scope=file) +""" + import os import subprocess import tempfile diff --git a/tests/end2end/screens/document/create_requirement/_MultipleChoice/create_requirement_MultipleChoice_field_using_autocomplete/test_case.py b/tests/end2end/screens/document/create_requirement/_MultipleChoice/create_requirement_MultipleChoice_field_using_autocomplete/test_case.py index 2cb76a6a5..27341821a 100644 --- a/tests/end2end/screens/document/create_requirement/_MultipleChoice/create_requirement_MultipleChoice_field_using_autocomplete/test_case.py +++ b/tests/end2end/screens/document/create_requirement/_MultipleChoice/create_requirement_MultipleChoice_field_using_autocomplete/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-120, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_requirement import ( diff --git a/tests/end2end/screens/document/create_requirement/_Tag/create_requirement_Tag_field_using_autocomplete/test_case.py b/tests/end2end/screens/document/create_requirement/_Tag/create_requirement_Tag_field_using_autocomplete/test_case.py index 00c7f99bc..d7f5dbe52 100644 --- a/tests/end2end/screens/document/create_requirement/_Tag/create_requirement_Tag_field_using_autocomplete/test_case.py +++ b/tests/end2end/screens/document/create_requirement/_Tag/create_requirement_Tag_field_using_autocomplete/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-120, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_requirement import ( diff --git a/tests/end2end/screens/document/create_requirement/_relations/create_requirement_with_relation_using_uid_autocomplete/test_case.py b/tests/end2end/screens/document/create_requirement/_relations/create_requirement_with_relation_using_uid_autocomplete/test_case.py index 5d696bdc1..c6cd80224 100644 --- a/tests/end2end/screens/document/create_requirement/_relations/create_requirement_with_relation_using_uid_autocomplete/test_case.py +++ b/tests/end2end/screens/document/create_requirement/_relations/create_requirement_with_relation_using_uid_autocomplete/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-120, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_requirement import ( diff --git a/tests/end2end/screens/document/edit_document_grammar/_validations/edit_grammar_validation_add_new_element_title_must_be_uppercase/test_case.py b/tests/end2end/screens/document/edit_document_grammar/_validations/edit_grammar_validation_add_new_element_title_must_be_uppercase/test_case.py index ce0663ec7..0dbbe9018 100644 --- a/tests/end2end/screens/document/edit_document_grammar/_validations/edit_grammar_validation_add_new_element_title_must_be_uppercase/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar/_validations/edit_grammar_validation_add_new_element_title_must_be_uppercase/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar_elements import ( diff --git a/tests/end2end/screens/document/edit_document_grammar/edit_document_grammar_save_without_editing/test_case.py b/tests/end2end/screens/document/edit_document_grammar/edit_document_grammar_save_without_editing/test_case.py index b1469e8c3..d47381985 100644 --- a/tests/end2end/screens/document/edit_document_grammar/edit_document_grammar_save_without_editing/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar/edit_document_grammar_save_without_editing/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar_elements import ( diff --git a/tests/end2end/screens/document/edit_document_grammar/edit_grammar_add_new_element/test_case.py b/tests/end2end/screens/document/edit_document_grammar/edit_grammar_add_new_element/test_case.py index 0cc21cd7a..6ad607793 100644 --- a/tests/end2end/screens/document/edit_document_grammar/edit_grammar_add_new_element/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar/edit_grammar_add_new_element/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar_elements import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/_arbitrary_elements/edit_grammar_test_case_add_new_field/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/_arbitrary_elements/edit_grammar_test_case_add_new_field/test_case.py index 27dc1ebec..6e707575c 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/_arbitrary_elements/edit_grammar_test_case_add_new_field/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/_arbitrary_elements/edit_grammar_test_case_add_new_field/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar_elements import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/_relations/_validations/update_grammar_add_second_general_relation/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/_relations/_validations/update_grammar_add_second_general_relation/test_case.py index f30747973..2088e93b7 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/_relations/_validations/update_grammar_add_second_general_relation/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/_relations/_validations/update_grammar_add_second_general_relation/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/_relations/_validations/update_grammar_add_second_non_general_relation/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/_relations/_validations/update_grammar_add_second_non_general_relation/test_case.py index fee72f354..50968a059 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/_relations/_validations/update_grammar_add_second_non_general_relation/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/_relations/_validations/update_grammar_add_second_non_general_relation/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/_relations/_validations/update_grammar_validate_remove_last_relation/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/_relations/_validations/update_grammar_validate_remove_last_relation/test_case.py index 2f59de276..91fc9120e 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/_relations/_validations/update_grammar_validate_remove_last_relation/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/_relations/_validations/update_grammar_validate_remove_last_relation/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_add_new_child_relation/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_add_new_child_relation/test_case.py index c17062577..a300eea23 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_add_new_child_relation/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_add_new_child_relation/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_add_new_relation/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_add_new_relation/test_case.py index f5e4b68b8..e44d6670e 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_add_new_relation/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_add_new_relation/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_element_noop/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_element_noop/test_case.py index 0c1b7fdcd..5898ac769 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_element_noop/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_element_noop/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_noop_save_preserves_relations/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_noop_save_preserves_relations/test_case.py index 45a49f89f..0938ac4ca 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_noop_save_preserves_relations/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_noop_save_preserves_relations/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_with_new_relation_preserves_requirements_relations/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_with_new_relation_preserves_requirements_relations/test_case.py index f3f39cc9a..028252908 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_with_new_relation_preserves_requirements_relations/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/_relations/update_grammar_with_new_relation_preserves_requirements_relations/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/_validation/edit_grammar_add_empty_field/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/_validation/edit_grammar_add_empty_field/test_case.py index 2c180b421..1406e4a26 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/_validation/edit_grammar_add_empty_field/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/_validation/edit_grammar_add_empty_field/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/_validation/edit_grammar_add_two_fields_same_name/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/_validation/edit_grammar_add_two_fields_same_name/test_case.py index 3216c4f66..fc627f38c 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/_validation/edit_grammar_add_two_fields_same_name/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/_validation/edit_grammar_add_two_fields_same_name/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/_validation/edit_grammar_validation_field_name_must_be_uppercase/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/_validation/edit_grammar_validation_field_name_must_be_uppercase/test_case.py index 930bb1db5..52ec899ae 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/_validation/edit_grammar_validation_field_name_must_be_uppercase/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/_validation/edit_grammar_validation_field_name_must_be_uppercase/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/_validation/edit_grammar_validation_rename_field_to_existing_field_name/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/_validation/edit_grammar_validation_rename_field_to_existing_field_name/test_case.py index 8b1720685..cb86e94df 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/_validation/edit_grammar_validation_rename_field_to_existing_field_name/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/_validation/edit_grammar_validation_rename_field_to_existing_field_name/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_field_move_up_and_down_save/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_field_move_up_and_down_save/test_case.py index c3fc85717..3fdd29a6e 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_field_move_up_and_down_save/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_field_move_up_and_down_save/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_field_move_up_save/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_field_move_up_save/test_case.py index b29f91690..4c1e85269 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_field_move_up_save/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_field_move_up_save/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_human_title/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_human_title/test_case.py index f989ecab3..c676511cc 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_human_title/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_human_title/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_human_title_TEXT_node/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_human_title_TEXT_node/test_case.py index 0933bbdf9..01a12aef1 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_human_title_TEXT_node/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_human_title_TEXT_node/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_new_field/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_new_field/test_case.py index 55630d60f..8b0211873 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_new_field/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_new_field/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar_elements import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_three_fields/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_three_fields/test_case.py index a46b95e56..bca8c88df 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_three_fields/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_add_three_fields/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_back_button/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_back_button/test_case.py index 1a8a8706e..28cc26f7e 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_back_button/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_back_button/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_delete_existing_field/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_delete_existing_field/test_case.py index efb4ffcdd..535336d6f 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_delete_existing_field/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_delete_existing_field/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from strictdoc.helpers.mid import MID from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup diff --git a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_move_field_down/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_move_field_down/test_case.py index e1af99660..e0ca0ce8e 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_move_field_down/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_move_field_down/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_move_field_up/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_move_field_up/test_case.py index 71ea90815..927e7c16b 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_move_field_up/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_move_field_up/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_rename_field/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_rename_field/test_case.py index 883f2b176..660ee9fd6 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_rename_field/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_rename_field/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_rename_field_human_title/test_case.py b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_rename_field_human_title/test_case.py index 760ebc1ba..14a3d7e88 100644 --- a/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_rename_field_human_title/test_case.py +++ b/tests/end2end/screens/document/edit_document_grammar_element/edit_grammar_rename_field_human_title/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-56, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_grammar import ( diff --git a/tests/end2end/screens/document/update_document_config/_validations/update_document_config_empty_title/test_case.py b/tests/end2end/screens/document/update_document_config/_validations/update_document_config_empty_title/test_case.py index 64c359204..7f2f2e47d 100644 --- a/tests/end2end/screens/document/update_document_config/_validations/update_document_config_empty_title/test_case.py +++ b/tests/end2end/screens/document/update_document_config/_validations/update_document_config_empty_title/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-57, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_config import ( diff --git a/tests/end2end/screens/document/update_document_config/update_document_config_cancel/test_case.py b/tests/end2end/screens/document/update_document_config/update_document_config_cancel/test_case.py index 082257c03..69bc4ebf8 100644 --- a/tests/end2end/screens/document/update_document_config/update_document_config_cancel/test_case.py +++ b/tests/end2end/screens/document/update_document_config/update_document_config_cancel/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-57, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_config import ( diff --git a/tests/end2end/screens/document/update_document_config/update_document_config_classification/test_case.py b/tests/end2end/screens/document/update_document_config/update_document_config_classification/test_case.py index 7aff3f638..5e04a9303 100644 --- a/tests/end2end/screens/document/update_document_config/update_document_config_classification/test_case.py +++ b/tests/end2end/screens/document/update_document_config/update_document_config_classification/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-57, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_config import ( diff --git a/tests/end2end/screens/document/update_document_config/update_document_config_document_title/test_case.py b/tests/end2end/screens/document/update_document_config/update_document_config_document_title/test_case.py index d1ca94309..b6ab3dafd 100644 --- a/tests/end2end/screens/document/update_document_config/update_document_config_document_title/test_case.py +++ b/tests/end2end/screens/document/update_document_config/update_document_config_document_title/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-57, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_config import ( diff --git a/tests/end2end/screens/document/update_document_config/update_document_config_metadata/test_case.py b/tests/end2end/screens/document/update_document_config/update_document_config_metadata/test_case.py index 82fb39dbb..dff99bb1b 100644 --- a/tests/end2end/screens/document/update_document_config/update_document_config_metadata/test_case.py +++ b/tests/end2end/screens/document/update_document_config/update_document_config_metadata/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-57, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_config import ( diff --git a/tests/end2end/screens/document/update_document_config/update_document_config_requirement_prefix/test_case.py b/tests/end2end/screens/document/update_document_config/update_document_config_requirement_prefix/test_case.py index 27d414d37..5e03d41fc 100644 --- a/tests/end2end/screens/document/update_document_config/update_document_config_requirement_prefix/test_case.py +++ b/tests/end2end/screens/document/update_document_config/update_document_config_requirement_prefix/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-57, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_config import ( diff --git a/tests/end2end/screens/document/update_document_config/update_document_config_uid/test_case.py b/tests/end2end/screens/document/update_document_config/update_document_config_uid/test_case.py index 1f8239d2b..8826193fb 100644 --- a/tests/end2end/screens/document/update_document_config/update_document_config_uid/test_case.py +++ b/tests/end2end/screens/document/update_document_config/update_document_config_uid/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-57, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_config import ( diff --git a/tests/end2end/screens/document/update_document_config/update_document_config_version/test_case.py b/tests/end2end/screens/document/update_document_config/update_document_config_version/test_case.py index 562647231..677b96286 100644 --- a/tests/end2end/screens/document/update_document_config/update_document_config_version/test_case.py +++ b/tests/end2end/screens/document/update_document_config/update_document_config_version/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-57, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_config import ( @@ -9,7 +13,7 @@ from tests.end2end.server import SDocTestServer -class Test_UC11_T11_EditDocumentVersion(E2ECase): +class Test(E2ECase): def test(self): test_setup = End2EndTestSetup(path_to_test_file=__file__) diff --git a/tests/end2end/screens/document/update_requirement/_MultipleChoice/update_requirement_MultipleChoice_field_using_autocomplete/test_case.py b/tests/end2end/screens/document/update_requirement/_MultipleChoice/update_requirement_MultipleChoice_field_using_autocomplete/test_case.py index 6b1692433..78d415fba 100644 --- a/tests/end2end/screens/document/update_requirement/_MultipleChoice/update_requirement_MultipleChoice_field_using_autocomplete/test_case.py +++ b/tests/end2end/screens/document/update_requirement/_MultipleChoice/update_requirement_MultipleChoice_field_using_autocomplete/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-120, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_requirement import ( diff --git a/tests/end2end/screens/document/update_requirement/_SingleChoice/update_requirement_SingleChoice_field_using_autocomplete/test_case.py b/tests/end2end/screens/document/update_requirement/_SingleChoice/update_requirement_SingleChoice_field_using_autocomplete/test_case.py index cdca504cc..2fed22d57 100644 --- a/tests/end2end/screens/document/update_requirement/_SingleChoice/update_requirement_SingleChoice_field_using_autocomplete/test_case.py +++ b/tests/end2end/screens/document/update_requirement/_SingleChoice/update_requirement_SingleChoice_field_using_autocomplete/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-120, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_requirement import ( diff --git a/tests/end2end/screens/document/update_requirement/_Tag/update_requirement_Tag_field_using_autocomplete/test_case.py b/tests/end2end/screens/document/update_requirement/_Tag/update_requirement_Tag_field_using_autocomplete/test_case.py index 8294a5151..068b40324 100644 --- a/tests/end2end/screens/document/update_requirement/_Tag/update_requirement_Tag_field_using_autocomplete/test_case.py +++ b/tests/end2end/screens/document/update_requirement/_Tag/update_requirement_Tag_field_using_autocomplete/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-120, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.document.form_edit_requirement import ( diff --git a/tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/expected_output/docs/document.sdoc b/tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/expected_output/docs/document.sdoc similarity index 100% rename from tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/expected_output/docs/document.sdoc rename to tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/expected_output/docs/document.sdoc diff --git a/tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/expected_output/strictdoc.toml b/tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/expected_output/strictdoc.toml similarity index 100% rename from tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/expected_output/strictdoc.toml rename to tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/expected_output/strictdoc.toml diff --git a/tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/input/strictdoc.toml b/tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/input/strictdoc.toml similarity index 100% rename from tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/input/strictdoc.toml rename to tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/input/strictdoc.toml diff --git a/tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/test_case.py b/tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/test_case.py similarity index 97% rename from tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/test_case.py rename to tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/test_case.py index c6a1f6643..979791007 100644 --- a/tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/test_case.py +++ b/tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_inside_of_exclude_filter/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-107, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.project_index.form_add_document import ( diff --git a/tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/expected_output/docs/document.sdoc b/tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/expected_output/docs/document.sdoc similarity index 100% rename from tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/expected_output/docs/document.sdoc rename to tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/expected_output/docs/document.sdoc diff --git a/tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/expected_output/strictdoc.toml b/tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/expected_output/strictdoc.toml similarity index 100% rename from tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/expected_output/strictdoc.toml rename to tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/expected_output/strictdoc.toml diff --git a/tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/input/strictdoc.toml b/tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/input/strictdoc.toml similarity index 100% rename from tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/input/strictdoc.toml rename to tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/input/strictdoc.toml diff --git a/tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/test_case.py b/tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/test_case.py similarity index 97% rename from tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/test_case.py rename to tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/test_case.py index ef884e093..2d682fd12 100644 --- a/tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/test_case.py +++ b/tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_outside_of_include_filter/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-107, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.project_index.form_add_document import ( diff --git a/tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_with_bad_chars/test_case.py b/tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_with_bad_chars/test_case.py similarity index 97% rename from tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_with_bad_chars/test_case.py rename to tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_with_bad_chars/test_case.py index d3edb7587..81d3c8c93 100644 --- a/tests/end2end/project_index/create_document/_validation/create_document_validate_document_path_with_bad_chars/test_case.py +++ b/tests/end2end/screens/project_index/create_document/_validation/create_document_validate_document_path_with_bad_chars/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-107, scope=file) +""" + import os from tests.end2end.e2e_case import E2ECase diff --git a/tests/end2end/project_index/create_document/_validation/create_document_validate_empty_document_path/test_case.py b/tests/end2end/screens/project_index/create_document/_validation/create_document_validate_empty_document_path/test_case.py similarity index 96% rename from tests/end2end/project_index/create_document/_validation/create_document_validate_empty_document_path/test_case.py rename to tests/end2end/screens/project_index/create_document/_validation/create_document_validate_empty_document_path/test_case.py index fdc1a81a0..8b515c676 100644 --- a/tests/end2end/project_index/create_document/_validation/create_document_validate_empty_document_path/test_case.py +++ b/tests/end2end/screens/project_index/create_document/_validation/create_document_validate_empty_document_path/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-107, scope=file) +""" + import os from tests.end2end.e2e_case import E2ECase diff --git a/tests/end2end/project_index/create_document/_validation/create_document_validate_empty_document_title/test_case.py b/tests/end2end/screens/project_index/create_document/_validation/create_document_validate_empty_document_title/test_case.py similarity index 96% rename from tests/end2end/project_index/create_document/_validation/create_document_validate_empty_document_title/test_case.py rename to tests/end2end/screens/project_index/create_document/_validation/create_document_validate_empty_document_title/test_case.py index adf5304c5..a196d4d35 100644 --- a/tests/end2end/project_index/create_document/_validation/create_document_validate_empty_document_title/test_case.py +++ b/tests/end2end/screens/project_index/create_document/_validation/create_document_validate_empty_document_title/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-107, scope=file) +""" + import os from tests.end2end.e2e_case import E2ECase diff --git a/tests/end2end/project_index/create_document/create_document_normal_flow/expected_output/docs/document1.sdoc b/tests/end2end/screens/project_index/create_document/create_document_normal_flow/expected_output/docs/document1.sdoc similarity index 100% rename from tests/end2end/project_index/create_document/create_document_normal_flow/expected_output/docs/document1.sdoc rename to tests/end2end/screens/project_index/create_document/create_document_normal_flow/expected_output/docs/document1.sdoc diff --git a/tests/end2end/project_index/create_document/create_document_normal_flow/expected_output/docs/document2.sdoc b/tests/end2end/screens/project_index/create_document/create_document_normal_flow/expected_output/docs/document2.sdoc similarity index 100% rename from tests/end2end/project_index/create_document/create_document_normal_flow/expected_output/docs/document2.sdoc rename to tests/end2end/screens/project_index/create_document/create_document_normal_flow/expected_output/docs/document2.sdoc diff --git a/tests/end2end/project_index/create_document/create_document_normal_flow/expected_output/dummy.txt b/tests/end2end/screens/project_index/create_document/create_document_normal_flow/expected_output/dummy.txt similarity index 100% rename from tests/end2end/project_index/create_document/create_document_normal_flow/expected_output/dummy.txt rename to tests/end2end/screens/project_index/create_document/create_document_normal_flow/expected_output/dummy.txt diff --git a/tests/end2end/project_index/create_document/create_document_normal_flow/input/dummy.txt b/tests/end2end/screens/project_index/create_document/create_document_normal_flow/input/dummy.txt similarity index 100% rename from tests/end2end/project_index/create_document/create_document_normal_flow/input/dummy.txt rename to tests/end2end/screens/project_index/create_document/create_document_normal_flow/input/dummy.txt diff --git a/tests/end2end/project_index/create_document/create_document_normal_flow/test_case.py b/tests/end2end/screens/project_index/create_document/create_document_normal_flow/test_case.py similarity index 97% rename from tests/end2end/project_index/create_document/create_document_normal_flow/test_case.py rename to tests/end2end/screens/project_index/create_document/create_document_normal_flow/test_case.py index 3a27db382..2ce89686b 100644 --- a/tests/end2end/project_index/create_document/create_document_normal_flow/test_case.py +++ b/tests/end2end/screens/project_index/create_document/create_document_normal_flow/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-107, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.screens.project_index.form_add_document import ( diff --git a/tests/end2end/project_index/export_tree_to_reqif/basic_reqif_export/expected_output/Document_1.sdoc b/tests/end2end/screens/project_index/export_tree_to_reqif/basic_reqif_export/expected_output/Document_1.sdoc similarity index 100% rename from tests/end2end/project_index/export_tree_to_reqif/basic_reqif_export/expected_output/Document_1.sdoc rename to tests/end2end/screens/project_index/export_tree_to_reqif/basic_reqif_export/expected_output/Document_1.sdoc diff --git a/tests/end2end/project_index/export_tree_to_reqif/basic_reqif_export/expected_output/Document_2.sdoc b/tests/end2end/screens/project_index/export_tree_to_reqif/basic_reqif_export/expected_output/Document_2.sdoc similarity index 100% rename from tests/end2end/project_index/export_tree_to_reqif/basic_reqif_export/expected_output/Document_2.sdoc rename to tests/end2end/screens/project_index/export_tree_to_reqif/basic_reqif_export/expected_output/Document_2.sdoc diff --git a/tests/end2end/project_index/export_tree_to_reqif/basic_reqif_export/expected_output/strictdoc.toml b/tests/end2end/screens/project_index/export_tree_to_reqif/basic_reqif_export/expected_output/strictdoc.toml similarity index 100% rename from tests/end2end/project_index/export_tree_to_reqif/basic_reqif_export/expected_output/strictdoc.toml rename to tests/end2end/screens/project_index/export_tree_to_reqif/basic_reqif_export/expected_output/strictdoc.toml diff --git a/tests/end2end/project_index/export_tree_to_reqif/basic_reqif_export/input/Document_1.sdoc b/tests/end2end/screens/project_index/export_tree_to_reqif/basic_reqif_export/input/Document_1.sdoc similarity index 100% rename from tests/end2end/project_index/export_tree_to_reqif/basic_reqif_export/input/Document_1.sdoc rename to tests/end2end/screens/project_index/export_tree_to_reqif/basic_reqif_export/input/Document_1.sdoc diff --git a/tests/end2end/project_index/export_tree_to_reqif/basic_reqif_export/input/Document_2.sdoc b/tests/end2end/screens/project_index/export_tree_to_reqif/basic_reqif_export/input/Document_2.sdoc similarity index 100% rename from tests/end2end/project_index/export_tree_to_reqif/basic_reqif_export/input/Document_2.sdoc rename to tests/end2end/screens/project_index/export_tree_to_reqif/basic_reqif_export/input/Document_2.sdoc diff --git a/tests/end2end/project_index/export_tree_to_reqif/basic_reqif_export/input/strictdoc.toml b/tests/end2end/screens/project_index/export_tree_to_reqif/basic_reqif_export/input/strictdoc.toml similarity index 100% rename from tests/end2end/project_index/export_tree_to_reqif/basic_reqif_export/input/strictdoc.toml rename to tests/end2end/screens/project_index/export_tree_to_reqif/basic_reqif_export/input/strictdoc.toml diff --git a/tests/end2end/project_index/export_tree_to_reqif/basic_reqif_export/test_case.py b/tests/end2end/screens/project_index/export_tree_to_reqif/basic_reqif_export/test_case.py similarity index 100% rename from tests/end2end/project_index/export_tree_to_reqif/basic_reqif_export/test_case.py rename to tests/end2end/screens/project_index/export_tree_to_reqif/basic_reqif_export/test_case.py diff --git a/tests/end2end/project_index/import_document_from_reqif/_validations/input_file_not_reqif_format/sample.reqif b/tests/end2end/screens/project_index/import_document_from_reqif/_validations/input_file_not_reqif_format/sample.reqif similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/_validations/input_file_not_reqif_format/sample.reqif rename to tests/end2end/screens/project_index/import_document_from_reqif/_validations/input_file_not_reqif_format/sample.reqif diff --git a/tests/end2end/project_index/import_document_from_reqif/_validations/input_file_not_reqif_format/strictdoc.toml b/tests/end2end/screens/project_index/import_document_from_reqif/_validations/input_file_not_reqif_format/strictdoc.toml similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/_validations/input_file_not_reqif_format/strictdoc.toml rename to tests/end2end/screens/project_index/import_document_from_reqif/_validations/input_file_not_reqif_format/strictdoc.toml diff --git a/tests/end2end/project_index/import_document_from_reqif/_validations/input_file_not_reqif_format/test_case.py b/tests/end2end/screens/project_index/import_document_from_reqif/_validations/input_file_not_reqif_format/test_case.py similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/_validations/input_file_not_reqif_format/test_case.py rename to tests/end2end/screens/project_index/import_document_from_reqif/_validations/input_file_not_reqif_format/test_case.py diff --git a/tests/end2end/project_index/import_document_from_reqif/import_document_default_import/expected_output/Document_1.sdoc b/tests/end2end/screens/project_index/import_document_from_reqif/import_document_default_import/expected_output/Document_1.sdoc similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/import_document_default_import/expected_output/Document_1.sdoc rename to tests/end2end/screens/project_index/import_document_from_reqif/import_document_default_import/expected_output/Document_1.sdoc diff --git a/tests/end2end/project_index/import_document_from_reqif/import_document_default_import/expected_output/dummy.txt b/tests/end2end/screens/project_index/import_document_from_reqif/import_document_default_import/expected_output/dummy.txt similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/import_document_default_import/expected_output/dummy.txt rename to tests/end2end/screens/project_index/import_document_from_reqif/import_document_default_import/expected_output/dummy.txt diff --git a/tests/end2end/project_index/import_document_from_reqif/import_document_default_import/expected_output/strictdoc.toml b/tests/end2end/screens/project_index/import_document_from_reqif/import_document_default_import/expected_output/strictdoc.toml similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/import_document_default_import/expected_output/strictdoc.toml rename to tests/end2end/screens/project_index/import_document_from_reqif/import_document_default_import/expected_output/strictdoc.toml diff --git a/tests/end2end/project_index/import_document_from_reqif/import_document_default_import/input/dummy.txt b/tests/end2end/screens/project_index/import_document_from_reqif/import_document_default_import/input/dummy.txt similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/import_document_default_import/input/dummy.txt rename to tests/end2end/screens/project_index/import_document_from_reqif/import_document_default_import/input/dummy.txt diff --git a/tests/end2end/project_index/import_document_from_reqif/import_document_default_import/input/strictdoc.toml b/tests/end2end/screens/project_index/import_document_from_reqif/import_document_default_import/input/strictdoc.toml similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/import_document_default_import/input/strictdoc.toml rename to tests/end2end/screens/project_index/import_document_from_reqif/import_document_default_import/input/strictdoc.toml diff --git a/tests/end2end/project_index/import_document_from_reqif/import_document_default_import/sample.reqif b/tests/end2end/screens/project_index/import_document_from_reqif/import_document_default_import/sample.reqif similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/import_document_default_import/sample.reqif rename to tests/end2end/screens/project_index/import_document_from_reqif/import_document_default_import/sample.reqif diff --git a/tests/end2end/project_index/import_document_from_reqif/import_document_default_import/test_case.py b/tests/end2end/screens/project_index/import_document_from_reqif/import_document_default_import/test_case.py similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/import_document_default_import/test_case.py rename to tests/end2end/screens/project_index/import_document_from_reqif/import_document_default_import/test_case.py diff --git a/tests/end2end/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/Document_1.sdoc b/tests/end2end/screens/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/Document_1.sdoc similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/Document_1.sdoc rename to tests/end2end/screens/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/Document_1.sdoc diff --git a/tests/end2end/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/Document_2.sdoc b/tests/end2end/screens/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/Document_2.sdoc similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/Document_2.sdoc rename to tests/end2end/screens/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/Document_2.sdoc diff --git a/tests/end2end/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/dummy.txt b/tests/end2end/screens/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/dummy.txt similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/dummy.txt rename to tests/end2end/screens/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/dummy.txt diff --git a/tests/end2end/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/strictdoc.toml b/tests/end2end/screens/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/strictdoc.toml similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/strictdoc.toml rename to tests/end2end/screens/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/expected_output/strictdoc.toml diff --git a/tests/end2end/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/input/dummy.txt b/tests/end2end/screens/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/input/dummy.txt similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/input/dummy.txt rename to tests/end2end/screens/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/input/dummy.txt diff --git a/tests/end2end/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/input/strictdoc.toml b/tests/end2end/screens/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/input/strictdoc.toml similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/input/strictdoc.toml rename to tests/end2end/screens/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/input/strictdoc.toml diff --git a/tests/end2end/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/sample.reqif b/tests/end2end/screens/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/sample.reqif similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/sample.reqif rename to tests/end2end/screens/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/sample.reqif diff --git a/tests/end2end/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/test_case.py b/tests/end2end/screens/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/test_case.py similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/test_case.py rename to tests/end2end/screens/project_index/import_document_from_reqif/import_document_from_reqif_tree_of_two_documents/test_case.py diff --git a/tests/end2end/project_index/import_document_from_reqif/import_reqif_cancel_import/strictdoc.toml b/tests/end2end/screens/project_index/import_document_from_reqif/import_reqif_cancel_import/strictdoc.toml similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/import_reqif_cancel_import/strictdoc.toml rename to tests/end2end/screens/project_index/import_document_from_reqif/import_reqif_cancel_import/strictdoc.toml diff --git a/tests/end2end/project_index/import_document_from_reqif/import_reqif_cancel_import/test_case.py b/tests/end2end/screens/project_index/import_document_from_reqif/import_reqif_cancel_import/test_case.py similarity index 100% rename from tests/end2end/project_index/import_document_from_reqif/import_reqif_cancel_import/test_case.py rename to tests/end2end/screens/project_index/import_document_from_reqif/import_reqif_cancel_import/test_case.py diff --git a/tests/end2end/project_index/show_hide_included_documents/expected_output/.dummy.txt b/tests/end2end/screens/project_index/show_hide_included_documents/expected_output/.dummy.txt similarity index 100% rename from tests/end2end/project_index/show_hide_included_documents/expected_output/.dummy.txt rename to tests/end2end/screens/project_index/show_hide_included_documents/expected_output/.dummy.txt diff --git a/tests/end2end/project_index/show_hide_included_documents/input/document.sdoc b/tests/end2end/screens/project_index/show_hide_included_documents/input/document.sdoc similarity index 100% rename from tests/end2end/project_index/show_hide_included_documents/input/document.sdoc rename to tests/end2end/screens/project_index/show_hide_included_documents/input/document.sdoc diff --git a/tests/end2end/project_index/show_hide_included_documents/input/fragment.sdoc b/tests/end2end/screens/project_index/show_hide_included_documents/input/fragment.sdoc similarity index 100% rename from tests/end2end/project_index/show_hide_included_documents/input/fragment.sdoc rename to tests/end2end/screens/project_index/show_hide_included_documents/input/fragment.sdoc diff --git a/tests/end2end/project_index/show_hide_included_documents/input/strictdoc.toml b/tests/end2end/screens/project_index/show_hide_included_documents/input/strictdoc.toml similarity index 100% rename from tests/end2end/project_index/show_hide_included_documents/input/strictdoc.toml rename to tests/end2end/screens/project_index/show_hide_included_documents/input/strictdoc.toml diff --git a/tests/end2end/project_index/show_hide_included_documents/test_case.py b/tests/end2end/screens/project_index/show_hide_included_documents/test_case.py similarity index 100% rename from tests/end2end/project_index/show_hide_included_documents/test_case.py rename to tests/end2end/screens/project_index/show_hide_included_documents/test_case.py diff --git a/tests/end2end/project_index/view_project_tree/view_project_tree_empty_tree/test_case.py b/tests/end2end/screens/project_index/view_project_tree/view_project_tree_empty_tree/test_case.py similarity index 92% rename from tests/end2end/project_index/view_project_tree/view_project_tree_empty_tree/test_case.py rename to tests/end2end/screens/project_index/view_project_tree/view_project_tree_empty_tree/test_case.py index 463021837..1c3f1346a 100644 --- a/tests/end2end/project_index/view_project_tree/view_project_tree_empty_tree/test_case.py +++ b/tests/end2end/screens/project_index/view_project_tree/view_project_tree_empty_tree/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-50, SDOC-SRS-53, scope=file) +""" + import os from tests.end2end.e2e_case import E2ECase diff --git a/tests/end2end/screens/source_coverage/requirements_to_source_traceability/view_source_coverage/strictdoc.toml b/tests/end2end/screens/source_coverage/view_source_coverage/strictdoc.toml similarity index 85% rename from tests/end2end/screens/source_coverage/requirements_to_source_traceability/view_source_coverage/strictdoc.toml rename to tests/end2end/screens/source_coverage/view_source_coverage/strictdoc.toml index 15f0b9f5d..10c4ae651 100644 --- a/tests/end2end/screens/source_coverage/requirements_to_source_traceability/view_source_coverage/strictdoc.toml +++ b/tests/end2end/screens/source_coverage/view_source_coverage/strictdoc.toml @@ -6,4 +6,5 @@ features = [ exclude_source_paths = [ "**.pyc", + "test_case.py", ] diff --git a/tests/end2end/screens/source_coverage/requirements_to_source_traceability/view_source_coverage/test_case.py b/tests/end2end/screens/source_coverage/view_source_coverage/test_case.py similarity index 95% rename from tests/end2end/screens/source_coverage/requirements_to_source_traceability/view_source_coverage/test_case.py rename to tests/end2end/screens/source_coverage/view_source_coverage/test_case.py index a3ef404a4..97f0d2bb7 100644 --- a/tests/end2end/screens/source_coverage/requirements_to_source_traceability/view_source_coverage/test_case.py +++ b/tests/end2end/screens/source_coverage/view_source_coverage/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-35, scope=file) +""" + import os from tests.end2end.e2e_case import E2ECase diff --git a/tests/end2end/screens/source_coverage/source_file/view_source_file/file.test.py b/tests/end2end/screens/source_file/view_source_file/file.test.py similarity index 63% rename from tests/end2end/screens/source_coverage/source_file/view_source_file/file.test.py rename to tests/end2end/screens/source_file/view_source_file/file.test.py index 286342392..be1f053e5 100644 --- a/tests/end2end/screens/source_coverage/source_file/view_source_file/file.test.py +++ b/tests/end2end/screens/source_file/view_source_file/file.test.py @@ -1,3 +1,8 @@ +# +# @relation(SDOC-SRS-36, scope=file) +# + + def foo(): """ @relation(REQ-001, scope=function) diff --git a/tests/end2end/screens/source_coverage/source_file/view_source_file/index.sdoc b/tests/end2end/screens/source_file/view_source_file/index.sdoc similarity index 100% rename from tests/end2end/screens/source_coverage/source_file/view_source_file/index.sdoc rename to tests/end2end/screens/source_file/view_source_file/index.sdoc diff --git a/tests/end2end/screens/source_coverage/source_file/view_source_file/strictdoc.toml b/tests/end2end/screens/source_file/view_source_file/strictdoc.toml similarity index 100% rename from tests/end2end/screens/source_coverage/source_file/view_source_file/strictdoc.toml rename to tests/end2end/screens/source_file/view_source_file/strictdoc.toml diff --git a/tests/end2end/screens/source_coverage/source_file/view_source_file/test_case.py b/tests/end2end/screens/source_file/view_source_file/test_case.py similarity index 97% rename from tests/end2end/screens/source_coverage/source_file/view_source_file/test_case.py rename to tests/end2end/screens/source_file/view_source_file/test_case.py index 5a1407efc..9034e2310 100644 --- a/tests/end2end/screens/source_coverage/source_file/view_source_file/test_case.py +++ b/tests/end2end/screens/source_file/view_source_file/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-36, scope=file) +""" + import os from tests.end2end.e2e_case import E2ECase diff --git a/tests/end2end/screens/table/view_table_document/view_table_document_document_has_content/test_case.py b/tests/end2end/screens/table/view_table_document/view_table_document_document_has_content/test_case.py index 050d3d738..9ae9c3a46 100644 --- a/tests/end2end/screens/table/view_table_document/view_table_document_document_has_content/test_case.py +++ b/tests/end2end/screens/table/view_table_document/view_table_document_document_has_content/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-62, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.components.viewtype_selector import ViewType_Selector diff --git a/tests/end2end/screens/table/view_table_document/view_table_document_document_has_no_content/test_case.py b/tests/end2end/screens/table/view_table_document/view_table_document_document_has_no_content/test_case.py index cdbcba98e..3a8e1da5b 100644 --- a/tests/end2end/screens/table/view_table_document/view_table_document_document_has_no_content/test_case.py +++ b/tests/end2end/screens/table/view_table_document/view_table_document_document_has_no_content/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-62, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.components.viewtype_selector import ViewType_Selector diff --git a/tests/end2end/screens/traceability/view_traceability_document/view_traceability_document_document_has_content/test_case.py b/tests/end2end/screens/traceability/view_traceability_document/view_traceability_document_document_has_content/test_case.py index 58d72581e..558f08659 100644 --- a/tests/end2end/screens/traceability/view_traceability_document/view_traceability_document_document_has_content/test_case.py +++ b/tests/end2end/screens/traceability/view_traceability_document/view_traceability_document_document_has_content/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-65, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.components.viewtype_selector import ViewType_Selector diff --git a/tests/end2end/screens/traceability/view_traceability_document/view_traceability_document_document_has_no_content/test_case.py b/tests/end2end/screens/traceability/view_traceability_document/view_traceability_document_document_has_no_content/test_case.py index e105e4de2..49c95322f 100644 --- a/tests/end2end/screens/traceability/view_traceability_document/view_traceability_document_document_has_no_content/test_case.py +++ b/tests/end2end/screens/traceability/view_traceability_document/view_traceability_document_document_has_no_content/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-65, scope=file) +""" + from tests.end2end.e2e_case import E2ECase from tests.end2end.end2end_test_setup import End2EndTestSetup from tests.end2end.helpers.components.viewtype_selector import ViewType_Selector diff --git a/tests/end2end/screens/requirements_coverage/view_requirements_coverage/strictdoc.toml b/tests/end2end/screens/traceability_matrix/view_traceability_matrix/strictdoc.toml similarity index 100% rename from tests/end2end/screens/requirements_coverage/view_requirements_coverage/strictdoc.toml rename to tests/end2end/screens/traceability_matrix/view_traceability_matrix/strictdoc.toml diff --git a/tests/end2end/screens/requirements_coverage/view_requirements_coverage/test_case.py b/tests/end2end/screens/traceability_matrix/view_traceability_matrix/test_case.py similarity index 95% rename from tests/end2end/screens/requirements_coverage/view_requirements_coverage/test_case.py rename to tests/end2end/screens/traceability_matrix/view_traceability_matrix/test_case.py index 328e205f7..f558a2718 100644 --- a/tests/end2end/screens/requirements_coverage/view_requirements_coverage/test_case.py +++ b/tests/end2end/screens/traceability_matrix/view_traceability_matrix/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-112, scope=file) +""" + import os from tests.end2end.e2e_case import E2ECase diff --git a/tests/integration/features/commands/manage/auto-uid/01_issue_1630_autouid_must_preserve_relations/test.itest b/tests/integration/features/commands/manage/auto-uid/01_issue_1630_autouid_must_preserve_relations/test.itest index 2124f14c1..62dc497fb 100644 --- a/tests/integration/features/commands/manage/auto-uid/01_issue_1630_autouid_must_preserve_relations/test.itest +++ b/tests/integration/features/commands/manage/auto-uid/01_issue_1630_autouid_must_preserve_relations/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-85, scope=file) +# + RUN: cp %S/input.sdoc %T/ RUN: %strictdoc manage auto-uid %T/ diff --git a/tests/integration/features/commands/manage/auto-uid/composable_documents/01_basic_check_all_elements/test.itest b/tests/integration/features/commands/manage/auto-uid/composable_documents/01_basic_check_all_elements/test.itest index b21959930..03cc9d991 100644 --- a/tests/integration/features/commands/manage/auto-uid/composable_documents/01_basic_check_all_elements/test.itest +++ b/tests/integration/features/commands/manage/auto-uid/composable_documents/01_basic_check_all_elements/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-85, scope=file) +# + RUN: cp %S/*.sdoc %T/ RUN: %strictdoc manage auto-uid %T/ | filecheck %s --dump-input=fail CHECK: Step 'Build traceability graph' took: diff --git a/tests/integration/features/commands/manage/auto-uid/composable_documents/_validations/01_validate_link_to_non_existing_document/test.itest b/tests/integration/features/commands/manage/auto-uid/composable_documents/_validations/01_validate_link_to_non_existing_document/test.itest index 0f7dad5fc..c89a19ad0 100644 --- a/tests/integration/features/commands/manage/auto-uid/composable_documents/_validations/01_validate_link_to_non_existing_document/test.itest +++ b/tests/integration/features/commands/manage/auto-uid/composable_documents/_validations/01_validate_link_to_non_existing_document/test.itest @@ -1,2 +1,6 @@ +# +# @relation(SDOC-SRS-85, scope=file) +# + RUN: %expect_exit 1 %strictdoc manage auto-uid %S/input.sdoc | filecheck %s --dump-input=fail CHECK: error: A document includes contains a link to another document which is not resolved in the current documentation tree: 'nested.sdoc'. This can happen if a single document path is provided as input to a StrictDoc command. Try providing a path to a folder where all documents are stored. diff --git a/tests/integration/features/commands/manage/auto-uid/composite_requirement_uids/01_default_behavior/test.itest b/tests/integration/features/commands/manage/auto-uid/composite_requirement_uids/01_default_behavior/test.itest index c2718f2cb..527c30c23 100644 --- a/tests/integration/features/commands/manage/auto-uid/composite_requirement_uids/01_default_behavior/test.itest +++ b/tests/integration/features/commands/manage/auto-uid/composite_requirement_uids/01_default_behavior/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-85, scope=file) +# + RUN: cp %S/input.sdoc %T/ RUN: %strictdoc manage auto-uid %T/ RUN: %diff %S/input.expected.sdoc %T/input.sdoc diff --git a/tests/integration/features/commands/manage/auto-uid/grammar_from_file/01_basic_grammar_from_file/test.itest b/tests/integration/features/commands/manage/auto-uid/grammar_from_file/01_basic_grammar_from_file/test.itest index f9d76b987..a47562d47 100644 --- a/tests/integration/features/commands/manage/auto-uid/grammar_from_file/01_basic_grammar_from_file/test.itest +++ b/tests/integration/features/commands/manage/auto-uid/grammar_from_file/01_basic_grammar_from_file/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-85, scope=file) +# + RUN: cp %S/*.sdoc %S/*.sgra %T/ RUN: %strictdoc manage auto-uid %T | filecheck %s --dump-input=fail CHECK: Step 'Build traceability graph' took diff --git a/tests/integration/features/commands/manage/auto-uid/grammar_from_file/02_ignores_junit_xml/test.itest b/tests/integration/features/commands/manage/auto-uid/grammar_from_file/02_ignores_junit_xml/test.itest index 1ee6ab516..d7d59d57b 100644 --- a/tests/integration/features/commands/manage/auto-uid/grammar_from_file/02_ignores_junit_xml/test.itest +++ b/tests/integration/features/commands/manage/auto-uid/grammar_from_file/02_ignores_junit_xml/test.itest @@ -3,6 +3,8 @@ # JUnit XML files with SDoc content. # The scope of the auto_uid is only SDoc files. All other extensions must be ignored. # +# @relation(SDOC-SRS-85, scope=file) +# RUN: cp %S/*.xml %T/ RUN: %strictdoc manage auto-uid %T | filecheck %s --dump-input=fail diff --git a/tests/integration/features/commands/manage/auto-uid/requirement_uids/01_default_behavior/test.itest b/tests/integration/features/commands/manage/auto-uid/requirement_uids/01_default_behavior/test.itest index c2718f2cb..527c30c23 100644 --- a/tests/integration/features/commands/manage/auto-uid/requirement_uids/01_default_behavior/test.itest +++ b/tests/integration/features/commands/manage/auto-uid/requirement_uids/01_default_behavior/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-85, scope=file) +# + RUN: cp %S/input.sdoc %T/ RUN: %strictdoc manage auto-uid %T/ RUN: %diff %S/input.expected.sdoc %T/input.sdoc diff --git a/tests/integration/features/commands/manage/auto-uid/requirement_uids/02_some_requirements_already_have_uid/test.itest b/tests/integration/features/commands/manage/auto-uid/requirement_uids/02_some_requirements_already_have_uid/test.itest index c2718f2cb..527c30c23 100644 --- a/tests/integration/features/commands/manage/auto-uid/requirement_uids/02_some_requirements_already_have_uid/test.itest +++ b/tests/integration/features/commands/manage/auto-uid/requirement_uids/02_some_requirements_already_have_uid/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-85, scope=file) +# + RUN: cp %S/input.sdoc %T/ RUN: %strictdoc manage auto-uid %T/ RUN: %diff %S/input.expected.sdoc %T/input.sdoc diff --git a/tests/integration/features/commands/manage/auto-uid/requirement_uids/03_requirement_prefix_document_level/test.itest b/tests/integration/features/commands/manage/auto-uid/requirement_uids/03_requirement_prefix_document_level/test.itest index c2718f2cb..527c30c23 100644 --- a/tests/integration/features/commands/manage/auto-uid/requirement_uids/03_requirement_prefix_document_level/test.itest +++ b/tests/integration/features/commands/manage/auto-uid/requirement_uids/03_requirement_prefix_document_level/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-85, scope=file) +# + RUN: cp %S/input.sdoc %T/ RUN: %strictdoc manage auto-uid %T/ RUN: %diff %S/input.expected.sdoc %T/input.sdoc diff --git a/tests/integration/features/commands/manage/auto-uid/requirement_uids/04_requirement_prefix_section_level/test.itest b/tests/integration/features/commands/manage/auto-uid/requirement_uids/04_requirement_prefix_section_level/test.itest index c2718f2cb..527c30c23 100644 --- a/tests/integration/features/commands/manage/auto-uid/requirement_uids/04_requirement_prefix_section_level/test.itest +++ b/tests/integration/features/commands/manage/auto-uid/requirement_uids/04_requirement_prefix_section_level/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-85, scope=file) +# + RUN: cp %S/input.sdoc %T/ RUN: %strictdoc manage auto-uid %T/ RUN: %diff %S/input.expected.sdoc %T/input.sdoc diff --git a/tests/integration/features/commands/manage/auto-uid/requirement_uids/05_requirement_prefix_grammar_element_level/test.itest b/tests/integration/features/commands/manage/auto-uid/requirement_uids/05_requirement_prefix_grammar_element_level/test.itest index c2718f2cb..527c30c23 100644 --- a/tests/integration/features/commands/manage/auto-uid/requirement_uids/05_requirement_prefix_grammar_element_level/test.itest +++ b/tests/integration/features/commands/manage/auto-uid/requirement_uids/05_requirement_prefix_grammar_element_level/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-85, scope=file) +# + RUN: cp %S/input.sdoc %T/ RUN: %strictdoc manage auto-uid %T/ RUN: %diff %S/input.expected.sdoc %T/input.sdoc diff --git a/tests/integration/features/commands/manage/auto-uid/requirement_uids/06_works_against_single_files/test.itest b/tests/integration/features/commands/manage/auto-uid/requirement_uids/06_works_against_single_files/test.itest index a67250879..5ce2179a9 100644 --- a/tests/integration/features/commands/manage/auto-uid/requirement_uids/06_works_against_single_files/test.itest +++ b/tests/integration/features/commands/manage/auto-uid/requirement_uids/06_works_against_single_files/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-85, scope=file) +# + RUN: cp %S/input.sdoc %T/ RUN: %strictdoc manage auto-uid %T/input.sdoc RUN: %diff %S/input.expected.sdoc %T/input.sdoc diff --git a/tests/integration/features/commands/manage/auto-uid/requirement_uids/07_works_across_documents_default_prefix/test.itest b/tests/integration/features/commands/manage/auto-uid/requirement_uids/07_works_across_documents_default_prefix/test.itest index 052396ddf..5d3414103 100644 --- a/tests/integration/features/commands/manage/auto-uid/requirement_uids/07_works_across_documents_default_prefix/test.itest +++ b/tests/integration/features/commands/manage/auto-uid/requirement_uids/07_works_across_documents_default_prefix/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-85, scope=file) +# + RUN: cp %S/input1.sdoc %T/ RUN: cp %S/input2.sdoc %T/ RUN: %strictdoc manage auto-uid %T/ diff --git a/tests/integration/features/commands/manage/auto-uid/requirement_uids/08_works_across_documents_custom_prefix/test.itest b/tests/integration/features/commands/manage/auto-uid/requirement_uids/08_works_across_documents_custom_prefix/test.itest index c1d14c6ec..749168bb8 100644 --- a/tests/integration/features/commands/manage/auto-uid/requirement_uids/08_works_across_documents_custom_prefix/test.itest +++ b/tests/integration/features/commands/manage/auto-uid/requirement_uids/08_works_across_documents_custom_prefix/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-85, scope=file) +# + RUN: cp %S/input1.sdoc %T/ RUN: cp %S/input2.sdoc %T/ RUN: cp %S/input3.sdoc %T/ diff --git a/tests/integration/features/commands/manage/auto-uid/requirement_uids/09_edge_grammar_UID_required/test.itest b/tests/integration/features/commands/manage/auto-uid/requirement_uids/09_edge_grammar_UID_required/test.itest index c2718f2cb..527c30c23 100644 --- a/tests/integration/features/commands/manage/auto-uid/requirement_uids/09_edge_grammar_UID_required/test.itest +++ b/tests/integration/features/commands/manage/auto-uid/requirement_uids/09_edge_grammar_UID_required/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-85, scope=file) +# + RUN: cp %S/input.sdoc %T/ RUN: %strictdoc manage auto-uid %T/ RUN: %diff %S/input.expected.sdoc %T/input.sdoc diff --git a/tests/integration/features/commands/manage/auto-uid/section_uids/01_generates_section_uids/test.itest b/tests/integration/features/commands/manage/auto-uid/section_uids/01_generates_section_uids/test.itest index 7ebd37d1c..f8c5c5493 100644 --- a/tests/integration/features/commands/manage/auto-uid/section_uids/01_generates_section_uids/test.itest +++ b/tests/integration/features/commands/manage/auto-uid/section_uids/01_generates_section_uids/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-85, scope=file) +# + RUN: cp %S/input.sdoc %T/ RUN: %strictdoc manage auto-uid --include-sections %T/input.sdoc RUN: %diff %S/input.expected.sdoc %T/input.sdoc diff --git a/tests/integration/features/commands/manage/auto-uid/section_uids/02_identical_titles_get_numeric_postfix/test.itest b/tests/integration/features/commands/manage/auto-uid/section_uids/02_identical_titles_get_numeric_postfix/test.itest index 7ebd37d1c..f8c5c5493 100644 --- a/tests/integration/features/commands/manage/auto-uid/section_uids/02_identical_titles_get_numeric_postfix/test.itest +++ b/tests/integration/features/commands/manage/auto-uid/section_uids/02_identical_titles_get_numeric_postfix/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-85, scope=file) +# + RUN: cp %S/input.sdoc %T/ RUN: %strictdoc manage auto-uid --include-sections %T/input.sdoc RUN: %diff %S/input.expected.sdoc %T/input.sdoc diff --git a/tests/integration/features/diff/01__requirements__from_empty_doc_to_one_requirement/test.itest b/tests/integration/features/diff/01__requirements__from_empty_doc_to_one_requirement/test.itest index 662c7e3f2..5ae676e09 100644 --- a/tests/integration/features/diff/01__requirements__from_empty_doc_to_one_requirement/test.itest +++ b/tests/integration/features/diff/01__requirements__from_empty_doc_to_one_requirement/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc --debug diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/02__requirements__from_requirement_to_requirement__add_uid/test.itest b/tests/integration/features/diff/02__requirements__from_requirement_to_requirement__add_uid/test.itest index 54c8f5873..4a67ac427 100644 --- a/tests/integration/features/diff/02__requirements__from_requirement_to_requirement__add_uid/test.itest +++ b/tests/integration/features/diff/02__requirements__from_requirement_to_requirement__add_uid/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/03__requirements__from_requirement_to_requirement__remove_uid/test.itest b/tests/integration/features/diff/03__requirements__from_requirement_to_requirement__remove_uid/test.itest index 0927839b4..fbc74b0be 100644 --- a/tests/integration/features/diff/03__requirements__from_requirement_to_requirement__remove_uid/test.itest +++ b/tests/integration/features/diff/03__requirements__from_requirement_to_requirement__remove_uid/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T CHECK-CHANGELOG:
Summary of the changes
diff --git a/tests/integration/features/diff/04__requirements__rename_statement/test.itest b/tests/integration/features/diff/04__requirements__rename_statement/test.itest index 7b2c762e9..b697da677 100644 --- a/tests/integration/features/diff/04__requirements__rename_statement/test.itest +++ b/tests/integration/features/diff/04__requirements__rename_statement/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --dump-input=fail --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/04a__requirements__rename_statement_contained_in_section/test.itest b/tests/integration/features/diff/04a__requirements__rename_statement_contained_in_section/test.itest index 7b2c762e9..b697da677 100644 --- a/tests/integration/features/diff/04a__requirements__rename_statement_contained_in_section/test.itest +++ b/tests/integration/features/diff/04a__requirements__rename_statement_contained_in_section/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --dump-input=fail --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/05__requirements__remove_one_requirement/test.itest b/tests/integration/features/diff/05__requirements__remove_one_requirement/test.itest index 2e6712786..bfc9a2959 100644 --- a/tests/integration/features/diff/05__requirements__remove_one_requirement/test.itest +++ b/tests/integration/features/diff/05__requirements__remove_one_requirement/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --dump-input=fail --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/06__requirements__unmatched_requirement_content_changed/test.itest b/tests/integration/features/diff/06__requirements__unmatched_requirement_content_changed/test.itest index c0fe8abe4..338168dcd 100644 --- a/tests/integration/features/diff/06__requirements__unmatched_requirement_content_changed/test.itest +++ b/tests/integration/features/diff/06__requirements__unmatched_requirement_content_changed/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/07__requirements__matched_requirement_content_changed/test.itest b/tests/integration/features/diff/07__requirements__matched_requirement_content_changed/test.itest index f21ae8eb5..c97eee4b2 100644 --- a/tests/integration/features/diff/07__requirements__matched_requirement_content_changed/test.itest +++ b/tests/integration/features/diff/07__requirements__matched_requirement_content_changed/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/10__requirements_comments__add_comment/test.itest b/tests/integration/features/diff/10__requirements_comments__add_comment/test.itest index a59eb3d70..bc920b6f7 100644 --- a/tests/integration/features/diff/10__requirements_comments__add_comment/test.itest +++ b/tests/integration/features/diff/10__requirements_comments__add_comment/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/110__document_fragments__basic/test.itest b/tests/integration/features/diff/110__document_fragments__basic/test.itest index f6a12f4c1..7a2ba6d83 100644 --- a/tests/integration/features/diff/110__document_fragments__basic/test.itest +++ b/tests/integration/features/diff/110__document_fragments__basic/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --dump-input=fail --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/11__requirements_comments__modify_one_comment/test.itest b/tests/integration/features/diff/11__requirements_comments__modify_one_comment/test.itest index 24ac00910..f8232bb68 100644 --- a/tests/integration/features/diff/11__requirements_comments__modify_one_comment/test.itest +++ b/tests/integration/features/diff/11__requirements_comments__modify_one_comment/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/120__escaping__basic/test.itest b/tests/integration/features/diff/120__escaping__basic/test.itest index 4d3e8304d..e9bb73338 100644 --- a/tests/integration/features/diff/120__escaping__basic/test.itest +++ b/tests/integration/features/diff/120__escaping__basic/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/diff.html | filecheck %s --dump-input=fail --check-prefix=CHECK-DIFF diff --git a/tests/integration/features/diff/12__requirements_comments__modify_second_of_three_comments/test.itest b/tests/integration/features/diff/12__requirements_comments__modify_second_of_three_comments/test.itest index 47344002c..7dfdaf423 100644 --- a/tests/integration/features/diff/12__requirements_comments__modify_second_of_three_comments/test.itest +++ b/tests/integration/features/diff/12__requirements_comments__modify_second_of_three_comments/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/13__requirements_comments__insert_new_comment_between_two_comments/test.itest b/tests/integration/features/diff/13__requirements_comments__insert_new_comment_between_two_comments/test.itest index ae321c39e..62129bbaf 100644 --- a/tests/integration/features/diff/13__requirements_comments__insert_new_comment_between_two_comments/test.itest +++ b/tests/integration/features/diff/13__requirements_comments__insert_new_comment_between_two_comments/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/14__requirements_comments__insert_two_similar_requirements/test.itest b/tests/integration/features/diff/14__requirements_comments__insert_two_similar_requirements/test.itest index 8a9b13250..a189f51b0 100644 --- a/tests/integration/features/diff/14__requirements_comments__insert_two_similar_requirements/test.itest +++ b/tests/integration/features/diff/14__requirements_comments__insert_two_similar_requirements/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/20__requirements_relations__same_document__add_parent_relation/test.itest b/tests/integration/features/diff/20__requirements_relations__same_document__add_parent_relation/test.itest index 227f76f94..a0fecf594 100644 --- a/tests/integration/features/diff/20__requirements_relations__same_document__add_parent_relation/test.itest +++ b/tests/integration/features/diff/20__requirements_relations__same_document__add_parent_relation/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/21__requirements_relations__same_document__remove_parent_relation/test.itest b/tests/integration/features/diff/21__requirements_relations__same_document__remove_parent_relation/test.itest index 7bd1656a8..77f1eac01 100644 --- a/tests/integration/features/diff/21__requirements_relations__same_document__remove_parent_relation/test.itest +++ b/tests/integration/features/diff/21__requirements_relations__same_document__remove_parent_relation/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/22__requirements_relations__two_docs__add_child_relation/test.itest b/tests/integration/features/diff/22__requirements_relations__two_docs__add_child_relation/test.itest index 6b54c87f9..62810d876 100644 --- a/tests/integration/features/diff/22__requirements_relations__two_docs__add_child_relation/test.itest +++ b/tests/integration/features/diff/22__requirements_relations__two_docs__add_child_relation/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + # FIXME: Migrate this test to %T. RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T diff --git a/tests/integration/features/diff/50a__sections__from_empty_doc_to_one_section/test.itest b/tests/integration/features/diff/50a__sections__from_empty_doc_to_one_section/test.itest index d00c1729b..a26a3be49 100644 --- a/tests/integration/features/diff/50a__sections__from_empty_doc_to_one_section/test.itest +++ b/tests/integration/features/diff/50a__sections__from_empty_doc_to_one_section/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --dump-input=fail --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/50b__sections__from_empty_doc_to_one_section/test.itest b/tests/integration/features/diff/50b__sections__from_empty_doc_to_one_section/test.itest index 4c258986b..1670f5a89 100644 --- a/tests/integration/features/diff/50b__sections__from_empty_doc_to_one_section/test.itest +++ b/tests/integration/features/diff/50b__sections__from_empty_doc_to_one_section/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --dump-input=fail --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/51__sections__from_one_section_to_empty_doc/test.itest b/tests/integration/features/diff/51__sections__from_one_section_to_empty_doc/test.itest index 1282ef196..15adc4fe6 100644 --- a/tests/integration/features/diff/51__sections__from_one_section_to_empty_doc/test.itest +++ b/tests/integration/features/diff/51__sections__from_one_section_to_empty_doc/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --dump-input=fail --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/52__sections__modify_free_text/test.itest b/tests/integration/features/diff/52__sections__modify_free_text/test.itest index b7f70e62d..5e6ee0250 100644 --- a/tests/integration/features/diff/52__sections__modify_free_text/test.itest +++ b/tests/integration/features/diff/52__sections__modify_free_text/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --dump-input=fail --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/53__sections__modify_free_text_unmatched/test.itest b/tests/integration/features/diff/53__sections__modify_free_text_unmatched/test.itest index 25c668ad3..598e9d22f 100644 --- a/tests/integration/features/diff/53__sections__modify_free_text_unmatched/test.itest +++ b/tests/integration/features/diff/53__sections__modify_free_text_unmatched/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + # FIXME UNSUPPORTED: true diff --git a/tests/integration/features/diff/54__sections__add_free_text/test.itest b/tests/integration/features/diff/54__sections__add_free_text/test.itest index b71ee7bd0..ae3dd23ee 100644 --- a/tests/integration/features/diff/54__sections__add_free_text/test.itest +++ b/tests/integration/features/diff/54__sections__add_free_text/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + # FIXME UNSUPPORTED: true diff --git a/tests/integration/features/diff/55__sections__change_title/test.itest b/tests/integration/features/diff/55__sections__change_title/test.itest index 3a202118b..3938584cb 100644 --- a/tests/integration/features/diff/55__sections__change_title/test.itest +++ b/tests/integration/features/diff/55__sections__change_title/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/56__sections__remove_section/test.itest b/tests/integration/features/diff/56__sections__remove_section/test.itest index da7dc8283..f2c0ddf4f 100644 --- a/tests/integration/features/diff/56__sections__remove_section/test.itest +++ b/tests/integration/features/diff/56__sections__remove_section/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/80__documents__changed_text_node/test.itest b/tests/integration/features/diff/80__documents__changed_text_node/test.itest index af7cc2adc..0c9e6795e 100644 --- a/tests/integration/features/diff/80__documents__changed_text_node/test.itest +++ b/tests/integration/features/diff/80__documents__changed_text_node/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --dump-input=fail --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/81__documents__changed_free_text_and_renamed_document/test.itest b/tests/integration/features/diff/81__documents__changed_free_text_and_renamed_document/test.itest index c9cad3588..8a2ef3531 100644 --- a/tests/integration/features/diff/81__documents__changed_free_text_and_renamed_document/test.itest +++ b/tests/integration/features/diff/81__documents__changed_free_text_and_renamed_document/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + # FIXME UNSUPPORTED: true diff --git a/tests/integration/features/diff/82__documents__add_free_text/test.itest b/tests/integration/features/diff/82__documents__add_free_text/test.itest index 279fd3a20..d91728496 100644 --- a/tests/integration/features/diff/82__documents__add_free_text/test.itest +++ b/tests/integration/features/diff/82__documents__add_free_text/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + # FIXME UNSUPPORTED: true diff --git a/tests/integration/features/diff/83__documents__add_uid/test.itest b/tests/integration/features/diff/83__documents__add_uid/test.itest index 96bb9cd88..49062ee7b 100644 --- a/tests/integration/features/diff/83__documents__add_uid/test.itest +++ b/tests/integration/features/diff/83__documents__add_uid/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/97__all_nodes__ensure_order_when_several_changes/test.itest b/tests/integration/features/diff/97__all_nodes__ensure_order_when_several_changes/test.itest index 56174fb4c..88795f7ad 100644 --- a/tests/integration/features/diff/97__all_nodes__ensure_order_when_several_changes/test.itest +++ b/tests/integration/features/diff/97__all_nodes__ensure_order_when_several_changes/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --dump-input=fail --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/_mid_match/01__mid_match__requirements__from_requirement_to_requirement_no_uid/test.itest b/tests/integration/features/diff/_mid_match/01__mid_match__requirements__from_requirement_to_requirement_no_uid/test.itest index b67312354..1c8bd5c5f 100644 --- a/tests/integration/features/diff/_mid_match/01__mid_match__requirements__from_requirement_to_requirement_no_uid/test.itest +++ b/tests/integration/features/diff/_mid_match/01__mid_match__requirements__from_requirement_to_requirement_no_uid/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/_mid_match/10__mid_match__sections__from_section_to_section_modify_title/test.itest b/tests/integration/features/diff/_mid_match/10__mid_match__sections__from_section_to_section_modify_title/test.itest index f98bb91d7..19a13c5cb 100644 --- a/tests/integration/features/diff/_mid_match/10__mid_match__sections__from_section_to_section_modify_title/test.itest +++ b/tests/integration/features/diff/_mid_match/10__mid_match__sections__from_section_to_section_modify_title/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/_mid_match/20__mid_match__document__from_document_to_document_changed_path/test.itest b/tests/integration/features/diff/_mid_match/20__mid_match__document__from_document_to_document_changed_path/test.itest index 0b872e90a..f0e1345bd 100644 --- a/tests/integration/features/diff/_mid_match/20__mid_match__document__from_document_to_document_changed_path/test.itest +++ b/tests/integration/features/diff/_mid_match/20__mid_match__document__from_document_to_document_changed_path/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/_mid_match/21__mid_match__document__from_document_to_document_changed_free_text/test.itest b/tests/integration/features/diff/_mid_match/21__mid_match__document__from_document_to_document_changed_free_text/test.itest index fa37ebcff..53b45eb71 100644 --- a/tests/integration/features/diff/_mid_match/21__mid_match__document__from_document_to_document_changed_free_text/test.itest +++ b/tests/integration/features/diff/_mid_match/21__mid_match__document__from_document_to_document_changed_free_text/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/diff/_mid_match/22__mid_match__document__from_document_to_document_changed_free_text_and_title/test.itest b/tests/integration/features/diff/_mid_match/22__mid_match__document__from_document_to_document_changed_free_text_and_title/test.itest index f7494bb14..c4b78bd4e 100644 --- a/tests/integration/features/diff/_mid_match/22__mid_match__document__from_document_to_document_changed_free_text_and_title/test.itest +++ b/tests/integration/features/diff/_mid_match/22__mid_match__document__from_document_to_document_changed_free_text_and_title/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-111, scope=file) +# + RUN: cd %S && %strictdoc diff %S/lhs %S/rhs --output-dir %T RUN: cat %T/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG diff --git a/tests/integration/features/html/hello_world/01_minimal_document/test.itest b/tests/integration/features/html/hello_world/01_minimal_document/test.itest index 5c0e692bb..24d56ba49 100644 --- a/tests/integration/features/html/hello_world/01_minimal_document/test.itest +++ b/tests/integration/features/html/hello_world/01_minimal_document/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-49, scope=file) +# + RUN: %strictdoc export %S --output-dir %T | filecheck %s --dump-input=fail CHECK: Published: Hello world doc diff --git a/tests/integration/features/html/hello_world/02_minimal_document_with_freetext/test.itest b/tests/integration/features/html/hello_world/02_minimal_document_with_freetext/test.itest index 0b019bdc2..bcefe1d27 100644 --- a/tests/integration/features/html/hello_world/02_minimal_document_with_freetext/test.itest +++ b/tests/integration/features/html/hello_world/02_minimal_document_with_freetext/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-49, scope=file) +# + RUN: %strictdoc export %S --output-dir %T | filecheck %s --dump-input=fail CHECK: Published: Hello world doc diff --git a/tests/integration/features/html/incremental_generation/01_when_document_changes_regenerate_it/test.itest b/tests/integration/features/html/incremental_generation/01_when_document_changes_regenerate_it/test.itest index 4eb42bc6b..ca8f0476f 100644 --- a/tests/integration/features/html/incremental_generation/01_when_document_changes_regenerate_it/test.itest +++ b/tests/integration/features/html/incremental_generation/01_when_document_changes_regenerate_it/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-2, scope=file) +# + RUN: %strictdoc export %S --output-dir %T --no-parallelization | filecheck %s --dump-input=fail --check-prefix=CHECK-FIRST CHECK-FIRST: Build search index CHECK-FIRST: Published: Parent doc diff --git a/tests/integration/features/html/incremental_generation/02_when_changes_regenerate_immediate_neighbours/test.itest b/tests/integration/features/html/incremental_generation/02_when_changes_regenerate_immediate_neighbours/test.itest index a5b2604b3..9e756fa32 100644 --- a/tests/integration/features/html/incremental_generation/02_when_changes_regenerate_immediate_neighbours/test.itest +++ b/tests/integration/features/html/incremental_generation/02_when_changes_regenerate_immediate_neighbours/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-2, scope=file) +# + RUN: %strictdoc export %S --output-dir %T --no-parallelization | filecheck %s --dump-input=fail --check-prefix=CHECK-FIRST CHECK-FIRST: Build search index CHECK-FIRST: Published: Child doc diff --git a/tests/integration/features/html/incremental_generation/03_when_new_child_generate_parents/test.itest b/tests/integration/features/html/incremental_generation/03_when_new_child_generate_parents/test.itest index 7693db8ca..a625025ef 100644 --- a/tests/integration/features/html/incremental_generation/03_when_new_child_generate_parents/test.itest +++ b/tests/integration/features/html/incremental_generation/03_when_new_child_generate_parents/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-2, scope=file) +# + # Create a separate input folder to ensure clear management of the SDoc files. RUN: %mkdir %S/sandbox RUN: %cp %S/parent.sdoc %S/sandbox/ diff --git a/tests/integration/features/html/incremental_generation/04_when_config_changes_generate_everything/test.itest b/tests/integration/features/html/incremental_generation/04_when_config_changes_generate_everything/test.itest index ba1729ad6..409884cac 100644 --- a/tests/integration/features/html/incremental_generation/04_when_config_changes_generate_everything/test.itest +++ b/tests/integration/features/html/incremental_generation/04_when_config_changes_generate_everything/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-2, scope=file) +# + RUN: %strictdoc export %S --no-parallelization --config %S/strictdoc.toml --output-dir %T | filecheck %s --dump-input=fail --check-prefix=CHECK-FIRST CHECK-FIRST: Published: Parent doc CHECK-FIRST: Published: Child doc diff --git a/tests/integration/features/html/incremental_generation/20_sdoc_and_source_files_backward/test.itest b/tests/integration/features/html/incremental_generation/20_sdoc_and_source_files_backward/test.itest index aad503f39..cf0fe5abc 100644 --- a/tests/integration/features/html/incremental_generation/20_sdoc_and_source_files_backward/test.itest +++ b/tests/integration/features/html/incremental_generation/20_sdoc_and_source_files_backward/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-2, scope=file) +# + # Create a separate input folder to ensure clear management of the SDoc files. RUN: %mkdir %S/sandbox RUN: %cp %S/strictdoc.toml %S/sandbox/ diff --git a/tests/integration/features/html/incremental_generation/25_sdoc_and_source_files_forward/test.itest b/tests/integration/features/html/incremental_generation/25_sdoc_and_source_files_forward/test.itest index 7b7246139..9ea832b1f 100644 --- a/tests/integration/features/html/incremental_generation/25_sdoc_and_source_files_forward/test.itest +++ b/tests/integration/features/html/incremental_generation/25_sdoc_and_source_files_forward/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-2, scope=file) +# + # Create a separate input folder to ensure clear management of the SDoc files. RUN: %mkdir %S/sandbox RUN: %cp %S/strictdoc.toml %S/sandbox/ diff --git a/tests/integration/features/html/parallelization/04_parallelization/test.itest b/tests/integration/features/html/parallelization/04_parallelization/test.itest index a487f06d5..e4419bb36 100644 --- a/tests/integration/features/html/parallelization/04_parallelization/test.itest +++ b/tests/integration/features/html/parallelization/04_parallelization/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-1, scope=file) +# + RUN: %strictdoc export %S --output-dir %T | filecheck %s --dump-input=fail CHECK: Published: CHECK: Published: diff --git a/tests/integration/features/html/parallelization/05_parallelization_no_macos_problem_regression/test.itest b/tests/integration/features/html/parallelization/05_parallelization_no_macos_problem_regression/test.itest index 87e998c5b..ba0babbd7 100644 --- a/tests/integration/features/html/parallelization/05_parallelization_no_macos_problem_regression/test.itest +++ b/tests/integration/features/html/parallelization/05_parallelization_no_macos_problem_regression/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-1, scope=file) +# + RUN: %strictdoc export %S --output-dir %T | filecheck %s --dump-input=fail CHECK-NOT: {{.*objc.*}} diff --git a/tests/integration/features/html/parallelization/06_parallelization_sdoc_parsing_problem_in_child_process/test.itest b/tests/integration/features/html/parallelization/06_parallelization_sdoc_parsing_problem_in_child_process/test.itest index 4ee39ccca..201bbaeb5 100644 --- a/tests/integration/features/html/parallelization/06_parallelization_sdoc_parsing_problem_in_child_process/test.itest +++ b/tests/integration/features/html/parallelization/06_parallelization_sdoc_parsing_problem_in_child_process/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-1, scope=file) +# + RUN: %expect_exit 1 %strictdoc export %S --output-dir %T | filecheck %s --dump-input=fail CHECK: error: Could not parse file: {{.*}}input1.sdoc:1:1: Expected '[DOCUMENT]' => '*THIS DOCUM' diff --git a/tests/integration/features/html/precompiled_jinja_templates/01_basic/test.itest b/tests/integration/features/html/precompiled_jinja_templates/01_basic/test.itest index 4639f7852..177b22f6c 100644 --- a/tests/integration/features/html/precompiled_jinja_templates/01_basic/test.itest +++ b/tests/integration/features/html/precompiled_jinja_templates/01_basic/test.itest @@ -1,6 +1,10 @@ +# # NOTE: Precompilation of Jinja templates is enabled when a document tree is # large enough. This test SDoc file contains 10+ requirements to become a large # enough tree. +# +# @relation(SDOC-SRS-5, scope=file) +# RUN: %strictdoc export %S --output-dir %T | filecheck %s --dump-input=fail CHECK: Compile Jinja templates {{.*}}s diff --git a/tests/integration/features/traceability_matrix/01_links_to_files/strictdoc.toml b/tests/integration/features/traceability_matrix/01_links_to_files/strictdoc.toml deleted file mode 100644 index 7f517fe19..000000000 --- a/tests/integration/features/traceability_matrix/01_links_to_files/strictdoc.toml +++ /dev/null @@ -1,6 +0,0 @@ -[project] - -features = [ - "REQUIREMENT_TO_SOURCE_TRACEABILITY", - "TRACEABILITY_MATRIX_SCREEN", -] diff --git a/tests/integration/features/traceability_matrix/01_links_to_files/strictdoc_config.py b/tests/integration/features/traceability_matrix/01_links_to_files/strictdoc_config.py new file mode 100644 index 000000000..e91a6ee65 --- /dev/null +++ b/tests/integration/features/traceability_matrix/01_links_to_files/strictdoc_config.py @@ -0,0 +1,14 @@ +from strictdoc.core.project_config import ProjectConfig + + +def create_config() -> ProjectConfig: + config = ProjectConfig( + project_features=[ + "TRACEABILITY_MATRIX_SCREEN", + "REQUIREMENT_TO_SOURCE_TRACEABILITY", + ], + exclude_source_paths=[ + "**.itest", + ], + ) + return config diff --git a/tests/integration/features/traceability_matrix/01_links_to_files/test.itest b/tests/integration/features/traceability_matrix/01_links_to_files/test.itest index 41f322186..4bd7aca64 100644 --- a/tests/integration/features/traceability_matrix/01_links_to_files/test.itest +++ b/tests/integration/features/traceability_matrix/01_links_to_files/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-112, scope=file) +# + RUN: %strictdoc export %S --output-dir %T | filecheck %s --dump-input=fail CHECK: Published: Hello world doc diff --git a/tests/integration/features/traceability_matrix/10__columns__relations_with_roles/input/strictdoc.toml b/tests/integration/features/traceability_matrix/10__columns__relations_with_roles/input/strictdoc.toml deleted file mode 100644 index 0a58b6601..000000000 --- a/tests/integration/features/traceability_matrix/10__columns__relations_with_roles/input/strictdoc.toml +++ /dev/null @@ -1,5 +0,0 @@ -[project] - -features = [ - "TRACEABILITY_MATRIX_SCREEN", -] diff --git a/tests/integration/features/traceability_matrix/10__columns__relations_with_roles/input/strictdoc_config.py b/tests/integration/features/traceability_matrix/10__columns__relations_with_roles/input/strictdoc_config.py new file mode 100644 index 000000000..618c54e1a --- /dev/null +++ b/tests/integration/features/traceability_matrix/10__columns__relations_with_roles/input/strictdoc_config.py @@ -0,0 +1,13 @@ +from strictdoc.core.project_config import ProjectConfig + + +def create_config() -> ProjectConfig: + config = ProjectConfig( + project_features=[ + "TRACEABILITY_MATRIX_SCREEN", + ], + exclude_source_paths=[ + "**.itest", + ], + ) + return config diff --git a/tests/integration/features/traceability_matrix/10__columns__relations_with_roles/test.itest b/tests/integration/features/traceability_matrix/10__columns__relations_with_roles/test.itest index 3a4417c58..b4d6fb24b 100644 --- a/tests/integration/features/traceability_matrix/10__columns__relations_with_roles/test.itest +++ b/tests/integration/features/traceability_matrix/10__columns__relations_with_roles/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-112, scope=file) +# + RUN: %strictdoc export %S/input --output-dir %T | filecheck %s CHECK: Published: Hello world doc #1 diff --git a/tests/integration/features/traceability_matrix/20__columns__file_relations/input/strictdoc.toml b/tests/integration/features/traceability_matrix/20__columns__file_relations/input/strictdoc.toml deleted file mode 100644 index af8f98281..000000000 --- a/tests/integration/features/traceability_matrix/20__columns__file_relations/input/strictdoc.toml +++ /dev/null @@ -1,8 +0,0 @@ -[project] - -features = [ - "TRACEABILITY_MATRIX_SCREEN", - "REQUIREMENT_TO_SOURCE_TRACEABILITY", -] - -source_root_path = ".." diff --git a/tests/integration/features/traceability_matrix/20__columns__file_relations/input/strictdoc_config.py b/tests/integration/features/traceability_matrix/20__columns__file_relations/input/strictdoc_config.py new file mode 100644 index 000000000..4cf5f9375 --- /dev/null +++ b/tests/integration/features/traceability_matrix/20__columns__file_relations/input/strictdoc_config.py @@ -0,0 +1,18 @@ +import os.path + +from strictdoc.core.project_config import ProjectConfig + +parent_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), "..")) + +def create_config() -> ProjectConfig: + config = ProjectConfig( + project_features=[ + "REQUIREMENT_TO_SOURCE_TRACEABILITY", + "TRACEABILITY_MATRIX_SCREEN", + ], + exclude_source_paths=[ + "**.itest", + ], + source_root_path=parent_dir, + ) + return config diff --git a/tests/integration/features/traceability_matrix/20__columns__file_relations/test.itest b/tests/integration/features/traceability_matrix/20__columns__file_relations/test.itest index d5f7a4920..d47d9ac11 100644 --- a/tests/integration/features/traceability_matrix/20__columns__file_relations/test.itest +++ b/tests/integration/features/traceability_matrix/20__columns__file_relations/test.itest @@ -1,4 +1,8 @@ -RUN: %strictdoc export %S/input --output-dir %T | filecheck %s --dump-input=fail +# +# @relation(SDOC-SRS-112, scope=file) +# + +RUN: %strictdoc --debug export %S/input --output-dir %T | filecheck %s --dump-input=fail CHECK: Published: Hello world doc RUN: %check_exists --file "%T/html/traceability_matrix.html" diff --git a/tests/integration/features/traceability_matrix/50__config__sorting_relation_columns/input/strictdoc_config.py b/tests/integration/features/traceability_matrix/50__config__sorting_relation_columns/input/strictdoc_config.py new file mode 100644 index 000000000..618c54e1a --- /dev/null +++ b/tests/integration/features/traceability_matrix/50__config__sorting_relation_columns/input/strictdoc_config.py @@ -0,0 +1,13 @@ +from strictdoc.core.project_config import ProjectConfig + + +def create_config() -> ProjectConfig: + config = ProjectConfig( + project_features=[ + "TRACEABILITY_MATRIX_SCREEN", + ], + exclude_source_paths=[ + "**.itest", + ], + ) + return config diff --git a/tests/integration/features/traceability_matrix/50__config__sorting_relation_columns/test.itest b/tests/integration/features/traceability_matrix/50__config__sorting_relation_columns/test.itest index 25ae0c977..e81bb2b82 100644 --- a/tests/integration/features/traceability_matrix/50__config__sorting_relation_columns/test.itest +++ b/tests/integration/features/traceability_matrix/50__config__sorting_relation_columns/test.itest @@ -1,3 +1,7 @@ +# +# @relation(SDOC-SRS-112, scope=file) +# + RUN: %strictdoc export %S/input --output-dir %T | filecheck %s CHECK: Published: Hello world doc diff --git a/tests/unit_server/strictdoc/server/05_http_304_non_modified_for_documents_and_assets/test_case.py b/tests/unit_server/strictdoc/server/05_http_304_non_modified_for_documents_and_assets/test_case.py index 617ad6d1a..c1a5273b3 100644 --- a/tests/unit_server/strictdoc/server/05_http_304_non_modified_for_documents_and_assets/test_case.py +++ b/tests/unit_server/strictdoc/server/05_http_304_non_modified_for_documents_and_assets/test_case.py @@ -1,3 +1,7 @@ +""" +@relation(SDOC-SRS-4, scope=file) +""" + import os import pytest