Skip to content

Executing the Fuzz Test#

To execute the fuzz test, navigate to the trident-tests directory and run the following command to execute the fuzz test:

trident fuzz run <FUZZ_TARGET> <SEED>
# for example:
# trident fuzz run fuzz_0
# seed is optional, if not provided, a random seed will be used

Directory Note

Execute fuzz tests from the trident-tests directory.

Solana Logs

In case you want to see the logs of the fuzzed transactions, prefix the command with TRIDENT_LOG=1.

TRIDENT_LOG=1 trident fuzz run <fuzz_target> <seed>

For the output reference and additional options such as debugging the found issues, check out Commands.

For the additional customization through the trident.toml file, check out the Trident Manifest page.