How to tell rebar3 to run tests in dependencies

Viewed 202

I want my rebar3 application to test itself and all of its dependencies. Is it possible in rebar3? I've created a simple 'test' plugin that tries to execute rebar_prv_eunit:do/1 over all applications in the project and their dependencies but it doesn't work.

Here's the code for it https://github.com/kubaodias/rebar3-test-plugin

1 Answers

ls -d */ | xargs -I {} bash -c "cd {} ; rebar3 eunit; cd -"

Related