简体   繁体   中英

How to tell rebar3 to run tests in dependencies

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM