Fork me on GitHub
#testing
<
2017-09-15
>
vuuvi22:09:05

does anyone have suggestions on resources where I can learn testing using Clojure?

vuuvi22:09:15

(also resources on Midje would be super nice)

aj taylor22:09:28

Specifically the “Blog posts and videos ” section

vuuvi22:09:31

so this is a different test framework for clojure?

vuuvi22:09:21

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

seancorfield22:09:25

Lots of people will advise you against using Midje...

aj taylor22:09:07

@seancorfield curious as to why btw? I’ve never taken the time to learn it. I’ve always used test.check

seancorfield22:09:30

test.check can be used with Midje (and with clojure.test and Expectations) by the way. It adds functionality, it doesn't replace them.

seancorfield22:09:28

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

aj taylor22:09:51

Interesting. Good to know!

vuuvi23:09:25

yeah even internally there are complaints about using midje but I wasn’t here when the decision was made sooooo

vuuvi23:09:48

@seancorfield thanks for the info! I’ll definitely spend some time learning it