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

Refactor string formatting test cases to use pytest-cases #36

Open
jackirvine97 opened this issue Sep 16, 2020 · 1 comment
Open

Refactor string formatting test cases to use pytest-cases #36

jackirvine97 opened this issue Sep 16, 2020 · 1 comment
Labels

Comments

@jackirvine97
Copy link
Collaborator

jackirvine97 commented Sep 16, 2020

Pytest-cases enables parametrisation of text fixtures and would allow (currently hardcoded) string formatting examples to be refactored into fixtures and used across multiple tests. Pytest-cases is presently not available on conda-forge, however this has been raised with maintainers: smarie/python-pytest-cases#135.

If pytest-cases is added to conda-forge the refactored tests are implemented in the repo at commit 3672345.

@brocksam
Copy link
Owner

This is now feasible. See: https://anaconda.org/conda-forge/pytest-cases.

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

2 participants