如何在Eclipse中运行Clojure测试



我想直接从eclipse执行Clojure测试(另一种选择是从命令行运行lein test)。

我已经为Eclipse安装了CounterClockwise插件,但上下文菜单中没有"Run as/Clojure test"。到目前为止,我在Clojure测试文件的末尾添加了一个(run-tests),并通过"Run as/Clojure Application"执行测试。

有没有更好的方法从eclipse运行测试?一般来说,不需要添加代码来启动测试。

您可以在Eclipse中打开一个项目REPL,将REPL移动到测试命名空间,然后从那里移动(run-tests)

最新更新