{"library":"easygraphql-tester","type":"library","category":null,"description":"easygraphql-tester is a Node.js library designed to facilitate testing of GraphQL schemas, queries, and mutations. Currently at stable version 6.0.1, its release cadence is active but irregular, typically aligning with updates to the GraphQL specification or bug fixes. It distinguishes itself by offering both assertion-based testing (validating schema adherence, field existence, argument types, and input validity) and mocking capabilities, allowing developers to generate fake data for operations without a live GraphQL server. This enables comprehensive unit testing of GraphQL logic and schema definitions. It supports single or multiple schema files, direct `graphql-js` schema objects, and integrates resolvers for more complete backend testing. The library is part of the broader EasyGraphQL suite, which includes tools for load testing, schema mocking, and server creation.","language":"javascript","status":"active","version":"6.0.1","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install easygraphql-tester","imports":["const EasyGraphQLTester = require('easygraphql-tester');","const tester = new EasyGraphQLTester(schema);","await tester.graphql(query, rootValue, contextValue, variableValues);"]},{"cmd":"yarn add easygraphql-tester","imports":[]},{"cmd":"pnpm add easygraphql-tester","imports":[]}],"homepage":"https://www.easygraphql.com","github":"https://github.com/EasyGraphQL/easygraphql-tester","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/easygraphql-tester","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/easygraphql-tester/compatibility"}}