crazy-train

Crates.iocrazy-train
lib.rscrazy-train
version0.2.0
sourcesrc
created_at2024-10-13 07:53:23.12952
updated_at2024-10-20 06:31:09.279946
descriptionrandomized and fuzz execution of command-line interfaces
homepagehttps://docs.rs/crazy-train
repositoryhttps://github.com/loco-rs/crazy-train
max_upload_size
id1407146
size65,848
Elad Kaplan (kaplanelad)

documentation

https://docs.rs/crazy-train

README

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.

Commit count: 16

cargo fmt