GraphQL API testing with Gauge

Disclaimer: My intention is only to demonstrate how can we write GraphQL API tests using Gauge + Gauge-Js + graphql-request. Please do not consider this as an exaple for how to implement GraphQL API.

Prerequisites.


How to run gauge specs in this example.


  • Navigate to graphql-server directory
  • Run npm start
  • Navigate to gauge-specs directory
  • Run gauge specs or npm test