Fast Solana program testing avoids full solana-test-validator round-trips. LiteSVM 0.6.x runs an in-process SVM for Rust tests. Mollusk executes single instructions against program ELF with fixtures. solana-bankrun (Bankrun) embeds a validator-like environment for TypeScript integration tests. Pick based on language and fidelity needs on Agave 4.1.1 semantics.
// Load your program .so in LiteSVM tests// svm.add_program(program_id, "target/deploy/my_program.so");// Compare CU logs with `mollusk` for hot instruction tuning
Stack versions: This page was written for Agave 4.1.1, Solana CLI 3.0.10, Anchor 0.32.1, anchor-lang 0.32.1, Rust 1.91.1, @solana/kit 7.0.0, Surfpool 0.12.0, and LiteSVM 0.6.x.
Reviewed by Chris St. John·Last updated Jul 16, 2026