When using the run_tests task, having projecttestname_match defined in the cumulusci.yml file makes it impossible to run a test suite with the test_suite_names.
Please more generally allow the ability to "unset" an input variable or, for run_tests specifically, test_suite_names should OVERRIDE projecttestname_match, not throw a conflict error. The conflict error should be reserved for if both flags are explicitly set.
Reproduction steps
Put a pattern in projecttestname_match in the cumulusci.yml file
run cci task run run_tests --org dev --test_suite_names My_Test_Suite
EXPECTED: My_Test_Suite to run
ACTUAL: Error: Both test_suite_names and test_name_match cannot be passed simultaneously
Describe the bug
When using the
run_tests
task, having projecttestname_match defined in the cumulusci.yml file makes it impossible to run a test suite with the test_suite_names.Please more generally allow the ability to "unset" an input variable or, for run_tests specifically, test_suite_names should OVERRIDE projecttestname_match, not throw a conflict error. The conflict error should be reserved for if both flags are explicitly set.
Reproduction steps
cci task run run_tests --org dev --test_suite_names My_Test_Suite
EXPECTED: My_Test_Suite to run
ACTUAL:
Error: Both test_suite_names and test_name_match cannot be passed simultaneously
Your CumulusCI and Python versions
CumulusCI version: 3.86.0 (/Users/kai.amundsen/.local/bin/cci) Python version: 3.10.9 (/Users/kai.amundsen/.local/pipx/venvs/cumulusci/bin/python)
Operating System
macOS 14.4
Windows environment
No response
CumulusCI installation method
pipx
Error Gist
No response
Additional information
No response