Search⌘ K

Mutation Testing

Explore how to implement and test GraphQL mutations in Elixir with Absinthe. Learn to define mutation types, execute tests with proper variables and HTTP methods, and understand the structure of mutation responses.

We'll cover the following...

Testing our request

Testing a mutation doesn’t look a whole lot different from testing a query. We’ll be passing some variables, shaped to match our :menu_item_input input object type. The only real ...