# Circus_test :circus_tent:

[](https://crates.io/crates/circus_test)
[](https://docs.rs/circus_test)
[](https://github.com/PierreZ/circus/actions)

[](#rust-version-requirements)
Allow injection of a random seed upon a test. Can be overloaded with environment var `DETERMINISTIC_SEED`.
## Example:
```rust
use circus_test::with_random_seed;
#[with_random_seed]
#[test]
fn random_seed(seed: u64) {
println!("{}", seed);
}
```
## Rust version requirements
The MSRV is Rust 1.42.0.
## License
Licensed under either of
* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.