View Source Enfiladex
Wrapper for executing ExUnit
as common_test
Installation
def deps do
[
{:enfiladex, "~> 0.1"}
]
end
Usage
Add use Enfiladex
to your test to convert it to common test suite.
Known issues
on_exit/2
callbacks with captures makes test to fail compiling withuse Enfiladex
(Code.with_diagnostics/2
issue),Enfiladex.{peer/3, multi_peer_/3}
fail from tests with an anonymous function,MIX_ENV=test iex --sname am -S mix enfiladex
(named node) to execute common test,compiledbeam
files are not yet removed.
Changelog
0.3.0
—Enfiladex.rpc_[block_]call/2
,Enfiladex.[block_]call_everywhere/3
0.2.1
— doctests0.2.0
—start_peers/1
,stop_peers/1
, self-tested, cleaner interface