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

improve shell parameterization in tests #1271

Closed
nerdvegas opened this issue Apr 5, 2022 · 0 comments · Fixed by #1272
Closed

improve shell parameterization in tests #1271

nerdvegas opened this issue Apr 5, 2022 · 0 comments · Fixed by #1272

Comments

@nerdvegas
Copy link
Contributor

Iterating over shell in tests currently is not done very well. It is difficult to determine which shells ran and where an error occurs.

Pytest has good support for parameterization, and there's a project that will enable it both for pytest and unittest, which suits rez perfectly (since porting all its tests to pytest will be a decent chunk of work): https://pypi.org/project/parameterized/

Motivation
We would like tests that suck less. This will also help with efforts on #1256

Related Issues/PRs

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

Successfully merging a pull request may close this issue.

1 participant