Skip to content

Developing subgraphs goes beyond defining: entities as GraphQL types and handlers that populate defined entities using event data. We need a way to bug-proof our subgraphs and make sure it does what it's intended for. …say hello to Unit Testing

Notifications You must be signed in to change notification settings

E-Zbox/building-bulletproof-subgraphs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building Bulletproof Subgraphs

article-banner

Description

This repository is for an article guiding users on developing robust and bug-free subgraphs leveraging the Matchstick Unit Testing framework.

Follow the medium article to get the most out of this tutorial

Table of Content

Setting Up

Cloning repo

Clone this repository by running the below command on your terminal:

git clone https://github.com/E-Zbox/building-bulletproof-subgraphs

Installation

Run the yarn command on your terminal to install project dependencies

Live subgraphs

Each version prior to the latest has a bug (wrong implementation) that went unnoticed before deployment hence, the importance of unit testing before deploying your subgraphs.

Deployed Subgraph : (v0.0.1)

Deployed Subgraph : (v0.0.2)

Deployed Subgraph : (v0.0.3) Static Badge

About

Developing subgraphs goes beyond defining: entities as GraphQL types and handlers that populate defined entities using event data. We need a way to bug-proof our subgraphs and make sure it does what it's intended for. …say hello to Unit Testing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published