For example-based testing, i really like expectations. I think it pushes in the right direction (simple, functional), and has good enough tool support (lein-autoexpect, and a pretty trivial way of running tests in both Eclipse and Maven, which is great for the mostly Java environment I work in).
On Monday, 27 October 2014, Ashton Kemerling <ashtonkemerl...@gmail.com> wrote: > I'd forgotten to mention Test.Check, thanks Reid! > > I've had really great luck using test.check (and Doublecheck, the cljx > port) for testing both Clojure(script), Javascript, and Ruby > (integration style). Highly recommend. > > On 10/26/2014 08:28 PM, Reid McKenzie wrote: > > Have another +1 for clojure.test. It’s packaged with Clojure and while > > it’s not especially shiny I find that it gets the job done most of the > > time in addition to having the best tooling support. > > > > In my latest project, I’ve been enjoying using org.clojure/test.check > > <https://github.com/clojure/test.check>, arguably the most active of the > > QuickCheck clones for Clojure. I’ve been very happy with it, especially > > when paired with lein-cloverage <https://github.com/lshift/cloverage> to > > report on test coverage. It’s been …. interesting to say the least to be > > able to watch how the tests I write compare to the actual code paths I > > write. Many corner cases now covered and eliminated as a result. By way > > of example: a trivial recursive decent parser: > > https://github.com/oxlang/oxlang/blob/master/src/oxlang/parser.clj and > > test.check test coverage: > > https://github.com/oxlang/oxlang/blob/master/test/oxlang/parser_test.clj. > Note > > that the |(defspec)| form is a macro that emits |clojure.test| test > > handles for |test.check| properties, so you can get the best of both :D. > > > > Reid > > > > On 10/26/2014 04:50 PM, cameron wrote: > > > >> Id' second clojure.test, > >> it's simple, tests are written in idiomatic clojure and has good > >> tooling support (eg. run tests in cider). > >> It's my go-to testing library now. > >> > >> > >> On Monday, 27 October 2014 07:26:25 UTC+11, Ashton Kemerling wrote: > >> > >> Don't forget clojure.test! It's simple, but I've found it to be > >> sufficient. > >> > >> > >> > >> On Sun, Oct 26, 2014 at 11:51 AM, Roelof Wobben > >> <rwo...@hotmail.com <javascript:;> <javascript:>> 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 clo...@googlegroups.com > <javascript:;> > >> <javascript:> > >> Note that posts from new members are moderated - please be > >> patient with your first post. > >> To unsubscribe from this group, send email to > >> clojure+u...@googlegroups.com <javascript:;> <javascript:> > >> For more options, visit this group at > >> http://groups.google.com/group/clojure?hl=en > >> <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+u...@googlegroups.com > <javascript:;> <javascript:>. > >> For more options, visit https://groups.google.com/d/optout > >> <https://groups.google.com/d/optout>. > >> > >> > >> -- > >> 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 > <javascript:;> > >> 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 <javascript:;> > >> 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 <javascript:;> > >> <mailto:clojure+unsubscr...@googlegroups.com <javascript:;>>. > >> For more options, visit https://groups.google.com/d/optout. > > > > > > > > -- > Ashton > > -- > 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 > <javascript:;> > 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 <javascript:;> > 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 <javascript:;>. > For more options, visit https://groups.google.com/d/optout. > -- 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.