pub fn fuzz(length: usize) -> String
Expand description
Generates a random string of text, meant to be used a mini-fuzz test. (As input to your CLI.)
ยงExample
let proj = project()?;
let cmd = proj.command(["name", &fuzz(10)])?; // Use a random string of length 10
cmd.with_stdout("...");