u/AmpsAnd01s

testx a universal test runner for 11 languages, built in Rust
▲ 1 r/rust

testx a universal test runner for 11 languages, built in Rust

hey all, been working on this for a while and finally put it out there.

testx is a test runner where you just run testx in any project and it figures out the language, framework, package manager, all of it. no config needed.

currently works with rust, go, python, js/ts, java, c++, ruby, elixir, php, dotnet, and zig. it picks up on things like config files, test dirs, lock files etc to decide what framework you're using — not just checking if a single file exists.

some stuff it does:

  • json, junit xml, tap output besides the default pretty output
  • ci sharding (--partition slice:1/4)
  • stress test mode for finding flaky tests
  • watch mode, retries, parallel runs
  • custom adapters through toml config

still early (v0.1) so definitely rough around the edges. would really appreciate any feedback, especially around the detection logic and the rust adapter specifically.

> cargo install testx-cli

repo: https://github.com/whoisdinanath/testx

docs: https://testx-cli.readthedocs.io

u/AmpsAnd01s — 5 hours ago
testx — auto-detecting test runner that replaces "cargo test", "pytest", "go test", "npx jest", etc. with one command
▲ 1 r/rust+1 crossposts

testx — auto-detecting test runner that replaces "cargo test", "pytest", "go test", "npx jest", etc. with one command

Instead of remembering the test command for each project, just run testx. It scans project files to detect the language and framework, then runs the appropriate test command with structured output.

Works with 11 languages out of the box. Also does CI sharding, watch mode, retries, and can output JSON/JUnit/TAP.

cargo install testx-cli

https://github.com/whoisdinanath/testx

u/AmpsAnd01s — 5 hours ago