#cargo #test #util #interactive

app cargo-qtest

an interactive test runner for rust projects

3 releases

0.1.3 Nov 20, 2023
0.1.2 Nov 19, 2023
0.1.1 Nov 17, 2023
0.1.0 Nov 17, 2023

#72 in Cargo plugins

Download history 119/week @ 2023-11-16 15/week @ 2023-11-23 11/week @ 2023-11-30

145 downloads per month

MIT license

206 lines

cargo-qtest: an interactive test runner for rust projects

cargo-qtest is a command-line tool that enhances the testing experience for Rust projects by providing an interactive and flexible way to find & select and run tests using pattern matching.



To install cargo-qtest, run the following command:

cargo install --locked cargo-qtest

Once installed, you can start using it with either cargo qtest or cargo-qtest in any of your projects.


The usage of cargo qtest mirrors that of cargo test. All arguments and flags applicable to cargo test can still be used with cargo qtest.

Q: Why?

  • Sometimes executing specific tests based on their paths can be challenging (specially when there are too many modules).
  • Running particular tests from different modules simultaneously (e.g., apple::test_fn and lemon::test_fn).
  • Selectively running tests matching a specific pattern in their names.
  • It's cool.


~149K SLoC