https://github.com/panicbit/quickcheck_derive
Derives quickcheck traits
https://github.com/panicbit/quickcheck_derive
quickcheck rust testing
Last synced: 3 months ago
JSON representation
Derives quickcheck traits
- Host: GitHub
- URL: https://github.com/panicbit/quickcheck_derive
- Owner: panicbit
- License: apache-2.0
- Created: 2017-09-28T00:30:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-10-20T16:27:54.000Z (over 5 years ago)
- Last Synced: 2025-12-05T15:31:41.824Z (3 months ago)
- Topics: quickcheck, rust, testing
- Language: Rust
- Size: 19.5 KB
- Stars: 4
- Watchers: 2
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE.txt
Awesome Lists containing this project
README
# NOTICE
**Before using this crate, please evaluate [quickcheck's official derive crate](https://crates.io/crates/quickcheck_macros).**
# quickcheck_derive
[](https://travis-ci.org/panicbit/quickcheck_derive)
[](https://crates.io/crates/quickcheck_derive)
This crate adds a derive for the `Arbitrary` trait from the `quickcheck` crate.
# Requirements
You need the following dependencies in your `Cargo.toml`:
- `quickcheck` >= 0.7
- `rand`
# Usage
```rust
#[macro_use]
extern crate quickcheck_derive;
#[derive(Arbitrary,Clone)]
struct Data {
foo: i32,
bar: String,
}
```