Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any plugin for Intellij IDEA for running Clojure tests?

I have been programming in Clojure for some time now on Intellij IDEA. I love the language and IDEA is, by far, my favorite IDE. But one thing that annoys me is not being able to run tests from the IDE and see the red/green/orange bar. Is there any plugin for that? Or, at least, some clever trick?

like image 474
Otavio Macedo Avatar asked Aug 08 '12 23:08

Otavio Macedo


People also ask

How do I run a Clojure code in IntelliJ?

In IntelliJ's main menu choose Run and then select Edit Configurations... In the Run/Debug Configurations window, press the plus symbol (+) at the top left corner and select Clojure REPL and Local. Specify a Name (for example The REPL) and select the nREPL radio button. Press the OK button.

Does IntelliJ support Clojure?

Provides full Clojure and ClojureScript language support. Intelligent Editor featuring code completion, syntax highlighting and real-time error highlighting. First-class ClojureScript nearly all functionality is equivalent in Clojure and ClojureScript.

How do I open Clojure project in IntelliJ?

From the welcome screen, click the "Create New Project" link, or if you already have a project open in IntelliJ you can use File→New→Project.... In the following dialog, choose "Clojure" from the list of project types on the left-hand side. You'll then have a list of Clojure project types to choose from on the right.


1 Answers

Searching gives two main variants: Leiningen (as in this tutorial) and lazytest. There is inconvenience that lazytest still hasn't integration with IDEA as plugin.

like image 186
gemelen Avatar answered Oct 09 '22 11:10

gemelen