Skip to main content

Questions tagged [solana-program-test]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
3 answers
737 views

Failing to create associated token account in rust tests. It says insufficient account keys for instruction

https://github.com/SushantChandla/test-mint-bug/blob/main/programs/mint-bug/tests/mint.rs I am trying to create an associated token account please have a look at the github file. The error I get is ...
Sushant Chandla's user avatar
1 vote
1 answer
515 views

Testing Anchor program with solana-program-test crate

I was trying to test my anchor program with rust tests. Test written in Typescript are working fine. I am getting with cargo test: note: run with `RUST_BACKTRACE=1` environment variable to display a ...
Sushant Chandla's user avatar