News

Testing functions isn't hard, but how do you test user input and output? In my last article, I started looking at "pytest", a framework for testing Python programs that's really changed the way I look ...
PyUnit (Unit Test) is the default testing framework for unit testing that comes with Python. Similar to PyTest, in PyUnit also the test cases follow a particular format where tests either start with ...
The pytest people agree, and they suggest the use of "parametrized tests". The idea here is that you define the test a single time, but tell pytest which inputs and outputs to provide. You can do this ...