Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Stuart Halloway, author of the <a href="http://www.pragprog.com/titles/shcloj/programming-clojure" rel="nofollow noreferrer">Programming Clojure</a> book, is currently working on <a href="http://github.com/stuarthalloway/circumspec" rel="nofollow noreferrer">Circumspec</a>, advertised as "BDD in Clojure" in the README. This is a work in progress, but perhaps may be what you're looking for. There's also <a href="http://code.google.com/p/conducta/" rel="nofollow noreferrer">Conducta</a>, which is apparently meant to enable BDD in Clojure with <a href="http://stoto79.blogspot.com/2008/11/clojure-meets-bdd.html" rel="nofollow noreferrer">some funny syntax</a>.</p> <p><em>(Updated this paragraph in response to Stuart Sierra's comment below.)</em> Out of the box, Clojure provides <code>clojure.test</code> and <code>clojure.test.junit</code> namespaces. The former is a Clojure specific framework, while the latter generates JUnit-style XML reports based on <code>clojure.test</code>'s output. There's a successor to <code>clojure.test</code> in the works currently, but it's very usable as it stands now.</p> <p>Finally, since I understand (from your previous question) that you're just starting out with the language, I'll add that if there's some testing framework you especially like and it's available on the JVM, there's a good chance that writing a wrapper in Clojure may not be too much of a problem. Or you can just write "Java in Clojure" and use Javaish idioms directly with no wrappers at all. Clojure's Java interop is excellent.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload