Hi Brian,

Thanks for your kind words and, of course, for midje...I've been using it for years!

About the AOT issues, i was mainly referring to this:
https://github.com/marick/Midje/issues/274

In addition, where i work we have to package our 'harness-testing' module separately and not AOT it. That has generally worked nicely, and taking a step back it seems like good practice to package all your testing infrastructure separately, but the fact that we can't is unfortunate nonetheless. Has something changed in terms of this issue that I'm not aware of? If yes, please forgive me for 'misleading'- i will fix asap!

Thanks again...
Cheers,
dimitris


On 26/01/16 23:42, Brian Marick wrote:
dimitris wrote:
This is a small testing library inspired by midje.

For what it's worth, I (author of Midje) think this is wonderful.

You might consider emphasizing that you have similar checkers, as I think that's one of Midje's strong points. I've been recently incorporating https://github.com/marick/structural-typing/ to get better error messages when checking collections. Like this:

    The checker said this about the reason:
        [0 :a :b] should be `even?`; it is `1`
        [1 :c] must exist and be non-nil
        [2 :a :b] should be `neg?`; it is `2`

Otherwise:

1) The implementation is utterly intimidating (i' ve heard this from
plenty other people)

Yeah. It started as my project to learn Clojure, so it's not... um... the way I write code today.

2) Doesn't play nicely with AOT

At two companies, I've used Midje and deployed AOT-compiled uberjars. It would be interesting to have a specific example of the problem.


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