Quick Start¶
Run tests¶
Navigate to any project directory and run:
testx will auto-detect the language and test framework, then run your tests with formatted output.
Detect without running¶
This shows what testx detected without actually running anything:
Pass arguments to the test runner¶
Use -- to pass extra arguments through:
testx -- --filter my_test
testx -- -k "test_login" # pytest filter
testx -- --test-threads=1 # cargo test flag
Run in a different directory¶
Generate a config file¶
Creates a testx.toml with defaults you can customize.
Common workflows¶
# Show 5 slowest tests
testx --slowest 5
# Set a timeout (kills after 60 seconds)
testx --timeout 60
# Show raw test runner output
testx --raw
# Verbose mode (shows the detected command)
testx -v
Next steps¶
- Output formats — JSON, JUnit XML, TAP
- CI sharding — split tests across CI nodes
- Flaky test detection — find intermittent failures
- Configuration — customize with
testx.toml