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

Let rez-selftest try using pytest #1051

Merged

Conversation

davidlatwe
Copy link
Contributor

@davidlatwe davidlatwe commented Mar 30, 2021

For better test log reviewing, I propose to opt-in pytest (still use unittest if pytest not installed in Rez venv).
See how tidy the test reports in github-actions are.

I have changed the selftest sub-command arg mode to passthrough, so it can accept additional pytest args. But the existing /pytest.ini contains pytest-cov options, so one might have to install pytest-cov for the arguments like --cov can be recognized.

@davidlatwe
Copy link
Contributor Author

Can we have this merged ?

@nerdvegas
Copy link
Contributor

nerdvegas commented Apr 13, 2021 via email

@nerdvegas nerdvegas merged commit 9c69e1d into AcademySoftwareFoundation:master May 4, 2021
@davidlatwe davidlatwe deleted the opt-in-pytest branch May 4, 2021 04:57
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