Pytest Testing Framework
Pytest is a mature Python testing framework that makes it easy to write small tests while scaling to support complex functional testing.
Quick Start
Basic Test Structure
# test_example.py
def test_addition():
assert 2 + 2 == 4
def test_string_operations():
assert "hello".upper() == "HELLO"
assert "world" in "hello world"
Running Tests
# Run all tests
uv run pytest
# Run with verbose output
uv run pytest -v
# Run spe
[Description truncada. Veja o README completo no GitHub.]