From f652aba3684d29c29da40b56845bed100c53a2c1 Mon Sep 17 00:00:00 2001 From: wopdevries Date: Wed, 29 Jul 2026 08:38:26 +0200 Subject: [PATCH] docs: recommend bazelisk for Python tests instead of raw pytest --- docs/python_interface.md | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/docs/python_interface.md b/docs/python_interface.md index 507b28b4..8566827c 100644 --- a/docs/python_interface.md +++ b/docs/python_interface.md @@ -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