2 unstable releases

0.2.0 Oct 20, 2024
0.1.0 Oct 13, 2024

#627 in Testing

Download history 158/week @ 2024-10-08 205/week @ 2024-10-15 27/week @ 2024-10-22 5/week @ 2024-10-29 16/week @ 2024-11-05

285 downloads per month

Apache-2.0

39KB
714 lines

Crazy Train

Crazy Train designed to perform randomized and fuzz execution of the Loco CLI to discover unforeseen sequences of steps and parameters that users run, which may lead to unexpected errors. This library aims to facilitate reproducible test plan runs, ensuring your CLI behaves as expected under various scenarios.

Features

  • Randomized Execution: Execute the Loco CLI with random parameters and sequences to explore unexpected behaviors.
  • Fuzz Testing: Identify edge cases and potential bugs by fuzzing input to the CLI.
  • Reproducible Tests: Create a test plan that can be repeated to ensure consistency in test results.
  • Error Discovery: Capture and report unforeseen errors encountered during execution.

Installation

To add Crazy Train to your project, include it in your Cargo.toml:

[dependencies]
crazy-train = "*"

Usage

Here’s a quick example of how to use Crazy Train in your project

Contributing

Contributions are welcome! If you have suggestions or find bugs, please open an issue or submit a pull request. Make sure to follow the contribution guidelines.

Dependencies

~3–13MB
~111K SLoC