pagantis_elixir_tools v0.18.0 ElixirTools.Fixture

Fixture is a helper to work with fixtures in tests.

Link to this section Summary

Link to this section Functions

Link to this function

load!(fixture, location \\ "test/fixtures/", file_extension \\ ".json")

load!(String.t(), String.t(), String.t()) :: String.t()

Looks for a fixture without decoding

Link to this function

load_json!(fixture, location \\ "test/fixtures/")

load_json!(String.t(), String.t()) :: term() | no_return()

Looks for a json fixture and decodes it