簡體   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