orionis 0.414.0__tar.gz → 0.415.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {orionis-0.414.0/orionis.egg-info → orionis-0.415.0}/PKG-INFO +1 -1
- {orionis-0.414.0 → orionis-0.415.0}/orionis/metadata/framework.py +1 -1
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/core/unit_test.py +26 -10
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/output/dumper.py +1 -1
- {orionis-0.414.0 → orionis-0.415.0/orionis.egg-info}/PKG-INFO +1 -1
- {orionis-0.414.0 → orionis-0.415.0}/orionis.egg-info/SOURCES.txt +66 -57
- orionis-0.415.0/orionis.egg-info/top_level.txt +4 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/entities/test_binding.py +1 -1
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/test_thread_safety.py +0 -1
- orionis-0.415.0/tests/testing/cases/__init__.py +0 -0
- orionis-0.415.0/tests/testing/cases/test_testing_asynchronous.py +63 -0
- orionis-0.415.0/tests/testing/cases/test_testing_synchronous.py +59 -0
- orionis-0.415.0/tests/testing/entities/__init__.py +0 -0
- orionis-0.415.0/tests/testing/entities/test_testing_result.py +185 -0
- orionis-0.415.0/tests/testing/enums/__init__.py +0 -0
- orionis-0.415.0/tests/testing/enums/test_testing_status.py +68 -0
- orionis-0.415.0/tests/testing/output/__init__.py +0 -0
- orionis-0.415.0/tests/testing/output/test_testing_dumper.py +32 -0
- orionis-0.415.0/tests/testing/output/test_testing_printer.py +42 -0
- orionis-0.415.0/tests/testing/test_testing_unit.py +110 -0
- orionis-0.414.0/orionis.egg-info/top_level.txt +0 -2
- orionis-0.414.0/tests/testing/test_testing_result.py +0 -131
- orionis-0.414.0/tests/testing/test_testing_unit.py +0 -209
- {orionis-0.414.0 → orionis-0.415.0}/LICENCE +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/MANIFEST.in +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/README.md +0 -0
- {orionis-0.414.0/orionis/_console → orionis-0.415.0/environment}/__init__.py +0 -0
- {orionis-0.414.0/tests/services → orionis-0.415.0}/environment/test_services_environment.py +0 -0
- {orionis-0.414.0/orionis/_console/base → orionis-0.415.0/foundation}/__init__.py +0 -0
- {orionis-0.414.0/orionis/_console/commands → orionis-0.415.0/foundation/config}/__init__.py +0 -0
- {orionis-0.414.0/orionis/_console/dumper → orionis-0.415.0/foundation/config/app}/__init__.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/app/test_foundation_config_app.py +0 -0
- {orionis-0.414.0/orionis/_console/exceptions → orionis-0.415.0/foundation/config/auth}/__init__.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/auth/test_foundation_config_auth.py +0 -0
- {orionis-0.414.0/orionis/_console/output → orionis-0.415.0/foundation/config/cache}/__init__.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/cache/test_foundation_config_cache.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/cache/test_foundation_config_cache_file.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/cache/test_foundation_config_cache_stores.py +0 -0
- {orionis-0.414.0/orionis/_contracts → orionis-0.415.0/foundation/config/cors}/__init__.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/cors/test_foundation_config_cors.py +0 -0
- {orionis-0.414.0/orionis/_contracts/config → orionis-0.415.0/foundation/config/database}/__init__.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/database/test_foundation_config_database.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/database/test_foundation_config_database_connections.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/database/test_foundation_config_database_mysql.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/database/test_foundation_config_database_oracle.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/database/test_foundation_config_database_pgsql.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/database/test_foundation_config_database_sqlite.py +0 -0
- {orionis-0.414.0/orionis/_contracts/console → orionis-0.415.0/foundation/config/filesystems}/__init__.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/filesystems/test_foundation_config_filesystems.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/filesystems/test_foundation_config_filesystems_aws.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/filesystems/test_foundation_config_filesystems_disks.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/filesystems/test_foundation_config_filesystems_local.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/filesystems/test_foundation_config_filesystems_public.py +0 -0
- {orionis-0.414.0/orionis/_contracts/console/base → orionis-0.415.0/foundation/config/logging}/__init__.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/logging/test_foundation_config_logging.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/logging/test_foundation_config_logging_channels.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/logging/test_foundation_config_logging_chunked.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/logging/test_foundation_config_logging_daily.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/logging/test_foundation_config_logging_hourly.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/logging/test_foundation_config_logging_monthly.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/logging/test_foundation_config_logging_stack.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/logging/test_foundation_config_logging_weekly.py +0 -0
- {orionis-0.414.0/orionis/_contracts/console/output → orionis-0.415.0/foundation/config/mail}/__init__.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/mail/test_foundation_config_mail.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/mail/test_foundation_config_mail_file.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/mail/test_foundation_config_mail_mailers.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/mail/test_foundation_config_mail_smtp.py +0 -0
- {orionis-0.414.0/orionis/_contracts/facades → orionis-0.415.0/foundation/config/queue}/__init__.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/queue/test_foundation_config_queue.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/queue/test_foundation_config_queue_brokers.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/queue/test_foundation_config_queue_database.py +0 -0
- {orionis-0.414.0/orionis/_contracts/facades/commands → orionis-0.415.0/foundation/config/root}/__init__.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/root/test_foundation_config_root_paths.py +0 -0
- {orionis-0.414.0/orionis/_contracts/facades/config → orionis-0.415.0/foundation/config/session}/__init__.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/session/test_foundation_config_session.py +0 -0
- {orionis-0.414.0/orionis/_contracts/facades/environment → orionis-0.415.0/foundation/config/startup}/__init__.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/startup/test_foundation_config_startup.py +0 -0
- {orionis-0.414.0/orionis/_contracts/facades/files → orionis-0.415.0/foundation/config/testing}/__init__.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/config/testing/test_foundation_config_testing.py +0 -0
- {orionis-0.414.0/orionis/_contracts/facades/log → orionis-0.415.0/foundation/exceptions}/__init__.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0}/foundation/exceptions/test_foundation_config_exceptions.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/__init__.py +0 -0
- {orionis-0.414.0/orionis/_contracts/facades/tests → orionis-0.415.0/orionis/_console}/__init__.py +0 -0
- {orionis-0.414.0/orionis/_contracts/foundation → orionis-0.415.0/orionis/_console/base}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_console/base/command.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_console/command_filter.py +0 -0
- {orionis-0.414.0/orionis/_contracts/foundation/config → orionis-0.415.0/orionis/_console/commands}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_console/commands/cache_clear.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_console/commands/help.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_console/commands/schedule_work.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_console/commands/version.py +0 -0
- {orionis-0.414.0/orionis/_contracts/foundation/console → orionis-0.415.0/orionis/_console/dumper}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_console/dumper/dump_die.py +0 -0
- {orionis-0.414.0/orionis/_contracts/foundation/environment → orionis-0.415.0/orionis/_console/exceptions}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_console/exceptions/cli-orionis-value-error.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_console/exceptions/cli_exception.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_console/exceptions/cli_runtime_error.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_console/exceptions/cli_schedule_exception.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_console/kernel.py +0 -0
- {orionis-0.414.0/orionis/_contracts/foundation/providers → orionis-0.415.0/orionis/_console/output}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_console/output/console.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_console/output/executor.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_console/output/progress_bar.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_console/parser.py +0 -0
- {orionis-0.414.0/orionis/_contracts/providers → orionis-0.415.0/orionis/_contracts}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/application.py +0 -0
- {orionis-0.414.0/orionis/_contracts/services → orionis-0.415.0/orionis/_contracts/config}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/config/config.py +0 -0
- {orionis-0.414.0/orionis/_contracts/services/commands → orionis-0.415.0/orionis/_contracts/console}/__init__.py +0 -0
- {orionis-0.414.0/orionis/_contracts/services/config → orionis-0.415.0/orionis/_contracts/console/base}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/console/base/command.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/console/command_filter.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/console/kernel.py +0 -0
- {orionis-0.414.0/orionis/_contracts/services/environment → orionis-0.415.0/orionis/_contracts/console/output}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/console/output/console.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/console/output/executor.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/console/parser.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/console/task_manager.py +0 -0
- {orionis-0.414.0/orionis/_contracts/services/files → orionis-0.415.0/orionis/_contracts/facades}/__init__.py +0 -0
- {orionis-0.414.0/orionis/_contracts/services/log → orionis-0.415.0/orionis/_contracts/facades/commands}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/facades/commands/commands_facade.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/facades/commands/scheduler_facade.py +0 -0
- {orionis-0.414.0/orionis/_foundation → orionis-0.415.0/orionis/_contracts/facades/config}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/facades/config/config_facade.py +0 -0
- {orionis-0.414.0/orionis/_foundation/console → orionis-0.415.0/orionis/_contracts/facades/environment}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/facades/environment/environment_facade.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/facades/facade.py +0 -0
- {orionis-0.414.0/orionis/_foundation/environment → orionis-0.415.0/orionis/_contracts/facades/files}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/facades/files/path_facade.py +0 -0
- {orionis-0.414.0/orionis/_foundation/exceptions → orionis-0.415.0/orionis/_contracts/facades/log}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/facades/log/log_facade.py +0 -0
- {orionis-0.414.0/orionis/_foundation/foundation/config → orionis-0.415.0/orionis/_contracts/facades/tests}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/facades/tests/tests_facade.py +0 -0
- {orionis-0.414.0/orionis/_foundation/providers → orionis-0.415.0/orionis/_contracts/foundation}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/foundation/bootstraper.py +0 -0
- {orionis-0.414.0/orionis/_services → orionis-0.415.0/orionis/_contracts/foundation/config}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/foundation/config/config_bootstrapper.py +0 -0
- {orionis-0.414.0/orionis/_services/commands → orionis-0.415.0/orionis/_contracts/foundation/console}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/foundation/console/command_bootstrapper.py +0 -0
- {orionis-0.414.0/orionis/_services/config → orionis-0.415.0/orionis/_contracts/foundation/environment}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/foundation/environment/environment_bootstrapper.py +0 -0
- {orionis-0.414.0/orionis/console → orionis-0.415.0/orionis/_contracts/foundation/providers}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/foundation/providers/service_providers_bootstrapper.py +0 -0
- {orionis-0.414.0/orionis/console/base → orionis-0.415.0/orionis/_contracts/providers}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/providers/service_provider.py +0 -0
- {orionis-0.414.0/orionis/console/base/contracts → orionis-0.415.0/orionis/_contracts/services}/__init__.py +0 -0
- {orionis-0.414.0/orionis/console/dumper → orionis-0.415.0/orionis/_contracts/services/commands}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/services/commands/reactor_commands_service.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/services/commands/schedule_service.py +0 -0
- {orionis-0.414.0/orionis/console/dumper/contracts → orionis-0.415.0/orionis/_contracts/services/config}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/services/config/config_service.py +0 -0
- {orionis-0.414.0/orionis/console/dynamic → orionis-0.415.0/orionis/_contracts/services/environment}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/services/environment/environment_service.py +0 -0
- {orionis-0.414.0/orionis/console/dynamic/contracts → orionis-0.415.0/orionis/_contracts/services/files}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/services/files/path_resolver_service.py +0 -0
- {orionis-0.414.0/orionis/console/output → orionis-0.415.0/orionis/_contracts/services/log}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/services/log/log_service.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/support/exception_parse.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_contracts/support/reflection.py +0 -0
- {orionis-0.414.0/orionis/console/output/contracts → orionis-0.415.0/orionis/_foundation}/__init__.py +0 -0
- {orionis-0.414.0/orionis/container → orionis-0.415.0/orionis/_foundation/console}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_foundation/console/command_bootstrapper.py +0 -0
- {orionis-0.414.0/orionis/container/context → orionis-0.415.0/orionis/_foundation/environment}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_foundation/environment/environment_bootstrapper.py +0 -0
- {orionis-0.414.0/orionis/container/contracts → orionis-0.415.0/orionis/_foundation/exceptions}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_foundation/exceptions/exception_bootstrapper.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_foundation/exceptions/exception_providers.py +0 -0
- {orionis-0.414.0/orionis/container/entities → orionis-0.415.0/orionis/_foundation/foundation/config}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_foundation/foundation/config/config_bootstrapper.py +0 -0
- {orionis-0.414.0/orionis/container/facades → orionis-0.415.0/orionis/_foundation/providers}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_foundation/providers/service_providers_bootstrapper.py +0 -0
- {orionis-0.414.0/orionis/container/providers → orionis-0.415.0/orionis/_services}/__init__.py +0 -0
- {orionis-0.414.0/orionis/container/resolver → orionis-0.415.0/orionis/_services/commands}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_services/commands/reactor_commands_service.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_services/commands/scheduler_service.py +0 -0
- {orionis-0.414.0/orionis/foundation → orionis-0.415.0/orionis/_services/config}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/_services/config/config_service.py +0 -0
- {orionis-0.414.0/orionis/foundation/config → orionis-0.415.0/orionis/console}/__init__.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/app → orionis-0.415.0/orionis/console/base}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/console/base/command.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/app/entities → orionis-0.415.0/orionis/console/base/contracts}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/console/base/contracts/command.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/auth → orionis-0.415.0/orionis/console/dumper}/__init__.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/auth/entities → orionis-0.415.0/orionis/console/dumper/contracts}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/console/dumper/contracts/dump.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/console/dumper/dump.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/cache → orionis-0.415.0/orionis/console/dynamic}/__init__.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/cache/entities → orionis-0.415.0/orionis/console/dynamic/contracts}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/console/dynamic/contracts/progress_bar.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/console/dynamic/progress_bar.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/cors → orionis-0.415.0/orionis/console/output}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/console/output/console.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/cors/entities → orionis-0.415.0/orionis/console/output/contracts}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/console/output/contracts/console.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/console/output/enums/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/console/output/enums/styles.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/database → orionis-0.415.0/orionis/container}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/container.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/database/entities → orionis-0.415.0/orionis/container/context}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/context/manager.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/context/scope.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/filesystems → orionis-0.415.0/orionis/container/contracts}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/contracts/container.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/contracts/resolver.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/contracts/service_provider.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/filesystems/entitites → orionis-0.415.0/orionis/container/entities}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/entities/binding.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/enums/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/enums/lifetimes.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/exceptions/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/exceptions/attribute.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/exceptions/exception.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/exceptions/type.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/exceptions/value.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/logging → orionis-0.415.0/orionis/container/facades}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/facades/facade.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/logging/entities → orionis-0.415.0/orionis/container/providers}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/providers/service_provider.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/mail → orionis-0.415.0/orionis/container/resolver}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/resolver/resolver.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/validators/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/validators/implements.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/validators/is_abstract_class.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/validators/is_callable.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/validators/is_concrete_class.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/validators/is_instance.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/validators/is_not_subclass.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/validators/is_subclass.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/validators/is_valid_alias.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/container/validators/lifetime.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/mail/entities → orionis-0.415.0/orionis/foundation}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/application.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/queue → orionis-0.415.0/orionis/foundation/config}/__init__.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/queue/entities → orionis-0.415.0/orionis/foundation/config/app}/__init__.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/roots → orionis-0.415.0/orionis/foundation/config/app/entities}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/app/entities/app.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/app/enums/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/app/enums/ciphers.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/app/enums/environments.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/session → orionis-0.415.0/orionis/foundation/config/auth}/__init__.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/session → orionis-0.415.0/orionis/foundation/config/auth}/entities/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/auth/entities/auth.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/session/helpers → orionis-0.415.0/orionis/foundation/config/cache}/__init__.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/testing → orionis-0.415.0/orionis/foundation/config/cache/entities}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/cache/entities/cache.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/cache/entities/file.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/cache/entities/stores.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/cache/enums/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/cache/enums/drivers.py +0 -0
- {orionis-0.414.0/orionis/foundation/config/testing/entities → orionis-0.415.0/orionis/foundation/config/cors}/__init__.py +0 -0
- {orionis-0.414.0/orionis/foundation/contracts → orionis-0.415.0/orionis/foundation/config/cors/entities}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/cors/entities/cors.py +0 -0
- {orionis-0.414.0/orionis/foundation/providers → orionis-0.415.0/orionis/foundation/config/database}/__init__.py +0 -0
- {orionis-0.414.0/orionis/metadata → orionis-0.415.0/orionis/foundation/config/database/entities}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/entities/connections.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/entities/database.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/entities/mysql.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/entities/oracle.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/entities/pgsql.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/entities/sqlite.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/enums/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/enums/mysql_charsets.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/enums/mysql_collations.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/enums/mysql_engine.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/enums/oracle_encoding.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/enums/oracle_nencoding.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/enums/pgsql_charsets.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/enums/pgsql_collations.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/enums/pgsql_mode.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/enums/sqlite_foreign_key.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/enums/sqlite_journal.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/database/enums/sqlite_synchronous.py +0 -0
- {orionis-0.414.0/orionis/services → orionis-0.415.0/orionis/foundation/config/filesystems}/__init__.py +0 -0
- {orionis-0.414.0/orionis/services/asynchrony → orionis-0.415.0/orionis/foundation/config/filesystems/entitites}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/filesystems/entitites/aws.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/filesystems/entitites/disks.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/filesystems/entitites/filesystems.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/filesystems/entitites/local.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/filesystems/entitites/public.py +0 -0
- {orionis-0.414.0/orionis/services/asynchrony/contracts → orionis-0.415.0/orionis/foundation/config/logging}/__init__.py +0 -0
- {orionis-0.414.0/orionis/services/environment → orionis-0.415.0/orionis/foundation/config/logging/entities}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/logging/entities/channels.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/logging/entities/chunked.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/logging/entities/daily.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/logging/entities/hourly.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/logging/entities/logging.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/logging/entities/monthly.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/logging/entities/stack.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/logging/entities/weekly.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/logging/enums/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/logging/enums/levels.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/logging/validators/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/logging/validators/level.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/logging/validators/path.py +0 -0
- {orionis-0.414.0/orionis/services/environment/contracts → orionis-0.415.0/orionis/foundation/config/mail}/__init__.py +0 -0
- {orionis-0.414.0/orionis/services/environment/core → orionis-0.415.0/orionis/foundation/config/mail/entities}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/mail/entities/file.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/mail/entities/mail.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/mail/entities/mailers.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/mail/entities/smtp.py +0 -0
- {orionis-0.414.0/orionis/services/environment/dynamic → orionis-0.415.0/orionis/foundation/config/queue}/__init__.py +0 -0
- {orionis-0.414.0/orionis/services/environment/enums → orionis-0.415.0/orionis/foundation/config/queue/entities}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/queue/entities/brokers.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/queue/entities/database.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/queue/entities/queue.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/queue/enums/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/queue/enums/strategy.py +0 -0
- {orionis-0.414.0/orionis/services/environment/helpers → orionis-0.415.0/orionis/foundation/config/roots}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/roots/paths.py +0 -0
- {orionis-0.414.0/orionis/services/environment/key → orionis-0.415.0/orionis/foundation/config/session}/__init__.py +0 -0
- {orionis-0.414.0/orionis/services/environment/serializer → orionis-0.415.0/orionis/foundation/config/session/entities}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/session/entities/session.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/session/enums/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/session/enums/same_site_policy.py +0 -0
- {orionis-0.414.0/orionis/services/environment/validators → orionis-0.415.0/orionis/foundation/config/session/helpers}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/session/helpers/secret_key.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/startup.py +0 -0
- {orionis-0.414.0/orionis/services/introspection → orionis-0.415.0/orionis/foundation/config/testing}/__init__.py +0 -0
- {orionis-0.414.0/orionis/services/introspection/abstract → orionis-0.415.0/orionis/foundation/config/testing/entities}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/testing/entities/testing.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/testing/enums/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/testing/enums/drivers.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/testing/enums/mode.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/config/testing/enums/verbosity.py +0 -0
- {orionis-0.414.0/orionis/services/introspection/abstract → orionis-0.415.0/orionis/foundation}/contracts/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/contracts/application.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/contracts/config.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/exceptions/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/exceptions/integrity.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/exceptions/runtime.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/exceptions/type.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/exceptions/value.py +0 -0
- {orionis-0.414.0/orionis/services/introspection/callables → orionis-0.415.0/orionis/foundation/providers}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/providers/console_provider.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/providers/dumper_provider.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/providers/logger_provider.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/providers/path_resolver_provider.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/providers/progress_bar_provider.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/providers/testing_provider.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/foundation/providers/workers_provider.py +0 -0
- {orionis-0.414.0/orionis/services/introspection/callables/contracts → orionis-0.415.0/orionis/metadata}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/metadata/package.py +0 -0
- {orionis-0.414.0/orionis/services/introspection/concretes → orionis-0.415.0/orionis/services}/__init__.py +0 -0
- {orionis-0.414.0/orionis/services/introspection/concretes/contracts → orionis-0.415.0/orionis/services/asynchrony}/__init__.py +0 -0
- {orionis-0.414.0/orionis/services/introspection/dependencies → orionis-0.415.0/orionis/services/asynchrony/contracts}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/asynchrony/contracts/coroutines.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/asynchrony/coroutines.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/asynchrony/exceptions/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/asynchrony/exceptions/exception.py +0 -0
- {orionis-0.414.0/orionis/services/introspection/dependencies/contracts → orionis-0.415.0/orionis/services/environment}/__init__.py +0 -0
- {orionis-0.414.0/orionis/services/introspection/dependencies/entities → orionis-0.415.0/orionis/services/environment/contracts}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/environment/contracts/env.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/environment/contracts/types.py +0 -0
- {orionis-0.414.0/orionis/services/introspection/instances → orionis-0.415.0/orionis/services/environment/core}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/environment/core/dot_env.py +0 -0
- {orionis-0.414.0/orionis/services/introspection/instances/contracts → orionis-0.415.0/orionis/services/environment/dynamic}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/environment/dynamic/types.py +0 -0
- {orionis-0.414.0/orionis/services/introspection/modules → orionis-0.415.0/orionis/services/environment/enums}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/environment/enums/cast_type.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/environment/env.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/environment/exceptions/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/environment/exceptions/exception.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/environment/exceptions/value.py +0 -0
- {orionis-0.414.0/orionis/services/introspection/modules/contracts → orionis-0.415.0/orionis/services/environment/helpers}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/environment/helpers/functions.py +0 -0
- {orionis-0.414.0/orionis/services/introspection/objects → orionis-0.415.0/orionis/services/environment/key}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/environment/key/key_generator.py +0 -0
- {orionis-0.414.0/orionis/services/log → orionis-0.415.0/orionis/services/environment/serializer}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/environment/serializer/values.py +0 -0
- {orionis-0.414.0/orionis/services/log/contracts → orionis-0.415.0/orionis/services/environment/validators}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/environment/validators/key_name.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/environment/validators/types.py +0 -0
- {orionis-0.414.0/orionis/services/log/handlers → orionis-0.415.0/orionis/services/introspection}/__init__.py +0 -0
- {orionis-0.414.0/orionis/services/paths → orionis-0.415.0/orionis/services/introspection/abstract}/__init__.py +0 -0
- {orionis-0.414.0/orionis/services/paths → orionis-0.415.0/orionis/services/introspection/abstract}/contracts/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/abstract/contracts/reflection.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/abstract/reflection.py +0 -0
- {orionis-0.414.0/orionis/services/system → orionis-0.415.0/orionis/services/introspection/callables}/__init__.py +0 -0
- {orionis-0.414.0/orionis/services/system → orionis-0.415.0/orionis/services/introspection/callables}/contracts/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/callables/contracts/reflection.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/callables/reflection.py +0 -0
- {orionis-0.414.0/orionis/services/system/runtime → orionis-0.415.0/orionis/services/introspection/concretes}/__init__.py +0 -0
- {orionis-0.414.0/orionis/support → orionis-0.415.0/orionis/services/introspection/concretes/contracts}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/concretes/contracts/concrete.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/concretes/reflection.py +0 -0
- {orionis-0.414.0/orionis/support/entities → orionis-0.415.0/orionis/services/introspection/dependencies}/__init__.py +0 -0
- {orionis-0.414.0/orionis/support/facades → orionis-0.415.0/orionis/services/introspection/dependencies/contracts}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/dependencies/contracts/reflection.py +0 -0
- {orionis-0.414.0/orionis/support/formatter → orionis-0.415.0/orionis/services/introspection/dependencies/entities}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/dependencies/entities/callable_dependencies.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/dependencies/entities/class_dependencies.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/dependencies/entities/known_dependencies.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/dependencies/entities/method_dependencies.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/dependencies/reflection.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/exceptions/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/exceptions/attribute.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/exceptions/type.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/exceptions/value.py +0 -0
- {orionis-0.414.0/orionis/support/formatter/exceptions → orionis-0.415.0/orionis/services/introspection/instances}/__init__.py +0 -0
- {orionis-0.414.0/orionis/support/formatter/exceptions → orionis-0.415.0/orionis/services/introspection/instances}/contracts/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/instances/contracts/reflection.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/instances/reflection.py +0 -0
- {orionis-0.414.0/orionis/support/patterns → orionis-0.415.0/orionis/services/introspection/modules}/__init__.py +0 -0
- {orionis-0.414.0/orionis/support/standard → orionis-0.415.0/orionis/services/introspection/modules/contracts}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/modules/contracts/reflection.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/modules/reflection.py +0 -0
- {orionis-0.414.0/orionis/support/standard/contracts → orionis-0.415.0/orionis/services/introspection/objects}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/objects/types.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/introspection/reflection.py +0 -0
- {orionis-0.414.0/orionis/test → orionis-0.415.0/orionis/services/log}/__init__.py +0 -0
- {orionis-0.414.0/orionis/test/cases → orionis-0.415.0/orionis/services/log/contracts}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/log/contracts/log_service.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/log/exceptions/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/log/exceptions/runtime.py +0 -0
- {orionis-0.414.0/orionis/test/contracts → orionis-0.415.0/orionis/services/log/handlers}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/log/handlers/filename.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/log/handlers/size_rotating.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/log/handlers/timed_rotating.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/log/log_service.py +0 -0
- {orionis-0.414.0/orionis/test/core → orionis-0.415.0/orionis/services/paths}/__init__.py +0 -0
- {orionis-0.414.0/orionis/test/entities → orionis-0.415.0/orionis/services/paths/contracts}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/paths/contracts/resolver.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/paths/exceptions/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/paths/exceptions/exception.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/paths/exceptions/file.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/paths/resolver.py +0 -0
- {orionis-0.414.0/orionis/test/output → orionis-0.415.0/orionis/services/system}/__init__.py +0 -0
- {orionis-0.414.0/orionis/test/records → orionis-0.415.0/orionis/services/system/contracts}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/system/contracts/imports.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/system/contracts/workers.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/system/imports.py +0 -0
- {orionis-0.414.0/orionis/test/view → orionis-0.415.0/orionis/services/system/runtime}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/system/runtime/imports.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/services/system/workers.py +0 -0
- {orionis-0.414.0/tests → orionis-0.415.0/orionis/support}/__init__.py +0 -0
- {orionis-0.414.0/tests/container → orionis-0.415.0/orionis/support/entities}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/entities/base.py +0 -0
- {orionis-0.414.0/tests/container/context → orionis-0.415.0/orionis/support/facades}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/facades/console.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/facades/dumper.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/facades/logger.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/facades/path_resolver.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/facades/progress_bar.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/facades/testing.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/facades/workers.py +0 -0
- {orionis-0.414.0/tests/container/entities → orionis-0.415.0/orionis/support/formatter}/__init__.py +0 -0
- {orionis-0.414.0/tests/container/enums → orionis-0.415.0/orionis/support/formatter/exceptions}/__init__.py +0 -0
- {orionis-0.414.0/tests/container/facades → orionis-0.415.0/orionis/support/formatter/exceptions/contracts}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/formatter/exceptions/contracts/parser.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/formatter/exceptions/parser.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/formatter/serializer.py +0 -0
- {orionis-0.414.0/tests/container/mocks → orionis-0.415.0/orionis/support/patterns}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/patterns/singleton/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/patterns/singleton/meta.py +0 -0
- {orionis-0.414.0/tests/container/providers → orionis-0.415.0/orionis/support/standard}/__init__.py +0 -0
- {orionis-0.414.0/tests/container/resolver → orionis-0.415.0/orionis/support/standard/contracts}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/standard/contracts/std.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/standard/exceptions/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/standard/exceptions/value.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/standard/std.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/wrapper/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/support/wrapper/dot_dict.py +0 -0
- {orionis-0.414.0/tests/container/validators → orionis-0.415.0/orionis/test}/__init__.py +0 -0
- {orionis-0.414.0/tests/example → orionis-0.415.0/orionis/test/cases}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/cases/asynchronous.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/cases/synchronous.py +0 -0
- {orionis-0.414.0/tests/foundation → orionis-0.415.0/orionis/test/contracts}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/contracts/dumper.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/contracts/kernel.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/contracts/logs.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/contracts/printer.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/contracts/render.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/contracts/test_result.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/contracts/unit_test.py +0 -0
- {orionis-0.414.0/tests/foundation/config → orionis-0.415.0/orionis/test/core}/__init__.py +0 -0
- {orionis-0.414.0/tests/foundation/config/app → orionis-0.415.0/orionis/test/entities}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/entities/result.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/enums/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/enums/status.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/exceptions/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/exceptions/config.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/exceptions/failure.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/exceptions/persistence.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/exceptions/runtime.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/exceptions/value.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/kernel.py +0 -0
- {orionis-0.414.0/tests/foundation/config/auth → orionis-0.415.0/orionis/test/output}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/output/printer.py +0 -0
- {orionis-0.414.0/tests/foundation/config/cache → orionis-0.415.0/orionis/test/records}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/records/logs.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/validators/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/validators/base_path.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/validators/execution_mode.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/validators/fail_fast.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/validators/folder_path.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/validators/module_name.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/validators/name_pattern.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/validators/pattern.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/validators/persistent.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/validators/persistent_driver.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/validators/print_result.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/validators/tags.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/validators/throw_exception.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/validators/verbosity.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/validators/web_report.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/validators/workers.py +0 -0
- {orionis-0.414.0/tests/foundation/config/cors → orionis-0.415.0/orionis/test/view}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis/test/view/render.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis.egg-info/dependency_links.txt +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis.egg-info/requires.txt +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/orionis.egg-info/zip-safe +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/setup.cfg +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/setup.py +0 -0
- {orionis-0.414.0/tests/foundation/config/database → orionis-0.415.0/tests}/__init__.py +0 -0
- {orionis-0.414.0/tests/foundation/config/filesystems → orionis-0.415.0/tests/container}/__init__.py +0 -0
- {orionis-0.414.0/tests/foundation/config/logging → orionis-0.415.0/tests/container/context}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/context/test_manager.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/context/test_scope.py +0 -0
- {orionis-0.414.0/tests/foundation/config/mail → orionis-0.415.0/tests/container/entities}/__init__.py +0 -0
- {orionis-0.414.0/tests/foundation/config/queue → orionis-0.415.0/tests/container/enums}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/enums/test_lifetimes.py +0 -0
- {orionis-0.414.0/tests/foundation/config/root → orionis-0.415.0/tests/container/facades}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/facades/test_facade.py +0 -0
- {orionis-0.414.0/tests/foundation/config/session → orionis-0.415.0/tests/container/mocks}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/mocks/mock_complex_classes.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/mocks/mock_simple_classes.py +0 -0
- {orionis-0.414.0/tests/foundation/config/startup → orionis-0.415.0/tests/container/providers}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/providers/test_providers.py +0 -0
- {orionis-0.414.0/tests/foundation/config/testing → orionis-0.415.0/tests/container/resolver}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/resolver/test_resolver.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/test_container.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/test_singleton.py +0 -0
- {orionis-0.414.0/tests/foundation/exceptions → orionis-0.415.0/tests/container/validators}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/validators/test_implements.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/validators/test_is_abstract_class.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/validators/test_is_callable.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/validators/test_is_concrete_class.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/validators/test_is_instance.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/validators/test_is_not_subclass.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/validators/test_is_subclass.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/validators/test_is_valid_alias.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/container/validators/test_lifetime.py +0 -0
- {orionis-0.414.0/tests/metadata → orionis-0.415.0/tests/example}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/example/test_example.py +0 -0
- {orionis-0.414.0/tests/services → orionis-0.415.0/tests/metadata}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/metadata/test_metadata_framework.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/metadata/test_metadata_package.py +0 -0
- {orionis-0.414.0/tests/services/asynchrony → orionis-0.415.0/tests/services}/__init__.py +0 -0
- {orionis-0.414.0/tests/services/environment → orionis-0.415.0/tests/services/asynchrony}/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/asynchrony/test_services_asynchrony_coroutine.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/introspection/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/introspection/dependencies/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/introspection/dependencies/mocks/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/introspection/dependencies/mocks/mock_user.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/introspection/dependencies/mocks/mock_user_controller.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/introspection/dependencies/mocks/mock_users_permissions.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/introspection/dependencies/test_reflect_dependencies.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/introspection/reflection/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/introspection/reflection/mock/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/introspection/reflection/mock/fake_reflect_instance.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/introspection/reflection/test_reflection_abstract.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/introspection/reflection/test_reflection_callable.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/introspection/reflection/test_reflection_concrete.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/introspection/reflection/test_reflection_instance.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/introspection/reflection/test_reflection_module.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/introspection/test_reflection.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/log/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/log/test_log.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/path/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/path/test_services_resolver.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/system/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/system/test_services_system_imports.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/services/system/test_services_system_workers.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/support/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/support/entities/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/support/entities/mock_dataclass.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/support/entities/test_base.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/support/patterns/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/support/patterns/singleton/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/support/patterns/singleton/test_patterns_singleton.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/support/standard/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/support/standard/test_services_std.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/support/wrapper/__init__.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/support/wrapper/test_services_wrapper_docdict.py +0 -0
- {orionis-0.414.0 → orionis-0.415.0}/tests/testing/__init__.py +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import io
|
|
2
2
|
import json
|
|
3
|
-
import os
|
|
4
3
|
import re
|
|
5
4
|
import time
|
|
6
5
|
import traceback
|
|
@@ -316,9 +315,27 @@ class UnitTest(IUnitTest):
|
|
|
316
315
|
tests = self.__loader.discover(
|
|
317
316
|
start_dir=str(full_path),
|
|
318
317
|
pattern=self.__pattern,
|
|
319
|
-
top_level_dir=
|
|
318
|
+
top_level_dir="."
|
|
320
319
|
)
|
|
321
320
|
|
|
321
|
+
# Check for failed test imports (unittest.loader._FailedTest)
|
|
322
|
+
for test in self.__flattenTestSuite(tests):
|
|
323
|
+
if test.__class__.__name__ == "_FailedTest":
|
|
324
|
+
# Extract the error message from the test's traceback
|
|
325
|
+
error_message = ""
|
|
326
|
+
if hasattr(test, "_exception"):
|
|
327
|
+
error_message = str(test._exception)
|
|
328
|
+
elif hasattr(test, "_outcome") and hasattr(test._outcome, "errors"):
|
|
329
|
+
error_message = str(test._outcome.errors)
|
|
330
|
+
else:
|
|
331
|
+
# Try to get error from test id or str(test)
|
|
332
|
+
error_message = str(test)
|
|
333
|
+
raise OrionisTestValueError(
|
|
334
|
+
f"Failed to import test module: {test.id()}.\n"
|
|
335
|
+
f"Error details: {error_message}\n"
|
|
336
|
+
"Please check for import errors or missing dependencies."
|
|
337
|
+
)
|
|
338
|
+
|
|
322
339
|
# If name pattern is provided, filter tests by name
|
|
323
340
|
if test_name_pattern:
|
|
324
341
|
tests = self.__filterTestsByName(
|
|
@@ -365,6 +382,7 @@ class UnitTest(IUnitTest):
|
|
|
365
382
|
f"Error importing tests from path '{str(full_path)}': {str(e)}.\n"
|
|
366
383
|
"Please verify that the directory and test modules are accessible and correct."
|
|
367
384
|
)
|
|
385
|
+
|
|
368
386
|
except Exception as e:
|
|
369
387
|
|
|
370
388
|
# Raise a general error for unexpected issues
|
|
@@ -700,6 +718,11 @@ class UnitTest(IUnitTest):
|
|
|
700
718
|
# Iterate through all test cases in the original (possibly nested) suite
|
|
701
719
|
for test_case in self.__flattenTestSuite(self.__suite):
|
|
702
720
|
|
|
721
|
+
# If it's a failed test, add it as-is to the flattened suite
|
|
722
|
+
if test_case.__class__.__name__ == "_FailedTest":
|
|
723
|
+
flattened_suite.addTest(test_case)
|
|
724
|
+
continue
|
|
725
|
+
|
|
703
726
|
# Get the test method name using reflection
|
|
704
727
|
rf_instance = ReflectionInstance(test_case)
|
|
705
728
|
method_name = rf_instance.getAttribute("_testMethodName")
|
|
@@ -730,14 +753,7 @@ class UnitTest(IUnitTest):
|
|
|
730
753
|
continue
|
|
731
754
|
|
|
732
755
|
# Attempt to extract dependency information from the test method signature
|
|
733
|
-
|
|
734
|
-
signature = rf_instance.getMethodDependencies(method_name)
|
|
735
|
-
except Exception as e:
|
|
736
|
-
raise OrionisTestValueError(
|
|
737
|
-
f"Failed to resolve test dependencies in '../{method_name}.py. "
|
|
738
|
-
f"This may be caused by incorrect imports, missing modules, or undefined classes. "
|
|
739
|
-
f"Please verify that all test methods and their dependencies are correctly declared and accessible."
|
|
740
|
-
)
|
|
756
|
+
signature = rf_instance.getMethodDependencies(method_name)
|
|
741
757
|
|
|
742
758
|
# If there are no dependencies to resolve, or unresolved dependencies exist, add as-is
|
|
743
759
|
if ((not signature.resolved and not signature.unresolved) or (not signature.resolved and len(signature.unresolved) > 0)):
|
|
@@ -2,6 +2,61 @@ LICENCE
|
|
|
2
2
|
MANIFEST.in
|
|
3
3
|
README.md
|
|
4
4
|
setup.py
|
|
5
|
+
environment/__init__.py
|
|
6
|
+
environment/test_services_environment.py
|
|
7
|
+
foundation/__init__.py
|
|
8
|
+
foundation/config/__init__.py
|
|
9
|
+
foundation/config/app/__init__.py
|
|
10
|
+
foundation/config/app/test_foundation_config_app.py
|
|
11
|
+
foundation/config/auth/__init__.py
|
|
12
|
+
foundation/config/auth/test_foundation_config_auth.py
|
|
13
|
+
foundation/config/cache/__init__.py
|
|
14
|
+
foundation/config/cache/test_foundation_config_cache.py
|
|
15
|
+
foundation/config/cache/test_foundation_config_cache_file.py
|
|
16
|
+
foundation/config/cache/test_foundation_config_cache_stores.py
|
|
17
|
+
foundation/config/cors/__init__.py
|
|
18
|
+
foundation/config/cors/test_foundation_config_cors.py
|
|
19
|
+
foundation/config/database/__init__.py
|
|
20
|
+
foundation/config/database/test_foundation_config_database.py
|
|
21
|
+
foundation/config/database/test_foundation_config_database_connections.py
|
|
22
|
+
foundation/config/database/test_foundation_config_database_mysql.py
|
|
23
|
+
foundation/config/database/test_foundation_config_database_oracle.py
|
|
24
|
+
foundation/config/database/test_foundation_config_database_pgsql.py
|
|
25
|
+
foundation/config/database/test_foundation_config_database_sqlite.py
|
|
26
|
+
foundation/config/filesystems/__init__.py
|
|
27
|
+
foundation/config/filesystems/test_foundation_config_filesystems.py
|
|
28
|
+
foundation/config/filesystems/test_foundation_config_filesystems_aws.py
|
|
29
|
+
foundation/config/filesystems/test_foundation_config_filesystems_disks.py
|
|
30
|
+
foundation/config/filesystems/test_foundation_config_filesystems_local.py
|
|
31
|
+
foundation/config/filesystems/test_foundation_config_filesystems_public.py
|
|
32
|
+
foundation/config/logging/__init__.py
|
|
33
|
+
foundation/config/logging/test_foundation_config_logging.py
|
|
34
|
+
foundation/config/logging/test_foundation_config_logging_channels.py
|
|
35
|
+
foundation/config/logging/test_foundation_config_logging_chunked.py
|
|
36
|
+
foundation/config/logging/test_foundation_config_logging_daily.py
|
|
37
|
+
foundation/config/logging/test_foundation_config_logging_hourly.py
|
|
38
|
+
foundation/config/logging/test_foundation_config_logging_monthly.py
|
|
39
|
+
foundation/config/logging/test_foundation_config_logging_stack.py
|
|
40
|
+
foundation/config/logging/test_foundation_config_logging_weekly.py
|
|
41
|
+
foundation/config/mail/__init__.py
|
|
42
|
+
foundation/config/mail/test_foundation_config_mail.py
|
|
43
|
+
foundation/config/mail/test_foundation_config_mail_file.py
|
|
44
|
+
foundation/config/mail/test_foundation_config_mail_mailers.py
|
|
45
|
+
foundation/config/mail/test_foundation_config_mail_smtp.py
|
|
46
|
+
foundation/config/queue/__init__.py
|
|
47
|
+
foundation/config/queue/test_foundation_config_queue.py
|
|
48
|
+
foundation/config/queue/test_foundation_config_queue_brokers.py
|
|
49
|
+
foundation/config/queue/test_foundation_config_queue_database.py
|
|
50
|
+
foundation/config/root/__init__.py
|
|
51
|
+
foundation/config/root/test_foundation_config_root_paths.py
|
|
52
|
+
foundation/config/session/__init__.py
|
|
53
|
+
foundation/config/session/test_foundation_config_session.py
|
|
54
|
+
foundation/config/startup/__init__.py
|
|
55
|
+
foundation/config/startup/test_foundation_config_startup.py
|
|
56
|
+
foundation/config/testing/__init__.py
|
|
57
|
+
foundation/config/testing/test_foundation_config_testing.py
|
|
58
|
+
foundation/exceptions/__init__.py
|
|
59
|
+
foundation/exceptions/test_foundation_config_exceptions.py
|
|
5
60
|
orionis/__init__.py
|
|
6
61
|
orionis.egg-info/PKG-INFO
|
|
7
62
|
orionis.egg-info/SOURCES.txt
|
|
@@ -471,67 +526,12 @@ tests/container/validators/test_is_valid_alias.py
|
|
|
471
526
|
tests/container/validators/test_lifetime.py
|
|
472
527
|
tests/example/__init__.py
|
|
473
528
|
tests/example/test_example.py
|
|
474
|
-
tests/foundation/__init__.py
|
|
475
|
-
tests/foundation/config/__init__.py
|
|
476
|
-
tests/foundation/config/app/__init__.py
|
|
477
|
-
tests/foundation/config/app/test_foundation_config_app.py
|
|
478
|
-
tests/foundation/config/auth/__init__.py
|
|
479
|
-
tests/foundation/config/auth/test_foundation_config_auth.py
|
|
480
|
-
tests/foundation/config/cache/__init__.py
|
|
481
|
-
tests/foundation/config/cache/test_foundation_config_cache.py
|
|
482
|
-
tests/foundation/config/cache/test_foundation_config_cache_file.py
|
|
483
|
-
tests/foundation/config/cache/test_foundation_config_cache_stores.py
|
|
484
|
-
tests/foundation/config/cors/__init__.py
|
|
485
|
-
tests/foundation/config/cors/test_foundation_config_cors.py
|
|
486
|
-
tests/foundation/config/database/__init__.py
|
|
487
|
-
tests/foundation/config/database/test_foundation_config_database.py
|
|
488
|
-
tests/foundation/config/database/test_foundation_config_database_connections.py
|
|
489
|
-
tests/foundation/config/database/test_foundation_config_database_mysql.py
|
|
490
|
-
tests/foundation/config/database/test_foundation_config_database_oracle.py
|
|
491
|
-
tests/foundation/config/database/test_foundation_config_database_pgsql.py
|
|
492
|
-
tests/foundation/config/database/test_foundation_config_database_sqlite.py
|
|
493
|
-
tests/foundation/config/filesystems/__init__.py
|
|
494
|
-
tests/foundation/config/filesystems/test_foundation_config_filesystems.py
|
|
495
|
-
tests/foundation/config/filesystems/test_foundation_config_filesystems_aws.py
|
|
496
|
-
tests/foundation/config/filesystems/test_foundation_config_filesystems_disks.py
|
|
497
|
-
tests/foundation/config/filesystems/test_foundation_config_filesystems_local.py
|
|
498
|
-
tests/foundation/config/filesystems/test_foundation_config_filesystems_public.py
|
|
499
|
-
tests/foundation/config/logging/__init__.py
|
|
500
|
-
tests/foundation/config/logging/test_foundation_config_logging.py
|
|
501
|
-
tests/foundation/config/logging/test_foundation_config_logging_channels.py
|
|
502
|
-
tests/foundation/config/logging/test_foundation_config_logging_chunked.py
|
|
503
|
-
tests/foundation/config/logging/test_foundation_config_logging_daily.py
|
|
504
|
-
tests/foundation/config/logging/test_foundation_config_logging_hourly.py
|
|
505
|
-
tests/foundation/config/logging/test_foundation_config_logging_monthly.py
|
|
506
|
-
tests/foundation/config/logging/test_foundation_config_logging_stack.py
|
|
507
|
-
tests/foundation/config/logging/test_foundation_config_logging_weekly.py
|
|
508
|
-
tests/foundation/config/mail/__init__.py
|
|
509
|
-
tests/foundation/config/mail/test_foundation_config_mail.py
|
|
510
|
-
tests/foundation/config/mail/test_foundation_config_mail_file.py
|
|
511
|
-
tests/foundation/config/mail/test_foundation_config_mail_mailers.py
|
|
512
|
-
tests/foundation/config/mail/test_foundation_config_mail_smtp.py
|
|
513
|
-
tests/foundation/config/queue/__init__.py
|
|
514
|
-
tests/foundation/config/queue/test_foundation_config_queue.py
|
|
515
|
-
tests/foundation/config/queue/test_foundation_config_queue_brokers.py
|
|
516
|
-
tests/foundation/config/queue/test_foundation_config_queue_database.py
|
|
517
|
-
tests/foundation/config/root/__init__.py
|
|
518
|
-
tests/foundation/config/root/test_foundation_config_root_paths.py
|
|
519
|
-
tests/foundation/config/session/__init__.py
|
|
520
|
-
tests/foundation/config/session/test_foundation_config_session.py
|
|
521
|
-
tests/foundation/config/startup/__init__.py
|
|
522
|
-
tests/foundation/config/startup/test_foundation_config_startup.py
|
|
523
|
-
tests/foundation/config/testing/__init__.py
|
|
524
|
-
tests/foundation/config/testing/test_foundation_config_testing.py
|
|
525
|
-
tests/foundation/exceptions/__init__.py
|
|
526
|
-
tests/foundation/exceptions/test_foundation_config_exceptions.py
|
|
527
529
|
tests/metadata/__init__.py
|
|
528
530
|
tests/metadata/test_metadata_framework.py
|
|
529
531
|
tests/metadata/test_metadata_package.py
|
|
530
532
|
tests/services/__init__.py
|
|
531
533
|
tests/services/asynchrony/__init__.py
|
|
532
534
|
tests/services/asynchrony/test_services_asynchrony_coroutine.py
|
|
533
|
-
tests/services/environment/__init__.py
|
|
534
|
-
tests/services/environment/test_services_environment.py
|
|
535
535
|
tests/services/introspection/__init__.py
|
|
536
536
|
tests/services/introspection/test_reflection.py
|
|
537
537
|
tests/services/introspection/dependencies/__init__.py
|
|
@@ -567,5 +567,14 @@ tests/support/standard/test_services_std.py
|
|
|
567
567
|
tests/support/wrapper/__init__.py
|
|
568
568
|
tests/support/wrapper/test_services_wrapper_docdict.py
|
|
569
569
|
tests/testing/__init__.py
|
|
570
|
-
tests/testing/
|
|
571
|
-
tests/testing/
|
|
570
|
+
tests/testing/test_testing_unit.py
|
|
571
|
+
tests/testing/cases/__init__.py
|
|
572
|
+
tests/testing/cases/test_testing_asynchronous.py
|
|
573
|
+
tests/testing/cases/test_testing_synchronous.py
|
|
574
|
+
tests/testing/entities/__init__.py
|
|
575
|
+
tests/testing/entities/test_testing_result.py
|
|
576
|
+
tests/testing/enums/__init__.py
|
|
577
|
+
tests/testing/enums/test_testing_status.py
|
|
578
|
+
tests/testing/output/__init__.py
|
|
579
|
+
tests/testing/output/test_testing_dumper.py
|
|
580
|
+
tests/testing/output/test_testing_printer.py
|
|
@@ -3,7 +3,7 @@ from orionis.container.enums.lifetimes import Lifetime
|
|
|
3
3
|
from orionis.container.exceptions.type import OrionisContainerTypeError
|
|
4
4
|
from orionis.test.cases.asynchronous import AsyncTestCase
|
|
5
5
|
|
|
6
|
-
class
|
|
6
|
+
class TestEntities(AsyncTestCase):
|
|
7
7
|
|
|
8
8
|
async def testBindingInitialization(self):
|
|
9
9
|
"""
|
|
File without changes
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
from orionis.test.cases.asynchronous import AsyncTestCase
|
|
2
|
+
import inspect
|
|
3
|
+
|
|
4
|
+
class TestAsyncTestCase(AsyncTestCase):
|
|
5
|
+
|
|
6
|
+
async def testMethodsExist(self):
|
|
7
|
+
"""
|
|
8
|
+
Checks if the AsyncTestCase class defines the required asynchronous lifecycle methods.
|
|
9
|
+
|
|
10
|
+
Parameters
|
|
11
|
+
----------
|
|
12
|
+
self : TestAsyncTestCase
|
|
13
|
+
The test case instance.
|
|
14
|
+
|
|
15
|
+
Returns
|
|
16
|
+
-------
|
|
17
|
+
None
|
|
18
|
+
This method does not return anything. It asserts the existence of required methods.
|
|
19
|
+
|
|
20
|
+
Notes
|
|
21
|
+
-----
|
|
22
|
+
This test ensures that the AsyncTestCase class contains all necessary asynchronous lifecycle methods
|
|
23
|
+
for proper setup and teardown in asynchronous test scenarios.
|
|
24
|
+
"""
|
|
25
|
+
required_methods = [
|
|
26
|
+
"asyncSetUp",
|
|
27
|
+
"asyncTearDown",
|
|
28
|
+
"onAsyncSetup",
|
|
29
|
+
"onAsyncTeardown"
|
|
30
|
+
]
|
|
31
|
+
# Assert that each required method exists in AsyncTestCase
|
|
32
|
+
for method_name in required_methods:
|
|
33
|
+
self.assertTrue(hasattr(AsyncTestCase, method_name), f"{method_name} does not exist")
|
|
34
|
+
|
|
35
|
+
async def testMethodsAreCoroutines(self):
|
|
36
|
+
"""
|
|
37
|
+
Checks that all required asynchronous lifecycle methods in AsyncTestCase are coroutine functions.
|
|
38
|
+
|
|
39
|
+
Parameters
|
|
40
|
+
----------
|
|
41
|
+
self : TestAsyncTestCase
|
|
42
|
+
The test case instance.
|
|
43
|
+
|
|
44
|
+
Returns
|
|
45
|
+
-------
|
|
46
|
+
None
|
|
47
|
+
This method does not return anything. It asserts that required methods are coroutine functions.
|
|
48
|
+
|
|
49
|
+
Notes
|
|
50
|
+
-----
|
|
51
|
+
This test verifies that the lifecycle methods are implemented as coroutine functions,
|
|
52
|
+
which is necessary for asynchronous execution in test cases.
|
|
53
|
+
"""
|
|
54
|
+
required_methods = [
|
|
55
|
+
"asyncSetUp",
|
|
56
|
+
"asyncTearDown",
|
|
57
|
+
"onAsyncSetup",
|
|
58
|
+
"onAsyncTeardown"
|
|
59
|
+
]
|
|
60
|
+
# Assert that each required method is a coroutine function
|
|
61
|
+
for method_name in required_methods:
|
|
62
|
+
method = getattr(AsyncTestCase, method_name)
|
|
63
|
+
self.assertTrue(inspect.iscoroutinefunction(method), f"{method_name} is not a coroutine function")
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
from orionis.test.cases.asynchronous import AsyncTestCase
|
|
2
|
+
from orionis.test.cases.synchronous import SyncTestCase
|
|
3
|
+
import inspect
|
|
4
|
+
|
|
5
|
+
class TestSyncTestCase(AsyncTestCase):
|
|
6
|
+
|
|
7
|
+
async def testHasMethods(self):
|
|
8
|
+
"""
|
|
9
|
+
Checks whether the SyncTestCase class defines the required synchronous lifecycle methods.
|
|
10
|
+
|
|
11
|
+
This test verifies the existence of the following methods in SyncTestCase:
|
|
12
|
+
- setUp: Prepares the test environment before each test.
|
|
13
|
+
- tearDown: Cleans up the test environment after each test.
|
|
14
|
+
- onSetup: Additional setup logic for tests.
|
|
15
|
+
- onTeardown: Additional teardown logic for tests.
|
|
16
|
+
|
|
17
|
+
Returns
|
|
18
|
+
-------
|
|
19
|
+
None
|
|
20
|
+
This method does not return any value. It performs assertions to validate the presence of required methods.
|
|
21
|
+
"""
|
|
22
|
+
# Assert that SyncTestCase has a setUp method
|
|
23
|
+
self.assertTrue(hasattr(SyncTestCase, "setUp"))
|
|
24
|
+
|
|
25
|
+
# Assert that SyncTestCase has a tearDown method
|
|
26
|
+
self.assertTrue(hasattr(SyncTestCase, "tearDown"))
|
|
27
|
+
|
|
28
|
+
# Assert that SyncTestCase has an onSetup method
|
|
29
|
+
self.assertTrue(hasattr(SyncTestCase, "onSetup"))
|
|
30
|
+
|
|
31
|
+
# Assert that SyncTestCase has an onTeardown method
|
|
32
|
+
self.assertTrue(hasattr(SyncTestCase, "onTeardown"))
|
|
33
|
+
|
|
34
|
+
async def testMethodsAreNotCoroutines(self):
|
|
35
|
+
"""
|
|
36
|
+
Checks that the lifecycle methods of SyncTestCase are regular functions and not coroutine functions.
|
|
37
|
+
|
|
38
|
+
This test ensures that the following methods are synchronous:
|
|
39
|
+
- setUp
|
|
40
|
+
- tearDown
|
|
41
|
+
- onSetup
|
|
42
|
+
- onTeardown
|
|
43
|
+
|
|
44
|
+
Returns
|
|
45
|
+
-------
|
|
46
|
+
None
|
|
47
|
+
This method does not return any value. It performs assertions to confirm that the methods are not coroutine functions.
|
|
48
|
+
"""
|
|
49
|
+
# Assert that setUp is not a coroutine function
|
|
50
|
+
self.assertFalse(inspect.iscoroutinefunction(SyncTestCase.setUp))
|
|
51
|
+
|
|
52
|
+
# Assert that tearDown is not a coroutine function
|
|
53
|
+
self.assertFalse(inspect.iscoroutinefunction(SyncTestCase.tearDown))
|
|
54
|
+
|
|
55
|
+
# Assert that onSetup is not a coroutine function
|
|
56
|
+
self.assertFalse(inspect.iscoroutinefunction(SyncTestCase.onSetup))
|
|
57
|
+
|
|
58
|
+
# Assert that onTeardown is not a coroutine function
|
|
59
|
+
self.assertFalse(inspect.iscoroutinefunction(SyncTestCase.onTeardown))
|
|
File without changes
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
from orionis.test.cases.asynchronous import AsyncTestCase
|
|
2
|
+
from orionis.test.entities.result import TestResult
|
|
3
|
+
from orionis.test.enums import TestStatus
|
|
4
|
+
|
|
5
|
+
class TestTestingResult(AsyncTestCase):
|
|
6
|
+
|
|
7
|
+
async def testDefaultValues(self) -> None:
|
|
8
|
+
"""
|
|
9
|
+
Ensures that optional fields in a TestResult instance are set to None when not provided during initialization.
|
|
10
|
+
|
|
11
|
+
This test checks the default behavior for the following optional fields:
|
|
12
|
+
- error_message
|
|
13
|
+
- traceback
|
|
14
|
+
- class_name
|
|
15
|
+
- method
|
|
16
|
+
- module
|
|
17
|
+
- file_path
|
|
18
|
+
|
|
19
|
+
The method asserts that each of these fields is None after instantiating TestResult with only required arguments.
|
|
20
|
+
|
|
21
|
+
Parameters
|
|
22
|
+
----------
|
|
23
|
+
self : TestTestingResult
|
|
24
|
+
The test case instance.
|
|
25
|
+
|
|
26
|
+
Returns
|
|
27
|
+
-------
|
|
28
|
+
None
|
|
29
|
+
This method does not return any value. It performs assertions to validate default field values.
|
|
30
|
+
|
|
31
|
+
Notes
|
|
32
|
+
-----
|
|
33
|
+
This test verifies that the TestResult dataclass correctly initializes optional fields to None when they are omitted.
|
|
34
|
+
"""
|
|
35
|
+
# Create a TestResult instance with only required fields
|
|
36
|
+
result = TestResult(
|
|
37
|
+
id=1,
|
|
38
|
+
name="Sample Test",
|
|
39
|
+
status=TestStatus.PASSED,
|
|
40
|
+
execution_time=0.5
|
|
41
|
+
)
|
|
42
|
+
# Assert that all optional fields are set to None by default
|
|
43
|
+
self.assertIsNone(result.error_message)
|
|
44
|
+
self.assertIsNone(result.traceback)
|
|
45
|
+
self.assertIsNone(result.class_name)
|
|
46
|
+
self.assertIsNone(result.method)
|
|
47
|
+
self.assertIsNone(result.module)
|
|
48
|
+
self.assertIsNone(result.file_path)
|
|
49
|
+
|
|
50
|
+
async def testRequiredFields(self) -> None:
|
|
51
|
+
"""
|
|
52
|
+
Validates that TestResult enforces the presence of all required fields during initialization.
|
|
53
|
+
|
|
54
|
+
This test attempts to instantiate TestResult without required fields and expects a TypeError to be raised.
|
|
55
|
+
|
|
56
|
+
Parameters
|
|
57
|
+
----------
|
|
58
|
+
self : TestTestingResult
|
|
59
|
+
The test case instance.
|
|
60
|
+
|
|
61
|
+
Returns
|
|
62
|
+
-------
|
|
63
|
+
None
|
|
64
|
+
This method does not return any value. It performs assertions to validate required field enforcement.
|
|
65
|
+
|
|
66
|
+
Notes
|
|
67
|
+
-----
|
|
68
|
+
- Attempts to instantiate TestResult with no arguments.
|
|
69
|
+
- Attempts to instantiate TestResult missing the 'id' field.
|
|
70
|
+
- Expects a TypeError to be raised in both cases.
|
|
71
|
+
"""
|
|
72
|
+
# Attempt to create TestResult with no arguments; should raise TypeError
|
|
73
|
+
with self.assertRaises(TypeError):
|
|
74
|
+
TestResult() # Missing all required fields
|
|
75
|
+
|
|
76
|
+
# Attempt to create TestResult missing the 'id' field; should raise TypeError
|
|
77
|
+
with self.assertRaises(TypeError):
|
|
78
|
+
TestResult(
|
|
79
|
+
name="Sample Test",
|
|
80
|
+
status=TestStatus.PASSED,
|
|
81
|
+
execution_time=0.5
|
|
82
|
+
)
|
|
83
|
+
|
|
84
|
+
async def testImmutable(self) -> None:
|
|
85
|
+
"""
|
|
86
|
+
Tests the immutability of TestResult instances.
|
|
87
|
+
|
|
88
|
+
Ensures that TestResult, implemented as a frozen dataclass, does not allow modification of its attributes after instantiation.
|
|
89
|
+
|
|
90
|
+
Parameters
|
|
91
|
+
----------
|
|
92
|
+
self : TestTestingResult
|
|
93
|
+
The test case instance.
|
|
94
|
+
|
|
95
|
+
Returns
|
|
96
|
+
-------
|
|
97
|
+
None
|
|
98
|
+
This method does not return any value. It performs assertions to validate immutability.
|
|
99
|
+
|
|
100
|
+
Raises
|
|
101
|
+
------
|
|
102
|
+
Exception
|
|
103
|
+
If an attempt is made to modify an attribute of a frozen TestResult instance.
|
|
104
|
+
|
|
105
|
+
Notes
|
|
106
|
+
-----
|
|
107
|
+
Attempts to modify the 'name' attribute of a TestResult instance and expects an exception to be raised.
|
|
108
|
+
"""
|
|
109
|
+
# Create a TestResult instance
|
|
110
|
+
result = TestResult(
|
|
111
|
+
id=1,
|
|
112
|
+
name="Sample Test",
|
|
113
|
+
status=TestStatus.PASSED,
|
|
114
|
+
execution_time=0.5
|
|
115
|
+
)
|
|
116
|
+
# Attempt to modify an attribute; should raise an exception due to immutability
|
|
117
|
+
with self.assertRaises(Exception):
|
|
118
|
+
result.name = "Modified Name"
|
|
119
|
+
|
|
120
|
+
async def testStatusValues(self) -> None:
|
|
121
|
+
"""
|
|
122
|
+
Verifies that all possible values of the TestStatus enum can be assigned to the status field of a TestResult instance.
|
|
123
|
+
|
|
124
|
+
Iterates over each TestStatus value, assigns it to a TestResult, and asserts that the status is set correctly.
|
|
125
|
+
|
|
126
|
+
Parameters
|
|
127
|
+
----------
|
|
128
|
+
self : TestTestingResult
|
|
129
|
+
The test case instance.
|
|
130
|
+
|
|
131
|
+
Returns
|
|
132
|
+
-------
|
|
133
|
+
None
|
|
134
|
+
This method does not return any value. It performs assertions to validate status assignment.
|
|
135
|
+
|
|
136
|
+
Notes
|
|
137
|
+
-----
|
|
138
|
+
This test ensures that the status field in TestResult supports all enum values defined in TestStatus.
|
|
139
|
+
"""
|
|
140
|
+
# Iterate through all possible TestStatus values
|
|
141
|
+
for status in TestStatus:
|
|
142
|
+
# Create a TestResult instance with the current status
|
|
143
|
+
result = TestResult(
|
|
144
|
+
id=1,
|
|
145
|
+
name="Status Test",
|
|
146
|
+
status=status,
|
|
147
|
+
execution_time=0.1
|
|
148
|
+
)
|
|
149
|
+
# Assert that the status field matches the assigned value
|
|
150
|
+
self.assertEqual(result.status, status)
|
|
151
|
+
|
|
152
|
+
async def testErrorFields(self) -> None:
|
|
153
|
+
"""
|
|
154
|
+
Verifies that the error_message and traceback fields are correctly stored in the TestResult object when provided.
|
|
155
|
+
|
|
156
|
+
This test initializes a TestResult with error_message and traceback values and asserts that they are set as expected.
|
|
157
|
+
|
|
158
|
+
Parameters
|
|
159
|
+
----------
|
|
160
|
+
self : TestTestingResult
|
|
161
|
+
The test case instance.
|
|
162
|
+
|
|
163
|
+
Returns
|
|
164
|
+
-------
|
|
165
|
+
None
|
|
166
|
+
This method does not return any value. It performs assertions to validate error field assignment.
|
|
167
|
+
|
|
168
|
+
Notes
|
|
169
|
+
-----
|
|
170
|
+
This test ensures that error-related fields are properly assigned and retrievable from the TestResult instance.
|
|
171
|
+
"""
|
|
172
|
+
error_msg = "Test failed"
|
|
173
|
+
traceback = "Traceback info"
|
|
174
|
+
# Create a TestResult instance with error fields
|
|
175
|
+
result = TestResult(
|
|
176
|
+
id=1,
|
|
177
|
+
name="Failing Test",
|
|
178
|
+
status=TestStatus.FAILED,
|
|
179
|
+
execution_time=0.2,
|
|
180
|
+
error_message=error_msg,
|
|
181
|
+
traceback=traceback
|
|
182
|
+
)
|
|
183
|
+
# Assert that error_message and traceback fields are set correctly
|
|
184
|
+
self.assertEqual(result.error_message, error_msg)
|
|
185
|
+
self.assertEqual(result.traceback, traceback)
|
|
File without changes
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
from orionis.test.cases.asynchronous import AsyncTestCase
|
|
3
|
+
from orionis.test.enums.status import TestStatus
|
|
4
|
+
|
|
5
|
+
class TestTestStatus(AsyncTestCase):
|
|
6
|
+
|
|
7
|
+
async def testHasEnumMembers(self):
|
|
8
|
+
"""
|
|
9
|
+
Checks that the TestStatus enum contains the expected members.
|
|
10
|
+
|
|
11
|
+
This test verifies the presence of the following enum members:
|
|
12
|
+
'PASSED', 'FAILED', 'ERRORED', and 'SKIPPED'.
|
|
13
|
+
|
|
14
|
+
Returns
|
|
15
|
+
-------
|
|
16
|
+
None
|
|
17
|
+
This method does not return a value. It asserts the existence of enum members.
|
|
18
|
+
"""
|
|
19
|
+
# Assert that each expected member exists in TestStatus
|
|
20
|
+
self.assertTrue(hasattr(TestStatus, "PASSED"))
|
|
21
|
+
self.assertTrue(hasattr(TestStatus, "FAILED"))
|
|
22
|
+
self.assertTrue(hasattr(TestStatus, "ERRORED"))
|
|
23
|
+
self.assertTrue(hasattr(TestStatus, "SKIPPED"))
|
|
24
|
+
|
|
25
|
+
async def testEnumValuesAreUnique(self):
|
|
26
|
+
"""
|
|
27
|
+
Ensures that all TestStatus enum member values are unique.
|
|
28
|
+
|
|
29
|
+
This test collects all values from the TestStatus enum and checks for uniqueness.
|
|
30
|
+
|
|
31
|
+
Returns
|
|
32
|
+
-------
|
|
33
|
+
None
|
|
34
|
+
This method does not return a value. It asserts the uniqueness of enum values.
|
|
35
|
+
"""
|
|
36
|
+
# Gather all enum values
|
|
37
|
+
values = [status.value for status in TestStatus]
|
|
38
|
+
# Assert that the number of values equals the number of unique values
|
|
39
|
+
self.assertEqual(len(values), len(set(values)))
|
|
40
|
+
|
|
41
|
+
async def testEnumIsInstanceOfEnum(self):
|
|
42
|
+
"""
|
|
43
|
+
Validates that TestStatus is a subclass of Enum.
|
|
44
|
+
|
|
45
|
+
This test checks the inheritance of TestStatus from the Enum base class.
|
|
46
|
+
|
|
47
|
+
Returns
|
|
48
|
+
-------
|
|
49
|
+
None
|
|
50
|
+
This method does not return a value. It asserts the subclass relationship.
|
|
51
|
+
"""
|
|
52
|
+
# Assert that TestStatus inherits from Enum
|
|
53
|
+
self.assertTrue(issubclass(TestStatus, Enum))
|
|
54
|
+
|
|
55
|
+
async def testEnumMembersType(self):
|
|
56
|
+
"""
|
|
57
|
+
Confirms that each member of TestStatus is an instance of TestStatus.
|
|
58
|
+
|
|
59
|
+
This test iterates through all members of TestStatus and checks their type.
|
|
60
|
+
|
|
61
|
+
Returns
|
|
62
|
+
-------
|
|
63
|
+
None
|
|
64
|
+
This method does not return a value. It asserts the type of each enum member.
|
|
65
|
+
"""
|
|
66
|
+
# Assert that each enum member is an instance of TestStatus
|
|
67
|
+
for status in TestStatus:
|
|
68
|
+
self.assertIsInstance(status, TestStatus)
|
|
File without changes
|