#[test]
Expand description
Mark an async function to be fuzz-tested using near-prop, within a tokio executor.
§Usage
#[near_prop::test]
async fn fuzz_me(_ctx: PropContext, fuzz_arg: String) -> bool {
fuzz_arg != "fuzzed".to_owned()
}
§Attribute arguments
Arguments to this attribute are passed through to tokio::test.
#[near_prop::test(core_threads = 3)]
async fn fuzz_me(_ctx: PropContext, fuzz_arg: String) -> bool {
fuzz_arg != "fuzzed".to_owned()
}