pytest-cov — Easy Playground
Pytest plugin for coverage.py integration
Getting started with pytest-covRun locally
Install
pip install pytest-covPython CodeRun locally
Expected Output
# Expected output shown below # (Run locally with: pytest_cov)
pytest-cov is a third-party package. Pytest plugin for coverage.py integration. Install with: pip install pytest-cov
Challenge
Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?