apocryphal v0.2.8 Mix.Tasks.Apocryphal.Gen.Test

Generate apocryphal tests from a Swagger document

Parse swagger documentation into ExUnit tests

mix apocryphal.gen.test V1.Pets --only=^/pets --swagger-file=./docs/pet_store.yaml
mix apocryphal.gen.test V1.Stores --only=^/stores --swagger-file=./docs/pet_store.yaml

“One big ass file” mode:

mix apocryphal.gen.test V1.PetAPI --swagger-file=./docs/pet_store.yml

Summary

Functions

Callback implementation for Mix.Task.run/1

Functions

run(args)

Callback implementation for Mix.Task.run/1.