testing-conventions 0.0.26

Enforce testing conventions in libraries (Python, TypeScript, and Rust).
Documentation
1
2
3
4
5
6
7
8
9
import pytest


@pytest.fixture
def unused_client():
    # Only runs when a test requests the fixture; nothing does, so this line is
    # uncovered. If conftest.py were counted as a subject instead of omitted, it
    # would drag the codebase below a 100 floor — widget.py alone is fully covered.
    return object()