Skip to content
Open
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
20 changes: 4 additions & 16 deletions docs/python_interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,11 @@ For wheel packaging, the extension is also copied into the package as `dds3/_dds
python -m venv venv
source venv/bin/activate

# Install pytest (if not already installed)
pip install pytest
```

### Running Unit Tests
```bash
# Set PYTHONPATH to include source package and top-level extension fallback
export PYTHONPATH=python:bazel-bin/python

# Run Bazel smoke test for Python bindings
bazel test //python:python_interface_smoke_test

# Or use pytest directly
pytest python/tests/ -v

# Run specific test file
pytest python/tests/test_solve_board.py -v
# Run all Python tests via Bazelisk (recommended)
bazelisk test //python/...
# Run a specific test
bazelisk test //python:solve_board_test
```

### Test Coverage
Expand Down