E2E, API, and Onchain Testing for a Solana dApp

E2E, API, and Onchain Testing for a Solana dApp

Challenge

A Solana-based decentralized vaults platform needed a test automation strategy and implementation for its UI, API, and Solana Anchor program.

Solution

  • Developed an automation framework covering E2E, API, and Solana on-chain program tests.
  • Created 150+ integration tests for the Anchor-based onchain program.
  • Built an automated test pipeline for Solana program validation running on every PR on Solana localnet

Impact

  • Ensured high reliability for onchain program's main functional flows
  • Reduced manual testing overhead with automated validation.
  • Produced effective integration tests for onchain level covering core functionalities and edge cases
  • Sped up development for Blockchain Developers