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

Parametrize tests #45

Open
gregmedlock opened this issue Jan 2, 2020 · 0 comments
Open

Parametrize tests #45

gregmedlock opened this issue Jan 2, 2020 · 0 comments
Labels

Comments

@gregmedlock
Copy link
Member

Several tests can and should take advantage of purest parametrization (https://docs.pytest.org/en/latest/parametrize.html). This will greatly reduce the size of the test code and should lead to fewer copy/paste errors where the same tests are intended to be run on slightly different inputs. E.g., the batch files vs. all-at-once ensemble load strategy testing here: https://github.com/gregmedlock/Medusa/blob/development/medusa/test/test_load_from_file.py

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