[英]How to tell rebar3 to run tests in dependencies
I want my rebar3 application to test itself and all of its dependencies.我希望我的 rebar3 应用程序测试自身及其所有依赖项。 Is it possible in rebar3?
在 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.我创建了一个简单的“测试”插件,尝试对项目中的所有应用程序及其依赖项执行
rebar_prv_eunit:do/1
但它不起作用。
Here's the code for it https://github.com/kubaodias/rebar3-test-plugin这是它的代码https://github.com/kubaodias/rebar3-test-plugin
ls -d */ | xargs -I {} bash -c "cd {} ; rebar3 eunit; cd -"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.