Testing GraphiQL Query
Explore how to test GraphQL queries with ExUnit in an Elixir Phoenix environment using Absinthe. Learn to execute queries against your API, verify responses, and maintain reliable API behavior through automated tests.
We'll cover the following...
We'll cover the following...
GraphQL query testing
GraphiQL is a great tool to explore our API and to run a query manually. However, it’s not a replacement for a test suite. We’ll use ExUnit to add tests for our Absinthe schema to ensure our queries work, both now and later, to prevent regressions.