Hi Roelof,

I have used midje for a few years now and it is excellent. It was the first 
one I picked up.

However, I would recommend clojure.test *whilst learning* for a few reasons:
- it is sufficient
- it is opinionated and therefore keeps you on the straight and narrow
- it is (probably) the best supported in terms of IDE support (emacs and 
CIDER for example)

Midje is great, it really is. And although I haven't used any of the others 
(although I have looked at them and am very familiar with BDD) I am sure 
the same could be said of them. However, for me the question is one of 
focus and guidance. 

Part of midje's greatness is its flexibility. It supports top down, bottom 
up, makes mocking easy etc. None of which helps when the problem being 
solved is "how do I do this *idiomatically*". clojure.test is much more 
opinionated, so if you are fighting the tool then that is a big flag that 
you might be doing something wrong right there. I picked up Midje for 
example and it allowed me to carry on writing OO code far longer than I 
should have. Had I used clojure.test then I wouldn't have had to fight some 
small incidental complexity battles (junit integration for example) and 
would have lost other battles I shouldn't have won (if you see what I mean).

Ultimately, there are no wrong choices here - they are great.

If it helps, I am starting a new project and starting off with clojure.test 
to see how far that gets me. This is more to do with "grass is greener" 
than anything else :).

On Sunday, 26 October 2014 17:51:11 UTC, Roelof Wobben wrote:
>
> Hello, 
>
> Im learning clojure as the beginnner.
> When im googeling for a testing platform there seems to be two major 
> choices midje and specjl.
>
> Now I see that my learning course from github uses midje.
>
> Can I better learn midje and it this one still active maintained or can I 
> better learn specjl. 
>
>
> Roelof
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to