-
Notifications
You must be signed in to change notification settings - Fork 115
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
Add basic fixture cli #13101
Add basic fixture cli #13101
Conversation
bd953ad
to
979da31
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat idea. Would be cool to see the ability to pull in test file specific fixtures as well!
This change adds a new fixture_cli.py script under the scripts directory. The basic usage of this script is to take in a space-separated list of global fixtures and run them together in a single temporary test. e.g. python scripts/fixture_cli.py module_ak_with_synced_repo module_lce Additionally, I had to make some minor adjustments to a couple of plugins since this temporary test doesn't follow the same rules as the rest of our framework.
979da31
to
448b601
Compare
@sambible You got it! |
@JacobCallahan We could improve to read fixture names automatically from global fixture module instead of providing them on command as arguments. |
We discussed this in a meeting and decided to consider what we're looking for with this request and revisit some form of fixture selection in the future. |
This change adds a new fixture_cli.py script under the scripts directory.
The basic usage of this script is to take in a space-separated list of global fixtures and run them together in a single temporary test.
e.g. python scripts/fixture_cli.py module_ak_with_synced_repo module_lce
Additionally, I had to make some minor adjustments to a couple of plugins since this temporary test doesn't follow the same rules as the rest of our framework.