mix python.test (Lux v0.5.0)
View SourceRuns Python tests using pytest.
Examples
# Run all Python tests
mix python.test
# Run specific test file
mix python.test tests/test_eval.py
# Run tests with specific marker
mix python.test --marker="not slow"
# Show test coverage
mix python.test --cov
The task will use Poetry to manage dependencies and run tests.
Make sure you have Poetry installed and have run poetry install
in the priv/python directory first.