anchor-testing
OfficialRobust tests for Anchor programs.
Authorfaremeter
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill provides structured guidance for writing unit and integration tests for Anchor programs, enabling reliable verification of on-chain logic and client interactions.
Core Features & Use Cases
- Test setup patterns for Anchor programs, including account creation, PDAs, and CPI scenarios.
- Clear test organization with describe blocks for escrow-like or multi-program interactions, assertions, and error testing.
- Guidance on using Mocha/Chai, provider setup, and fetching/f asserting on program accounts.
Quick Start
Create a basic test suite for your Anchor program using Mocha and Chai, run it with anchor test, and verify account state changes.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: anchor-testing Download link: https://github.com/faremeter/flex/archive/main.zip#anchor-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.