Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run test suites if project__test__name_match is defined #3784

Open
yippie opened this issue May 13, 2024 · 0 comments
Open

Can't run test suites if project__test__name_match is defined #3784

yippie opened this issue May 13, 2024 · 0 comments
Labels

Comments

@yippie
Copy link
Contributor

yippie commented May 13, 2024

Describe the bug

When using the run_tests task, having project__test__name_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 project__test__name_match, not throw a conflict error. The conflict error should be reserved for if both flags are explicitly set.

Reproduction steps

  1. Put a pattern in project__test__name_match in the cumulusci.yml file
  2. 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

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

@yippie yippie added the bug label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant