pytestEasy Playground

Feature-rich testing: fixtures, parametrize, plugins, auto-discovery

Getting started with pytestRun locally
Install
pip install pytest
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: pytest)

pytest is a third-party package. Feature-rich testing: fixtures, parametrize, plugins, auto-discovery. Install with: pip install pytest

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?