Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ nox -s unit_tests # Full unit test suite
nox -s babel # I18n message extraction and compilation
```

**Direct testing with pytest:**
```bash
pytest -m smoke # Smoke tests for core functionality
pytest -m unit # Unit tests for isolated components
pytest -m integration # End-to-end integration tests
```

**Development setup:**
```bash
cd python/
Expand Down Expand Up @@ -101,7 +94,7 @@ python3.9 -m PiFinder.main -fh --camera debug --keyboard local -x

## Testing Strategy

Tests use pytest with custom markers for different test types. The smoke tests provide quick validation while unit tests cover isolated functionality. Integration tests validate end-to-end workflows including the multi-process architecture.
Tests use pytest with custom markers for different test types. The smoke tests provide quick validation while unit tests cover isolated functionality. Integration tests validate end-to-end workflows including the multi-process architecture. Although using pytest under the hood, nox should be used as an entrypoint for all linting, testing and other code quality tooling.

**Key test areas:**
- Calculation utilities and coordinate transformations
Expand All @@ -111,6 +104,7 @@ Tests use pytest with custom markers for different test types. The smoke tests p
- Hardware interface abstractions

## Code Quality
nox should be used as the front end for all code quality checking and testing. Nox is using these technologies under the hood, but these should always be called through a specific nox session.

- **Linting:** Ruff with Python 3.9 target, Black-compatible formatting
- **Type Checking:** MyPy with gradual typing adoption
Expand Down
Loading
Loading