clean-python-tests

Installation
SKILL.md

Clean Python Tests

T1: Insufficient Tests

Test everything that could possibly break. Use coverage tools as a guide, not a goal.

# Bad - only tests happy path
def test_divide() -> None:
    assert divide(10, 2) == 5

# Good - tests edge cases too
def test_divide_normal() -> None:
    assert divide(10, 2) == 5

def test_divide_by_zero() -> None:
    with pytest.raises(ZeroDivisionError):
        divide(10, 0)
Installs
7
GitHub Stars
1
First Seen
May 21, 2026
clean-python-tests — gosukiwi/clean-code-skills