Orchestrata Ultimate › Tests › Reference › test_orchestrata_tools_testgen_config_coverage
Tests reference — tests/test_orchestrata_tools_testgen_config_coverage.py
Module of tests, split out because the directory page would be too large.
Prose pending.
tests/test_orchestrata_tools_testgen_config_coverage.py
source · 11 tests · 158 lines
Unit tests for
orchestrata_tools.test_generator.testgen.config.
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_default_config_field_values |
32 | A bare ProjectConfig() carries the documented defaults. |
| function | test_default_allowed_stdlib_imports_are_a_set |
45 | The default stdlib import list is a mutable set, not a frozenset/list. |
| function | test_custom_config_field_values |
54 | Every field can be overridden via explicit constructor arguments. |
| function | test_default_factories_are_per_instance |
79 | Mutable defaults must not be shared across instances. |
| function | test_partial_custom_config_keeps_remaining_defaults |
95 | Omitting some fields keeps the defaults for the rest. |
| function | test_equality_of_identical_configs |
108 | Two configs with equal field values are dataclass-equal. |
| function | test_orchestrata_ultimate_predefined_config |
115 | ORCHESTRATA_ULTIMATE is a ready-made config for this project. |
| function | test_get_config_known_name_returns_shared_instance |
128 | The well-known name resolves to the module-level pre-defined config. |
| function | test_get_config_unknown_name_returns_fresh_default |
133 | An unknown project name yields a brand-new default config. |
| function | test_get_config_none_returns_fresh_default |
144 | Passing None (the default argument) yields a default config. |
| function | test_get_config_without_argument_returns_fresh_default |
152 | Calling get_config() with no argument is equivalent to None. |