#fuzz-testing #programs #solana #trident #help #integration #framework

macro trident-test

The trident_test crate helps you to write Rust tests for your programs with Trident

2 releases

0.3.3 Aug 14, 2024
0.3.2 May 20, 2024

#10 in #trident

Custom license

11KB
50 lines

Trident Github

Trident

Trident

Rust-based framework to Fuzz and Integration test Solana programs to help you ship secure code.

Chat Version MIT License Lint Test Escrow and Turnstile


Documentation

For documentation and guides, visit ackee.xyz/trident/docs.

Prerequisites

Check Supported versions section for further details.

Installation

cargo install trident-cli


Features

Automated Test Generation

Simplifies the testing process by automatically creating templates for fuzz and integration tests for programs written using the Anchor Framework.

Dynamic Data Generation

Increases test coverage with random instruction data and pseudo-random accounts for unpredictable fuzz test scenarios.

Custom Instruction Sequences

Provides the flexibility to design specific sequences of instructions to meet particular testing needs or to focus on particular aspects of program behavior during fuzz testing.

Invariant Checks

Allows for custom invariants checks to spot vulnerabilities and unwanted behaviors.


Community

Check out the following places for more Trident-related content:

Grants

Solana Foundation Marinade

Contribution

Thank you for your interest in contributing to Trident! Please see the CONTRIBUTING.md to learn how.

License

This project is licensed under the MIT license.

Dependencies

~2MB
~44K SLoC