does anyone have suggestions on resources where I can learn testing using Clojure?
(also resources on Midje would be super nice)
Have you checked out https://github.com/clojure/test.check ?
Specifically the “Blog posts and videos ” section
so this is a different test framework for clojure?
the company I work for currently uses Midje so I gotta work on not only getting better at writing tests in Clojure generally, but on Midje specifically
Lots of people will advise you against using Midje...
@seancorfield curious as to why btw? I’ve never taken the time to learn it. I’ve always used test.check
test.check
can be used with Midje (and with clojure.test
and Expectations
) by the way. It adds functionality, it doesn't replace them.
@aj Midje is very macro-heavy and defines it's own (non-idiomatic) DSL on top of Clojure. Some people feel it has far too much "magic" in it.
Interesting. Good to know!
yeah even internally there are complaints about using midje but I wasn’t here when the decision was made sooooo
@seancorfield thanks for the info! I’ll definitely spend some time learning it