Skip to content

Testing Contracts

Testing plays a crucial role in software development, especially for smart contracts. In this section, we'll guide you through the basics of creating test suites for your contracts.

There's two main test runners for Cairo:

Test RunnerScopeBest For
SnforgeStarknet contractsFull smart contract testing with blockchain state
Cairo TestPure Cairo packagesNon-blockchain-state logic validation / testing
Powered By Nethermind