You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# All tests
uv run pytest
# Unit tests only
uv run pytest -m unit
# Integration tests only
uv run pytest -m integration
# With coverage
uv run pytest --cov=pymultiwfn --cov-report=html
open htmlcov/index.html
@pytest.mark.unit# Fast, isolated tests@pytest.mark.integration# Integration tests@pytest.mark.slow# Slow tests (skip with -m "not slow")@pytest.mark.requires_data# Needs test data files
Test Data Structure
tests/test_data/
├── wfn/ # WFN format files
├── fchk/ # Gaussian FCHK files
└── molden/ # Molden format files
Common Commands
# List all tests
uv run pytest --collect-only
# Run specific test
uv run pytest tests/unit/test_core_data.py::TestAtom::test_creation
# Verbose with local variables
uv run pytest -v --showlocals
# Stop on first failure
uv run pytest -x
# Run with debugger on failure
uv run pytest --pdb