Diagram tests: Testing like checking matplotlib
When plotting a graph with matplotlib, you define a x range as a list of values and the y range as a list of values. This is then plotted. These two lists are perfect parameterized test-cases and creating a test with many cases you just have to look at the plot which can be generated directly.
Comments
Post a Comment