Open
Description
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 https://docs.pytest.org/en/latest/parametrize.html). 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.
Metadata
Metadata
Assignees
Labels
No labels