Open samdoiron opened 9 years ago
It is often helpful to use module methods within a test, to avoid repetition.
Eg:
defmodule SomeTest do fact "can add quotes" do quotify some_string |> "\"#{some_string}\"" end def some_string, do: "some string" end
This is possible using ExUnit, but in Amrita it generates an unused warning for some_string and fails with undefined function some_string/0
some_string
undefined function some_string/0
It is often helpful to use module methods within a test, to avoid repetition.
Eg:
This is possible using ExUnit, but in Amrita it generates an unused warning for
some_string
and fails withundefined function some_string/0