---
title: "Discussion on \"How to test a Solana Program using Vitest & LiteSVM\" | Hashnode"
description: "Discussion on \"How to test a Solana Program using Vitest & LiteSVM\". Fast, lightweight unit testing without solana-test-validator or heavy dependencies"
url: "https://hashnode.com/posts/how-to-test-a-solana-program-using-vitest-litesvm/69a357aaa7428b958d553016"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to test a Solana Program using Vitest & LiteSVM](https://harunadev.hashnode.dev/how-to-test-a-solana-program-using-vitest-litesvm?utm_source=hashnode&utm_medium=feed)

Fast, lightweight unit testing without solana-test-validator or heavy dependencies

Feb 28 · 13 min read · harunadev.hashnode.dev  
Updated Mar 5  
Read the article

-   [#vitest](https://hashnode.com/tag/vitest)
-   [#litesvm](https://hashnode.com/tag/litesvm)
-   [#solana](https://hashnode.com/tag/solana)
-   [#web3](https://hashnode.com/tag/web3)
-   [#anchor](https://hashnode.com/tag/anchor)
-   [#rust](https://hashnode.com/tag/rust)

## Written by

[Alvin Haruna](https://hashnode.com/@HarunaDev)

@HarunaDev · Lagos, Nigeria

  
[View profile](https://hashnode.com/@HarunaDev)

Software Developer / Frontend Engineer

Frontend Engineer &amp; Technical Writer building scalable, user-focused web applications with TypeScript, React, and Next.js. I enjoy turning complex ideas into clean interfaces and clear documentation. Currently exploring blockchain development with Rust on the Solana network, focusing on smart contracts and decentralised applications.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
