Skip to content

Conversation

kayagokalp
Copy link
Member

@kayagokalp kayagokalp commented Sep 19, 2025

@kayagokalp kayagokalp self-assigned this Sep 19, 2025
- Only one `#[fuzz]` attribute is allowed per function
- `#[fuzz_param]` supports the following parameters:
- `name`: The parameter name to configure
- `iteration`: Number of test iterations
Copy link
Member

@JoshuaBatty JoshuaBatty Sep 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just thinking would it make more sense to define this on the #[fuzz] attribute?

so

#[fuzz(iteration = 1000)]

- The `#[fuzz]` attribute expects no arguments
- Multiple `#[fuzz_param]` attributes are allowed per function
- Only one `#[fuzz]` attribute is allowed per function
- `#[fuzz_param]` supports the following parameters:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might also be nice to have a seed param to specify the starting seed for the randomness?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants