AbsintheGenerator.TestDescribe (absinthe_generator v0.1.1) View Source

We can utilize this module to generate test files which are then used in the mutation & query tests

Definitions

  • :describe_name - Required. describe block text for the test

  • :setup - setup block for the test

  • :setup_all - setup_all block for the test

  • :tests - Tests to generate within TestDescribe, following AbsintheGenerator.TestDescribe.TestEntry

Link to this section Summary

Link to this section Types

Specs

t() :: %AbsintheGenerator.TestDescribe{
  describe_name: String.t(),
  setup: String.t(),
  setup_all: String.t(),
  tests: [AbsintheGenerator.TestDescribe.TestEntry.t()]
}

Link to this section Functions

Link to this function

maybe_build_test_entry_params_list(params)

View Source