Skip to content

Support passing pytest arguments via tox #390

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

Merged
merged 2 commits into from
May 1, 2023

Conversation

musicinmybrain
Copy link
Contributor

@musicinmybrain musicinmybrain commented Apr 23, 2023

This could be used, for example, to increase verbosity or to skip particular tests.

Issue #, if available: (no issue filed)

Description of changes:

Adds {posargs} to the end of each pytest invocation in tox.ini.

Sample usage: $ tox -e py311-core -- -v

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This could be used, for example, to increase verbosity or to skip
particular tests.
@musicinmybrain musicinmybrain requested a review from a team as a code owner April 23, 2023 18:19
Copy link
Contributor

@srprash srprash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this ability!

@srprash srprash merged commit 2976b25 into aws:master May 1, 2023
@musicinmybrain
Copy link
Contributor Author

Thanks for reviewing and merging this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants