View Source Enfiladex
Wrapper for executing ExUnit as common_test
Installation
def deps do
[
{:enfiladex, "~> 0.1"}
]
endUsage
Add use Enfiladex to your test to convert it to common test suite.
Known issues
on_exit/2callbacks with captures makes test to fail compiling withuse Enfiladex(Code.with_diagnostics/2issue),Enfiladex.{peer/3, multi_peer_/3}fail from tests with an anonymous function,- one needs to disable pruning code paths in
mix.exsasprune_code_paths: Mix.env() == :prod, otherwise Elixir won’t findcommon_test MIX_ENV=test iex --sname am -S mix enfiladex(named node) to execute common test,compiledbeamfiles are not yet removed.
Changelog
0.3.0—Enfiladex.rpc_[block_]call/2,Enfiladex.[block_]call_everywhere/30.2.1— doctests0.2.0—start_peers/1,stop_peers/1, self-tested, cleaner interface