Skip to main content

Testing

Evolution SDK supports multiple testing strategies — from unit tests that validate schemas and encoding to full integration tests running against a local devnet. The SDK uses @effect/vitest as its testing framework.

Testing Strategies

StrategySpeedComplexityUse Case
Unit testsFastLowSchema validation, encoding, address parsing
Integration testsSlowHighTransaction building, submission, smart contracts
Emulator (devnet)MediumMediumEnd-to-end workflows without external dependencies

Next Steps

  • Unit Tests — Test schemas, encoding, and address utilities
  • Integration Tests — Test with devnet for full transaction lifecycle
  • Emulator — Use devnet as a local blockchain emulator