{"id":57163,"library":"quickcheck","title":"QuickCheck","description":"Automatic property-based testing with shrinking for Rust.","status":"active","version":"1.1.0","language":"rust","source_language":null,"source_url":"https://github.com/BurntSushi/quickcheck","tags":["testing","property-based","random","shrinking"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nquickcheck = \"1.1.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add quickcheck","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"QuickCheck","correct":"use quickcheck::QuickCheck;"}],"quickstart":{"code":"use quickcheck::QuickCheck;\n\nfn reverse_twice_is_identity(xs: Vec<i32>) -> bool {\n    let rev: Vec<i32> = xs.iter().rev().cloned().collect();\n    let rev_rev: Vec<i32> = rev.iter().rev().cloned().collect();\n    xs == rev_rev\n}\n\nfn main() {\n    QuickCheck::new().quickcheck(reverse_twice_is_identity as fn(Vec<i32>) -> bool);\n}","lang":"rust","description":"Tests that reversing a vector twice yields the original vector."},"warnings":[],"env_vars":null,"search_vec":"'automat':2 'base':5,14 'properti':4,13 'property-bas':3,12 'quickcheck':1 'random':15 'rust':10 'shrink':8,16 'test':6,11","created_at":"2026-06-16T15:30:57.652187+00:00","updated_at":"2026-06-16T15:30:57.652187+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/BurntSushi/quickcheck","github":"https://github.com/BurntSushi/quickcheck","docs":"https://docs.rs/quickcheck/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}