Clojure test framework

2011-05-08 Thread Zlatko Josic
Hi,

I need to write tests for my Clojure application.
Which Clojure test framework would you recommend?
I also need posibility to intergrate a framework with Maven.

Thanks

-- 
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

Re: Clojure test framework

2011-05-08 Thread Alex Ott
Standard clojure.test works fine with maven

On Sun, May 8, 2011 at 4:29 PM, Zlatko Josic zlatko.jo...@gmail.com wrote:
 Hi,
 I need to write tests for my Clojure application.
 Which Clojure test framework would you recommend?
 I also need posibility to intergrate a framework with Maven.

-- 
With best wishes,                    Alex Ott
http://alexott.net/
Tiwtter: alexott_en (English), alexott (Russian)
Skype: alex.ott

-- 
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


Re: Clojure test framework

2011-05-08 Thread Ambrose Bonnaire-Sergeant
Midje also works well with Maven. Just wrap them in clojure.test/deftest and
you're
good to go.

Some examples:
https://github.com/pallet/stevedore/blob/feature%2Fbatch-impl/test/pallet/stevedore/batch_test.clj

And here are almost identical tests, but with clojure.test/is instead of
Midje.
https://github.com/pallet/stevedore/blob/feature%2Fbatch-impl/test/pallet/stevedore/bash_test.clj

I prefer Midje but clojure.test is sufficient also.

Ambrose

On Sun, May 8, 2011 at 10:29 PM, Zlatko Josic zlatko.jo...@gmail.comwrote:

 Hi,

 I need to write tests for my Clojure application.
 Which Clojure test framework would you recommend?
 I also need posibility to intergrate a framework with Maven.

 Thanks

 --
 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 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