簡體   English   中英

如何告訴 rebar3 在依賴項中運行測試

[英]How to tell rebar3 to run tests in dependencies

我希望我的 rebar3 應用程序測試自身及其所有依賴項。 在 rebar3 中可能嗎? 我創建了一個簡單的“測試”插件,嘗試對項目中的所有應用程序及其依賴項執行rebar_prv_eunit:do/1但它不起作用。

這是它的代碼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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM