Graphql-coverage

The motivation of this gem is to enforce the coverage of GraphQL queries in testing.In our projects, we have a rule that the test cases must cover all GraphQL fields. However, it is difficult to enforce this rule because we have no tools to check the coverage of GraphQL fields.You may think that we can check the coverage of GraphQL fields with ordinary coverage tools such as simplecov. However, it is not enough because GraphQL fields are often defined without method definition. For example:.
Graphql-coverage #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/graphql-coverage

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles