簡體   English   中英

Clojure.test和Leinigen:如何從命令行運行單個測試

[英]Clojure.test and Leinigen: How to run just a single test from command line

這個:

從REPL運行一個Clojure測試(不是名稱空間中的所有測試)和fixtures

使用repl工作正常,如何使用Leinigen從命令行執行此操作?

您正在尋找的可能是:

lein test :only my.namespace/my-test

注意:

lein help test

輸出:

"A default :only test-selector is available to run select tests. For example,
`lein test :only leiningen.test.test/test-default-selector` only runs the
specified test. A default :all test-selector is available to run all tests."

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

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