[英]Is there a verbose/colored mode for `lein test` / `clojure.test`?
The default output from clojure.test
via lein test
is pretty underwhelming:来自
clojure.test
通过lein test
的默认 output 相当平庸:
Ran 1 tests containing 1 assertions.
0 failures, 0 errors.
I guess maybe Clojure people are minimalists, but in every other language I've used test runners use red/green colors to indicate failing/passing tests at a glance, and generally come with a verbose mode I can use to see each test being run.我想也许 Clojure 人们是极简主义者,但在我使用过的所有其他语言中,测试运行者使用红色/绿色 colors 来表示测试失败/通过,并且通常带有详细模式,我可以使用它来查看正在运行的每个测试.
It looks like possibly I can do this through the do-report
method in clojure.test
.看起来我可以通过
clojure.test
中的do-report
方法来做到这一点。 But is there a plugin or option or something that does this already?但是是否有插件或选项或其他东西已经这样做了?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.