Hi everyone,

This is a small testing library inspired by midje. Before you start pulling your hair, about why do we need yet another unit-testing library, please consider reading the README and/or intro.md.

https://github.com/jimpil/fudje

TL/DR;

Midje comes with some very cool features but they come at a cost.

1) The implementation is utterly intimidating (i' ve heard this from plenty other people)
2) Doesn't play nicely with AOT
3) Introduces some syntax which when compared to regular clojure code looks a bit strange 4) Is big (counting, not just the core library but the transitive dependencies too)

Fudje offers the majority of features offered my midje, but addresses these issues. In particular:

1) The implementation is utterly straight forward. It's just a combo of clojure.test, clojure.data & with-redefs
2) Fudje has no problem being AOT compiled
3) It doesn't introduce any new syntax. The main `mocking` macro resembles `clojure.core/binding`. 4) The core library alone is roughly 9 times smaller than midje and the only dependency is `clojure.math.combinatorics`.

Fudje also comes with 2 macros (`fact` & `tabular`) that will auto-rewrite your existing midje facts into, essentially, clojure.test assertions. This allows for a smooth/ gradual migration away from midje (if that's what you want of course).

I hope people find this useful. :)

Kind regards,
Jim

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