繁体   English   中英

有没有办法告诉 rebar 不要为依赖项运行 eunit 测试?

[英]Is there a way to tell rebar not to run eunit tests for the dependencies?

运行时:

./rebar eunit

测试也针对外部依赖项运行。 有没有办法改变这种行为? 也许通过 rebar.config 文件?

./rebar eunit skip_deps=true

(或recursive=false最新版本)。

你也可以使用

./rebar eunit apps=your_app1,your_app2

这将只为指定的应用程序运行 eunit 测试。

还有一个选项可以仅为特定应用程序运行测试:

./rebar eunit app=app_name

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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