Rust Testing Framework for Solana
This is a beta version of the Solana Toolkit, and is still a WIP. Please post all feedback as a GitHub issue here.
Add Dependency
Navigate to your program directory and run:
LiteSVM Overview
LiteSVM is a fast and lightweight library
for testing Solana programs. It works by creating an in-process Solana VM
optimized for program developers. This makes it much faster to run and compile
than alternatives like
solana-program-test
and
solana-test-validator
. In a further break
from tradition, it has an ergonomic API with sane defaults and extensive
configurability for those who want it.
Minimal Example
Additional Resources
Last updated on