wp-solana-test-core 0.1.1

Protocol-agnostic Solana test infrastructure built on LiteSVM
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Protocol-agnostic Solana test infrastructure built on LiteSVM.

pub mod accounts;
pub mod clock;
pub mod context;
pub mod execute;
pub mod fixture_loader;
pub mod mock_rpc;
pub mod rng;
pub mod svm_builders;
pub mod tokens;

pub use accounts::{load_accounts_json, load_program, set_account};
pub use clock::{advance_clock, set_clock};
pub use context::{new_test_context, TestContext};
pub use execute::{execute, execute_with_logs};
pub use rng::test_rng;
pub use tokens::{fund_token, fund_wsol, override_mint_authority};