apocryphal icon indicating copy to clipboard operation
apocryphal copied to clipboard

Swagger based document driven development for ExUnit

Results 11 apocryphal issues
Sort by recently updated
recently updated
newest added

Remote files can be loaded, but when they reference other remote relative files apocryphal fails to load the file because it is looking at the local relative path. Consider adding...

``` elixir test "[GET] /kittens (200)", %{swagger: swagger} do my_kitten_factory(10) swagger |> Transaction.build(@mime, :get, "/kittens", 200) |> assert_schema end test "Create a kitten", %{swagger: swagger} do swagger |> Transaction.build(@mime, :post,...

- [ ] Credo/Dogma - [ ] inch - [ ] coverex

It would be nice to have "path_params" that were a part of the request, that would be interpolated before the request was fired, instead of having to do it manually...

Return raw body or raise error? - [ ] Apocryphal.serialize/2 - [ ] Apocryphal.deserialize/2

Add support for doing a match using the Swagger example and the HTTP Response (parsed). Options (:except, :only) ``` elixir test "Strict kitten making", %{swagger: swagger} do swagger |> Transaction.build(@mime,...

Currently uses HTTPoison. It might be nice to support a Plug.Conn based Apocrypha.Case as well.