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

Test parameterisation #15

andreww opened this issue Sep 2, 2017 · 0 comments

Test parameterisation #15

andreww opened this issue Sep 2, 2017 · 0 comments


Copy link

andreww commented Sep 2, 2017

Is there value in adding material to cover simple test parameterisation?

I imagine this could fit in after edge and corner cases, reuse the sinc2d example, and make use of the @pytest.mark.parametrize decorator (docs are at Essentially this could be "something else useful that pytest does" and could be a task of refactoring the collection of edge and corner case tests.

As I see it there are two down sides of this. First, it would make the lesson longer, and that's not necessarily a good thing. Second, it would make use of decorators, and these would probably be new to many learners.

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

No branches or pull requests

1 participant