Matchstick is an open-source unit-testing framework for The Graph subgraphs, built for developers writing AssemblyScript mappings. It provides a focused API for...
Pros
- Designed specifically for The Graph subgraph mappings
- Supports mocked events, calls, data sources, and entity assertions
- Integrates with AssemblyScript-based subgraph projects
Cons
- Narrower scope than general JavaScript testing frameworks
- Requires familiarity with The Graph and AssemblyScript
- Less suitable for end-to-end indexing or hosted integration tests