Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best unit testing framework for Clojure?

What is the best unit testing framework for Clojure?

I prefer a more BDD style framework.

like image 915
Alex Baranosky Avatar asked Mar 15 '10 03:03

Alex Baranosky


2 Answers

I wrote clojure.test, and I am working on a new framework, lazytest, with a more functional style.

like image 198
Stuart Sierra Avatar answered Sep 20 '22 13:09

Stuart Sierra


I'm working on a mock-oriented, top-down testing framework. It'll have three levels of abstraction. The first two are finished:

http://github.com/marick/Midje#readme

I'm working on the top level, which will look something like this:

http://www.exampler.com/blog/2010/06/10/tdd-in-clojure-a-sketch-part-1/

Also, see my answer at this stackoverflow question: https://stackoverflow.com/a/9417239/47630

like image 26
Brian Marick Avatar answered Sep 19 '22 13:09

Brian Marick