Tests with pytest

Tests with pytest: Your First Tests with pytest.

Updated

  1. Your First Tests with pytest (Journeyman): A test is a small function that runs your code on an example and makes sure the answer is right, and pytest finds every test, runs it, and shows exactly what came back when one fails.