Orchestrata Ultimate › Tests › Reference › test_orchestrata_tools_testgen_param_strategy
Tests reference — tests/test_orchestrata_tools_testgen_param_strategy.py
Module of tests, split out because the directory page would be too large.
Prose pending.
tests/test_orchestrata_tools_testgen_param_strategy.py
source · 21 tests · 290 lines
Tests for the ParamValueStrategy family in orchestrata_tools testgen types.
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_path_like_names_are_recognised |
85 | |
| function | test_non_path_names_are_not_path_like |
92 | |
| function | test_path_names_table_is_the_documented_set |
96 | |
| function | test_workspace_str_param_yields_tmp_path_value |
115 | |
| function | test_non_path_str_param_keeps_the_literal |
122 | |
| function | test_path_named_non_str_param_is_not_rewritten |
129 | |
| function | test_optional_str_path_param_falls_through_to_literal |
134 | |
| function | test_str_or_path_union_param_uses_tmp_path |
140 | |
| function | test_strategies_satisfy_the_protocol |
146 | |
| function | test_literal_strategy_fallback_names_the_parameter |
153 | |
| function | test_sentinel_for_param_testgen_entry_point |
159 | |
| function | test_enhanced_generator_workspace_param_gains_tmp_path |
168 | |
| function | test_enhanced_generator_plain_str_param_unchanged |
181 | |
| function | test_enhanced_async_workspace_param_gains_tmp_path |
192 | |
| function | test_jinja_generator_workspace_param_gains_tmp_path |
211 | |
| function | test_jinja_generator_plain_str_param_unchanged |
223 | |
| function | test_stub_generator_workspace_param_gains_tmp_path |
234 | |
| function | test_stub_generator_plain_str_param_unchanged |
244 | |
| function | test_stub_generator_path_annotation_now_declares_tmp_path |
253 | |
| function | test_branch_generator_workspace_param_gains_tmp_path |
271 | |
| function | test_branch_generator_without_path_params_declares_no_fixture |
281 |