https://github.com/onur-ozkan/cargo-qtest
an interactive test runner for rust projects
https://github.com/onur-ozkan/cargo-qtest
cargo interactive rust test
Last synced: over 1 year ago
JSON representation
an interactive test runner for rust projects
- Host: GitHub
- URL: https://github.com/onur-ozkan/cargo-qtest
- Owner: onur-ozkan
- License: mit
- Created: 2023-11-16T08:31:42.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-14T19:07:30.000Z (about 2 years ago)
- Last Synced: 2024-09-17T23:59:48.768Z (almost 2 years ago)
- Topics: cargo, interactive, rust, test
- Language: Rust
- Homepage: https://crates.io/crates/cargo-qtest
- Size: 195 KB
- Stars: 25
- Watchers: 1
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.

### Install
To install `cargo-qtest`, run the following command:
```sh
cargo install --locked cargo-qtest
```
Once installed, you can start using it with either `cargo qtest` or `cargo-qtest` in any of your projects.
### Usage
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.