Module: GraphQL::Language::ParserTests

Defined in:
lib/graphql/language/parser_tests.rb

Overview

If you create your own GraphQL parser, can verify it using these tests.

Examples:

Include these tests in a Minitest suite

require 'graphql/language/parser_tests'

describe MyParser do
  include GraphQL::Language::ParserTests
  subject { MyParser }
end