├── .github └── workflows │ ├── release.yml │ └── tests.yml ├── .gitignore ├── .pre-commit-config.yaml ├── DEVELOPMENT.md ├── LICENSE ├── README.md ├── RELEASE.md ├── docs ├── changelog.md ├── features │ ├── general.md │ ├── layer_architecture_checks.md │ ├── module_import_checks.md │ ├── plantuml.md │ └── visualization.md ├── index.md ├── references │ ├── diagram_extension.md │ ├── eval_structure.md │ ├── eval_structure_generation.md │ ├── general.md │ ├── query_language.md │ └── rule_assessment.md └── resources │ ├── docu_complex_example.png │ └── docu_simple_example.png ├── mkdocs.yml ├── noxfile.py ├── overrides └── main.html ├── poetry.lock ├── pyproject.toml ├── src └── pytestarch │ ├── __init__.py │ ├── diagram_extension │ ├── __init__.py │ ├── dependency_to_rule_converter.py │ ├── diagram_parser.py │ ├── diagram_rule.py │ ├── exceptions.py │ └── parsed_dependencies.py │ ├── eval_structure │ ├── __init__.py │ ├── breadth_first_searches.py │ ├── evaluable_architecture.py │ ├── evaluable_graph.py │ ├── evaluable_structures.py │ ├── exceptions.py │ ├── module_name_converter.py │ ├── networkxgraph.py │ ├── types.py │ └── utils.py │ ├── eval_structure_generation │ ├── __init__.py │ ├── file_import │ │ ├── __init__.py │ │ ├── config.py │ │ ├── converter.py │ │ ├── exceptions.py │ │ ├── file_filter.py │ │ ├── import_filter.py │ │ ├── import_types.py │ │ ├── importee_module_calculator.py │ │ └── parser.py │ └── graph_generation │ │ ├── __init__.py │ │ └── graph_generator.py │ ├── py.typed │ ├── pytestarch.py │ ├── query_language │ ├── LANGUAGE_DEFINTION.md │ ├── __init__.py │ ├── base_language.py │ ├── exceptions.py │ ├── layered_architecture_rule.py │ ├── multiple_rule_applier.py │ └── rule.py │ ├── rule_assessment │ ├── __init__.py │ ├── error_message │ │ ├── __init__.py │ │ └── message_generator.py │ ├── exceptions.py │ └── rule_check │ │ ├── __init__.py │ │ ├── behavior_requirement.py │ │ ├── layer_rule_violation_detector.py │ │ ├── module_requirement.py │ │ ├── rule_matcher.py │ │ ├── rule_violation_detector.py │ │ └── rule_violations.py │ └── utils │ ├── __init__.py │ ├── decorators.py │ └── partial_match_to_regex_converter.py └── tests ├── conftest.py ├── diagram_extension ├── __init__.py ├── test_dependency_to_rule_converter.py ├── test_diagram_parser.py └── test_diagram_rule.py ├── eval_structure ├── __init__.py ├── evaluable_graph │ ├── __init__.py │ ├── conftest.py │ ├── test_aliases.py │ ├── test_any_dependencies_to_other_modules.py │ ├── test_dependencies_between_modules.py │ ├── test_other_dependencies_towards_modules.py │ └── test_partial_module_matches.py ├── test_breadth_first_searches.py └── test_module_name_converter.py ├── eval_structure_generation ├── __init__.py ├── test_converter.py ├── test_external_exclusions.py ├── test_file_filter.py ├── test_graph_initialisation.py ├── test_graph_reduction.py ├── test_import.py ├── test_import_filter.py ├── test_module_graph.py └── test_parser.py ├── integration ├── __init__.py ├── interesting_rules_for_tests.py ├── test_integration.py └── test_level_limits.py ├── query_language ├── __init__.py ├── layered_architecture_rule │ ├── __init__.py │ ├── test_integration.py │ ├── test_layered_architecture.py │ ├── test_layered_architecture_rule.py │ └── test_rule_conversion.py ├── rule │ ├── __init__.py │ ├── conftest.py │ ├── test_alias_conversion.py │ ├── test_regex.py │ ├── test_rule.py │ ├── test_should_not_rule.py │ ├── test_should_only_rule.py │ ├── test_should_rule.py │ └── test_wildcard_validation.py └── test_multiple_rule_applier.py ├── resources ├── __init__.py ├── flat_test_project_1 │ ├── __init__.py │ ├── exporter │ │ ├── __init__.py │ │ ├── exporter_importee.py │ │ └── exporter_importer.py │ ├── importer │ │ ├── __init__.py │ │ ├── importer_importee.py │ │ └── importer_importer.py │ ├── logging_util │ │ ├── __init__.py │ │ ├── logging_util_importee.py │ │ └── logging_util_importer.py │ ├── model │ │ ├── __init__.py │ │ ├── model_importee.py │ │ └── model_importer.py │ ├── orchestration │ │ ├── __init__.py │ │ ├── orchestration_importee.py │ │ └── orchestration_importer.py │ ├── persistence │ │ ├── __init__.py │ │ ├── persistence_importee.py │ │ └── persistence_importer.py │ ├── runtime │ │ ├── __init__.py │ │ ├── runtime_importee.py │ │ └── runtime_importer.py │ ├── services │ │ ├── __init__.py │ │ ├── services_importee.py │ │ └── services_importer.py │ ├── simulation │ │ ├── __init__.py │ │ ├── simulation_importee.py │ │ └── simulation_importer.py │ └── util │ │ ├── __init__.py │ │ ├── util_importee.py │ │ └── util_importer.py ├── flat_test_project_2 │ ├── __init__.py │ ├── exporter │ │ ├── __init__.py │ │ ├── exporter_importee.py │ │ └── exporter_importer.py │ ├── importer │ │ ├── __init__.py │ │ ├── importer_importee.py │ │ └── importer_importer.py │ ├── logging_util │ │ ├── __init__.py │ │ ├── logging_util_importee.py │ │ └── logging_util_importer.py │ ├── model │ │ ├── __init__.py │ │ ├── model_importee.py │ │ └── model_importer.py │ ├── orchestration │ │ ├── __init__.py │ │ ├── orchestration_importee.py │ │ └── orchestration_importer.py │ ├── persistence │ │ ├── __init__.py │ │ ├── persistence_importee.py │ │ └── persistence_importer.py │ ├── runtime │ │ ├── __init__.py │ │ ├── runtime_importee.py │ │ └── runtime_importer.py │ ├── services │ │ ├── __init__.py │ │ ├── services_importee.py │ │ └── services_importer.py │ ├── simulation │ │ ├── __init__.py │ │ ├── simulation_importee.py │ │ └── simulation_importer.py │ └── util │ │ ├── __init__.py │ │ ├── util_importee.py │ │ └── util_importer.py ├── importer │ ├── __init__.py │ ├── file.py │ ├── level0 │ │ ├── DummyTest.py │ │ ├── __init__.py │ │ ├── level1 │ │ │ ├── __init__.py │ │ │ └── level2 │ │ │ │ ├── __init__.py │ │ │ │ └── level3 │ │ │ │ ├── __init__.py │ │ │ │ └── level4 │ │ │ │ ├── __init__.py │ │ │ │ └── level5 │ │ │ │ ├── __init__.py │ │ │ │ └── module_level_5.py │ │ ├── test_dummy.py │ │ ├── test_dummy_2.py │ │ └── test_dummy_3.py │ └── sub_dir │ │ └── __init__.py ├── nested_root_module_mismatch_project │ ├── __init__.py │ └── dir1 │ │ ├── __init__.py │ │ └── dir2 │ │ ├── __init__.py │ │ └── nested_app │ │ ├── __init__.py │ │ ├── green │ │ ├── __init__.py │ │ └── green.py │ │ └── red │ │ ├── __init__.py │ │ ├── red.py │ │ ├── red2.py │ │ └── red3.py ├── project_with_nested_external_dependencies │ ├── __init__.py │ ├── file.py │ ├── level0 │ │ ├── DummyTest.py │ │ ├── __init__.py │ │ ├── level1 │ │ │ ├── __init__.py │ │ │ └── level2 │ │ │ │ ├── __init__.py │ │ │ │ └── level3 │ │ │ │ ├── __init__.py │ │ │ │ └── level4 │ │ │ │ ├── __init__.py │ │ │ │ └── level5 │ │ │ │ ├── __init__.py │ │ │ │ └── module_level_5.py │ │ ├── test_dummy.py │ │ ├── test_dummy_2.py │ │ └── test_dummy_3.py │ └── sub_dir │ │ └── __init__.py ├── pumls │ ├── all_component_declaration_types.puml │ ├── all_dependency_declaration_types.puml │ ├── colored_component.puml │ ├── multiple_component_example.puml │ ├── multiple_component_example_with_brackets.puml │ ├── no_start_tag.puml │ ├── note.puml │ ├── packages.puml │ ├── simple_example.puml │ └── very_simple_example.puml ├── regex_project │ ├── __init__.py │ └── _tests │ │ ├── __init__.py │ │ ├── architecture │ │ ├── __init__.py │ │ ├── importee_file_dummy.py │ │ ├── importer_file_dummy.py │ │ ├── other_file.py │ │ └── other_file_dummy.py │ │ └── other_file.py ├── root_module_mismatch_project │ ├── __init__.py │ └── app │ │ ├── __init__.py │ │ ├── green │ │ ├── __init__.py │ │ └── green.py │ │ └── red │ │ ├── __init__.py │ │ ├── red.py │ │ ├── red2.py │ │ └── red3.py └── test_project │ ├── __init__.py │ └── src │ ├── __init__.py │ ├── moduleA │ ├── __init__.py │ ├── fileA.py │ ├── submoduleA1 │ │ ├── __init__.py │ │ ├── fileA1.py │ │ ├── fileA1_b.py │ │ └── submoduleA11 │ │ │ ├── __init__.py │ │ │ └── fileA11.py │ └── submoduleA2 │ │ ├── __init__.py │ │ └── fileA2.py │ ├── moduleB │ ├── __init__.py │ ├── fileB.py │ └── submoduleB1 │ │ ├── __init__.py │ │ ├── fileB1.py │ │ ├── fileB2.py │ │ ├── fileB3.py │ │ └── submoduleB11 │ │ ├── __init__.py │ │ └── fileB11.py │ └── moduleC │ ├── __init__.py │ ├── cTest.py │ └── fileC.py ├── rule_assessment ├── __init__.py ├── test_RuleViolationMessageGenerator.py ├── test_layer_rule_violation_detector.py ├── test_rule_matcher.py └── test_rule_violation_detector.py ├── test_architecture.py ├── util.py └── utils ├── __init__.py └── test_partial_match_to_regex_converter.py /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /DEVELOPMENT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/DEVELOPMENT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/README.md -------------------------------------------------------------------------------- /RELEASE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/RELEASE.md -------------------------------------------------------------------------------- /docs/changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/docs/changelog.md -------------------------------------------------------------------------------- /docs/features/general.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/docs/features/general.md -------------------------------------------------------------------------------- /docs/features/layer_architecture_checks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/docs/features/layer_architecture_checks.md -------------------------------------------------------------------------------- /docs/features/module_import_checks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/docs/features/module_import_checks.md -------------------------------------------------------------------------------- /docs/features/plantuml.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/docs/features/plantuml.md -------------------------------------------------------------------------------- /docs/features/visualization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/docs/features/visualization.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/references/diagram_extension.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/docs/references/diagram_extension.md -------------------------------------------------------------------------------- /docs/references/eval_structure.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/docs/references/eval_structure.md -------------------------------------------------------------------------------- /docs/references/eval_structure_generation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/docs/references/eval_structure_generation.md -------------------------------------------------------------------------------- /docs/references/general.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/docs/references/general.md -------------------------------------------------------------------------------- /docs/references/query_language.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/docs/references/query_language.md -------------------------------------------------------------------------------- /docs/references/rule_assessment.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/docs/references/rule_assessment.md -------------------------------------------------------------------------------- /docs/resources/docu_complex_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/docs/resources/docu_complex_example.png -------------------------------------------------------------------------------- /docs/resources/docu_simple_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/docs/resources/docu_simple_example.png -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /noxfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/noxfile.py -------------------------------------------------------------------------------- /overrides/main.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/overrides/main.html -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/pytestarch/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/__init__.py -------------------------------------------------------------------------------- /src/pytestarch/diagram_extension/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pytestarch/diagram_extension/dependency_to_rule_converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/diagram_extension/dependency_to_rule_converter.py -------------------------------------------------------------------------------- /src/pytestarch/diagram_extension/diagram_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/diagram_extension/diagram_parser.py -------------------------------------------------------------------------------- /src/pytestarch/diagram_extension/diagram_rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/diagram_extension/diagram_rule.py -------------------------------------------------------------------------------- /src/pytestarch/diagram_extension/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/diagram_extension/exceptions.py -------------------------------------------------------------------------------- /src/pytestarch/diagram_extension/parsed_dependencies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/diagram_extension/parsed_dependencies.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pytestarch/eval_structure/breadth_first_searches.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure/breadth_first_searches.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure/evaluable_architecture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure/evaluable_architecture.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure/evaluable_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure/evaluable_graph.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure/evaluable_structures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure/evaluable_structures.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure/exceptions.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure/module_name_converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure/module_name_converter.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure/networkxgraph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure/networkxgraph.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure/types.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure/utils.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure_generation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure_generation/__init__.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure_generation/file_import/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pytestarch/eval_structure_generation/file_import/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure_generation/file_import/config.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure_generation/file_import/converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure_generation/file_import/converter.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure_generation/file_import/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure_generation/file_import/exceptions.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure_generation/file_import/file_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure_generation/file_import/file_filter.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure_generation/file_import/import_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure_generation/file_import/import_filter.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure_generation/file_import/import_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure_generation/file_import/import_types.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure_generation/file_import/importee_module_calculator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure_generation/file_import/importee_module_calculator.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure_generation/file_import/parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure_generation/file_import/parser.py -------------------------------------------------------------------------------- /src/pytestarch/eval_structure_generation/graph_generation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pytestarch/eval_structure_generation/graph_generation/graph_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/eval_structure_generation/graph_generation/graph_generator.py -------------------------------------------------------------------------------- /src/pytestarch/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pytestarch/pytestarch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/pytestarch.py -------------------------------------------------------------------------------- /src/pytestarch/query_language/LANGUAGE_DEFINTION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/query_language/LANGUAGE_DEFINTION.md -------------------------------------------------------------------------------- /src/pytestarch/query_language/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pytestarch/query_language/base_language.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/query_language/base_language.py -------------------------------------------------------------------------------- /src/pytestarch/query_language/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/query_language/exceptions.py -------------------------------------------------------------------------------- /src/pytestarch/query_language/layered_architecture_rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/query_language/layered_architecture_rule.py -------------------------------------------------------------------------------- /src/pytestarch/query_language/multiple_rule_applier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/query_language/multiple_rule_applier.py -------------------------------------------------------------------------------- /src/pytestarch/query_language/rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/query_language/rule.py -------------------------------------------------------------------------------- /src/pytestarch/rule_assessment/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pytestarch/rule_assessment/error_message/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pytestarch/rule_assessment/error_message/message_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/rule_assessment/error_message/message_generator.py -------------------------------------------------------------------------------- /src/pytestarch/rule_assessment/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/rule_assessment/exceptions.py -------------------------------------------------------------------------------- /src/pytestarch/rule_assessment/rule_check/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pytestarch/rule_assessment/rule_check/behavior_requirement.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/rule_assessment/rule_check/behavior_requirement.py -------------------------------------------------------------------------------- /src/pytestarch/rule_assessment/rule_check/layer_rule_violation_detector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/rule_assessment/rule_check/layer_rule_violation_detector.py -------------------------------------------------------------------------------- /src/pytestarch/rule_assessment/rule_check/module_requirement.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/rule_assessment/rule_check/module_requirement.py -------------------------------------------------------------------------------- /src/pytestarch/rule_assessment/rule_check/rule_matcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/rule_assessment/rule_check/rule_matcher.py -------------------------------------------------------------------------------- /src/pytestarch/rule_assessment/rule_check/rule_violation_detector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/rule_assessment/rule_check/rule_violation_detector.py -------------------------------------------------------------------------------- /src/pytestarch/rule_assessment/rule_check/rule_violations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/rule_assessment/rule_check/rule_violations.py -------------------------------------------------------------------------------- /src/pytestarch/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pytestarch/utils/decorators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/utils/decorators.py -------------------------------------------------------------------------------- /src/pytestarch/utils/partial_match_to_regex_converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/src/pytestarch/utils/partial_match_to_regex_converter.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/diagram_extension/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/diagram_extension/test_dependency_to_rule_converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/diagram_extension/test_dependency_to_rule_converter.py -------------------------------------------------------------------------------- /tests/diagram_extension/test_diagram_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/diagram_extension/test_diagram_parser.py -------------------------------------------------------------------------------- /tests/diagram_extension/test_diagram_rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/diagram_extension/test_diagram_rule.py -------------------------------------------------------------------------------- /tests/eval_structure/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/eval_structure/evaluable_graph/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/eval_structure/evaluable_graph/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/eval_structure/evaluable_graph/conftest.py -------------------------------------------------------------------------------- /tests/eval_structure/evaluable_graph/test_aliases.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/eval_structure/evaluable_graph/test_aliases.py -------------------------------------------------------------------------------- /tests/eval_structure/evaluable_graph/test_any_dependencies_to_other_modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/eval_structure/evaluable_graph/test_any_dependencies_to_other_modules.py -------------------------------------------------------------------------------- /tests/eval_structure/evaluable_graph/test_dependencies_between_modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/eval_structure/evaluable_graph/test_dependencies_between_modules.py -------------------------------------------------------------------------------- /tests/eval_structure/evaluable_graph/test_other_dependencies_towards_modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/eval_structure/evaluable_graph/test_other_dependencies_towards_modules.py -------------------------------------------------------------------------------- /tests/eval_structure/evaluable_graph/test_partial_module_matches.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/eval_structure/evaluable_graph/test_partial_module_matches.py -------------------------------------------------------------------------------- /tests/eval_structure/test_breadth_first_searches.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/eval_structure/test_breadth_first_searches.py -------------------------------------------------------------------------------- /tests/eval_structure/test_module_name_converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/eval_structure/test_module_name_converter.py -------------------------------------------------------------------------------- /tests/eval_structure_generation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/eval_structure_generation/test_converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/eval_structure_generation/test_converter.py -------------------------------------------------------------------------------- /tests/eval_structure_generation/test_external_exclusions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/eval_structure_generation/test_external_exclusions.py -------------------------------------------------------------------------------- /tests/eval_structure_generation/test_file_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/eval_structure_generation/test_file_filter.py -------------------------------------------------------------------------------- /tests/eval_structure_generation/test_graph_initialisation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/eval_structure_generation/test_graph_initialisation.py -------------------------------------------------------------------------------- /tests/eval_structure_generation/test_graph_reduction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/eval_structure_generation/test_graph_reduction.py -------------------------------------------------------------------------------- /tests/eval_structure_generation/test_import.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/eval_structure_generation/test_import.py -------------------------------------------------------------------------------- /tests/eval_structure_generation/test_import_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/eval_structure_generation/test_import_filter.py -------------------------------------------------------------------------------- /tests/eval_structure_generation/test_module_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/eval_structure_generation/test_module_graph.py -------------------------------------------------------------------------------- /tests/eval_structure_generation/test_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/eval_structure_generation/test_parser.py -------------------------------------------------------------------------------- /tests/integration/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/interesting_rules_for_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/integration/interesting_rules_for_tests.py -------------------------------------------------------------------------------- /tests/integration/test_integration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/integration/test_integration.py -------------------------------------------------------------------------------- /tests/integration/test_level_limits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/integration/test_level_limits.py -------------------------------------------------------------------------------- /tests/query_language/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/query_language/layered_architecture_rule/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/query_language/layered_architecture_rule/test_integration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/query_language/layered_architecture_rule/test_integration.py -------------------------------------------------------------------------------- /tests/query_language/layered_architecture_rule/test_layered_architecture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/query_language/layered_architecture_rule/test_layered_architecture.py -------------------------------------------------------------------------------- /tests/query_language/layered_architecture_rule/test_layered_architecture_rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/query_language/layered_architecture_rule/test_layered_architecture_rule.py -------------------------------------------------------------------------------- /tests/query_language/layered_architecture_rule/test_rule_conversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/query_language/layered_architecture_rule/test_rule_conversion.py -------------------------------------------------------------------------------- /tests/query_language/rule/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/query_language/rule/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/query_language/rule/conftest.py -------------------------------------------------------------------------------- /tests/query_language/rule/test_alias_conversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/query_language/rule/test_alias_conversion.py -------------------------------------------------------------------------------- /tests/query_language/rule/test_regex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/query_language/rule/test_regex.py -------------------------------------------------------------------------------- /tests/query_language/rule/test_rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/query_language/rule/test_rule.py -------------------------------------------------------------------------------- /tests/query_language/rule/test_should_not_rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/query_language/rule/test_should_not_rule.py -------------------------------------------------------------------------------- /tests/query_language/rule/test_should_only_rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/query_language/rule/test_should_only_rule.py -------------------------------------------------------------------------------- /tests/query_language/rule/test_should_rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/query_language/rule/test_should_rule.py -------------------------------------------------------------------------------- /tests/query_language/rule/test_wildcard_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/query_language/rule/test_wildcard_validation.py -------------------------------------------------------------------------------- /tests/query_language/test_multiple_rule_applier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/query_language/test_multiple_rule_applier.py -------------------------------------------------------------------------------- /tests/resources/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/exporter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/exporter/exporter_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def e(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/exporter/exporter_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/flat_test_project_1/exporter/exporter_importer.py -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/importer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/importer/importer_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def i(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/importer/importer_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/flat_test_project_1/importer/importer_importer.py -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/logging_util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/logging_util/logging_util_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def l(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/logging_util/logging_util_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/flat_test_project_1/logging_util/logging_util_importer.py -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/model/model_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def m(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/model/model_importer.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/orchestration/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/orchestration/orchestration_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def o(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/orchestration/orchestration_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/flat_test_project_1/orchestration/orchestration_importer.py -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/persistence/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/persistence/persistence_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def p(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/persistence/persistence_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/flat_test_project_1/persistence/persistence_importer.py -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/runtime/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/runtime/runtime_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def r(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/runtime/runtime_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/flat_test_project_1/runtime/runtime_importer.py -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/services/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/services/services_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def s(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/services/services_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/flat_test_project_1/services/services_importer.py -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/simulation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/simulation/simulation_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def s(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/simulation/simulation_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/flat_test_project_1/simulation/simulation_importer.py -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/util/util_importee.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_1/util/util_importer.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def u(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/exporter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/exporter/exporter_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def e(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/exporter/exporter_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/flat_test_project_2/exporter/exporter_importer.py -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/importer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/importer/importer_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def i(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/importer/importer_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/flat_test_project_2/importer/importer_importer.py -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/logging_util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/logging_util/logging_util_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def l(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/logging_util/logging_util_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/flat_test_project_2/logging_util/logging_util_importer.py -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/model/model_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def m(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/model/model_importer.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/orchestration/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/orchestration/orchestration_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def o(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/orchestration/orchestration_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/flat_test_project_2/orchestration/orchestration_importer.py -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/persistence/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/persistence/persistence_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def p(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/persistence/persistence_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/flat_test_project_2/persistence/persistence_importer.py -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/runtime/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/runtime/runtime_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def r(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/runtime/runtime_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/flat_test_project_2/runtime/runtime_importer.py -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/services/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/services/services_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def s(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/services/services_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/flat_test_project_2/services/services_importer.py -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/simulation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/simulation/simulation_importee.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def s(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/simulation/simulation_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/flat_test_project_2/simulation/simulation_importer.py -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/util/util_importee.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/flat_test_project_2/util/util_importer.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def u(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/importer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/importer/file.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/importer/level0/DummyTest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/importer/level0/DummyTest.py -------------------------------------------------------------------------------- /tests/resources/importer/level0/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/importer/level0/level1/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/importer/level0/level1/level2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/importer/level0/level1/level2/level3/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/importer/level0/level1/level2/level3/level4/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/importer/level0/level1/level2/level3/level4/level5/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/importer/level0/level1/level2/level3/level4/level5/module_level_5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/importer/level0/level1/level2/level3/level4/level5/module_level_5.py -------------------------------------------------------------------------------- /tests/resources/importer/level0/test_dummy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/importer/level0/test_dummy.py -------------------------------------------------------------------------------- /tests/resources/importer/level0/test_dummy_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/importer/level0/test_dummy_2.py -------------------------------------------------------------------------------- /tests/resources/importer/level0/test_dummy_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/importer/level0/test_dummy_3.py -------------------------------------------------------------------------------- /tests/resources/importer/sub_dir/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/nested_root_module_mismatch_project/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/nested_root_module_mismatch_project/dir1/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/nested_root_module_mismatch_project/dir1/dir2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/nested_root_module_mismatch_project/dir1/dir2/nested_app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/nested_root_module_mismatch_project/dir1/dir2/nested_app/green/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/nested_root_module_mismatch_project/dir1/dir2/nested_app/green/green.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/nested_root_module_mismatch_project/dir1/dir2/nested_app/green/green.py -------------------------------------------------------------------------------- /tests/resources/nested_root_module_mismatch_project/dir1/dir2/nested_app/red/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/nested_root_module_mismatch_project/dir1/dir2/nested_app/red/red.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/nested_root_module_mismatch_project/dir1/dir2/nested_app/red/red.py -------------------------------------------------------------------------------- /tests/resources/nested_root_module_mismatch_project/dir1/dir2/nested_app/red/red2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/nested_root_module_mismatch_project/dir1/dir2/nested_app/red/red2.py -------------------------------------------------------------------------------- /tests/resources/nested_root_module_mismatch_project/dir1/dir2/nested_app/red/red3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/nested_root_module_mismatch_project/dir1/dir2/nested_app/red/red3.py -------------------------------------------------------------------------------- /tests/resources/project_with_nested_external_dependencies/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/project_with_nested_external_dependencies/file.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/project_with_nested_external_dependencies/level0/DummyTest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/project_with_nested_external_dependencies/level0/DummyTest.py -------------------------------------------------------------------------------- /tests/resources/project_with_nested_external_dependencies/level0/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/project_with_nested_external_dependencies/level0/level1/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/project_with_nested_external_dependencies/level0/level1/level2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/project_with_nested_external_dependencies/level0/level1/level2/level3/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/project_with_nested_external_dependencies/level0/level1/level2/level3/level4/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/project_with_nested_external_dependencies/level0/level1/level2/level3/level4/level5/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/project_with_nested_external_dependencies/level0/level1/level2/level3/level4/level5/module_level_5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/project_with_nested_external_dependencies/level0/level1/level2/level3/level4/level5/module_level_5.py -------------------------------------------------------------------------------- /tests/resources/project_with_nested_external_dependencies/level0/test_dummy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/project_with_nested_external_dependencies/level0/test_dummy.py -------------------------------------------------------------------------------- /tests/resources/project_with_nested_external_dependencies/level0/test_dummy_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/project_with_nested_external_dependencies/level0/test_dummy_2.py -------------------------------------------------------------------------------- /tests/resources/project_with_nested_external_dependencies/level0/test_dummy_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/project_with_nested_external_dependencies/level0/test_dummy_3.py -------------------------------------------------------------------------------- /tests/resources/project_with_nested_external_dependencies/sub_dir/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/pumls/all_component_declaration_types.puml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/pumls/all_component_declaration_types.puml -------------------------------------------------------------------------------- /tests/resources/pumls/all_dependency_declaration_types.puml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/pumls/all_dependency_declaration_types.puml -------------------------------------------------------------------------------- /tests/resources/pumls/colored_component.puml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/pumls/colored_component.puml -------------------------------------------------------------------------------- /tests/resources/pumls/multiple_component_example.puml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/pumls/multiple_component_example.puml -------------------------------------------------------------------------------- /tests/resources/pumls/multiple_component_example_with_brackets.puml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/pumls/multiple_component_example_with_brackets.puml -------------------------------------------------------------------------------- /tests/resources/pumls/no_start_tag.puml: -------------------------------------------------------------------------------- 1 | [M_A] --> [M_B] 2 | 3 | @enduml 4 | 5 | -------------------------------------------------------------------------------- /tests/resources/pumls/note.puml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/pumls/note.puml -------------------------------------------------------------------------------- /tests/resources/pumls/packages.puml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/pumls/packages.puml -------------------------------------------------------------------------------- /tests/resources/pumls/simple_example.puml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/pumls/simple_example.puml -------------------------------------------------------------------------------- /tests/resources/pumls/very_simple_example.puml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/pumls/very_simple_example.puml -------------------------------------------------------------------------------- /tests/resources/regex_project/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/regex_project/_tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/regex_project/_tests/architecture/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/regex_project/_tests/architecture/importee_file_dummy.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def x(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/regex_project/_tests/architecture/importer_file_dummy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/regex_project/_tests/architecture/importer_file_dummy.py -------------------------------------------------------------------------------- /tests/resources/regex_project/_tests/architecture/other_file.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/regex_project/_tests/architecture/other_file_dummy.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/regex_project/_tests/other_file.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/root_module_mismatch_project/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/root_module_mismatch_project/app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/root_module_mismatch_project/app/green/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/root_module_mismatch_project/app/green/green.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/root_module_mismatch_project/app/green/green.py -------------------------------------------------------------------------------- /tests/resources/root_module_mismatch_project/app/red/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/root_module_mismatch_project/app/red/red.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/root_module_mismatch_project/app/red/red.py -------------------------------------------------------------------------------- /tests/resources/root_module_mismatch_project/app/red/red2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/root_module_mismatch_project/app/red/red2.py -------------------------------------------------------------------------------- /tests/resources/root_module_mismatch_project/app/red/red3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/root_module_mismatch_project/app/red/red3.py -------------------------------------------------------------------------------- /tests/resources/test_project/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/test_project/src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleA/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleA/fileA.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/test_project/src/moduleA/fileA.py -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleA/submoduleA1/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleA/submoduleA1/fileA1.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def a1(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleA/submoduleA1/fileA1_b.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def a1b(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleA/submoduleA1/submoduleA11/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleA/submoduleA1/submoduleA11/fileA11.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/test_project/src/moduleA/submoduleA1/submoduleA11/fileA11.py -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleA/submoduleA2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleA/submoduleA2/fileA2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/test_project/src/moduleA/submoduleA2/fileA2.py -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleB/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleB/fileB.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/test_project/src/moduleB/fileB.py -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleB/submoduleB1/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleB/submoduleB1/fileB1.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | def b1(): 5 | pass 6 | -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleB/submoduleB1/fileB2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/test_project/src/moduleB/submoduleB1/fileB2.py -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleB/submoduleB1/fileB3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/test_project/src/moduleB/submoduleB1/fileB3.py -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleB/submoduleB1/submoduleB11/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleB/submoduleB1/submoduleB11/fileB11.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/test_project/src/moduleB/submoduleB1/submoduleB11/fileB11.py -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleC/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleC/cTest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/test_project/src/moduleC/cTest.py -------------------------------------------------------------------------------- /tests/resources/test_project/src/moduleC/fileC.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/resources/test_project/src/moduleC/fileC.py -------------------------------------------------------------------------------- /tests/rule_assessment/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/rule_assessment/test_RuleViolationMessageGenerator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/rule_assessment/test_RuleViolationMessageGenerator.py -------------------------------------------------------------------------------- /tests/rule_assessment/test_layer_rule_violation_detector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/rule_assessment/test_layer_rule_violation_detector.py -------------------------------------------------------------------------------- /tests/rule_assessment/test_rule_matcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/rule_assessment/test_rule_matcher.py -------------------------------------------------------------------------------- /tests/rule_assessment/test_rule_violation_detector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/rule_assessment/test_rule_violation_detector.py -------------------------------------------------------------------------------- /tests/test_architecture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/test_architecture.py -------------------------------------------------------------------------------- /tests/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/util.py -------------------------------------------------------------------------------- /tests/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/utils/test_partial_match_to_regex_converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyskarch/pytestarch/HEAD/tests/utils/test_partial_match_to_regex_converter.py --------------------------------------------------------------------------------