qa-graphql
GraphQL server testing for Apollo Server, GraphQL Yoga and Hasura: subscriptions, N+1 detection and fixes, and depth and cost limit hardening. Mercurius is covered in the Yoga references, and introspection and persisted-query hardening in the limits skill. Distinct from qa-contract-testing/graphql-schema-regression, which detects schema drift; this plugin tests the server runtime.
/plugin install qa-graphql@testland-qaFirst time? Add the marketplace with /plugin marketplace add testland/qa
- Category
- Integrations & protocols
- Version
v1.5.6- Contents
- 6 skills
- Part of
- qa-role-backend
Skills6
apollo-server-testsUse whenever an Apollo Server v4+ GraphQL service needs tests: in-process executeOperation calls, supertest against an ephemeral port, context injection, response and error assertions, and checks that production config disables introspection and enforces persisted queries.skillgraphql-complexity-limit-testerUse when a GraphQL API must be hardened or audited against denial of service and schema disclosure.skillgraphql-n-plus-one-remediationUse whenever a GraphQL query fires one database query per item (N+1), a slow-query alert traces to GraphQL, or a PR adds a list resolver: find the fan-out, write a test that counts queries, and fix it with DataLoader batching, parent projection or selection-set prefetch.skillgraphql-subscription-test-authorUse when GraphQL subscriptions need tests over graphql-ws (WebSocket) or graphql-sse: subscribing through the async iterator, asserting event shape and order, connection lifecycle and close codes, auth on connect and pubsub triggers.skillgraphql-yoga-testsUse whenever a GraphQL Yoga or Mercurius server needs tests: in-process yoga.fetch() for queries and mutations, executor-http for subscriptions and streaming, auth headers, and checks for disabled introspection and persisted operations.skillhasura-testsUse when a Hasura GraphQL Engine needs tests, especially role-based row permissions: a docker-compose test instance, metadata API setup, x-hasura-role and x-hasura-user-id headers, and a role by table by operation permission matrix against the v1/graphql endpoint.skill
About qa-graphql
GraphQL server testing: per-framework testing (Apollo Server, GraphQL Yoga with Mercurius in its references, Hasura), subscription test authoring, N+1 detection + remediation, and the attack-surface hardening skill (depth/cost limits, with introspection + persisted-query catalogs in its references). Distinct from qa-contract-testing/graphql-schema-regression (contract drift detection); this plugin covers server/runtime + framework-specific patterns.