testing

Testing tools, testing philosophy & methodology...
vuuvi 2017-09-15T22:09:05.000110Z

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

vuuvi 2017-09-15T22:09:15.000386Z

(also resources on Midje would be super nice)

aj taylor 2017-09-15T22:12:39.000075Z

Have you checked out https://github.com/clojure/test.check ?

aj taylor 2017-09-15T22:13:28.000322Z

Specifically the “Blog posts and videos ” section

aj taylor 2017-09-15T22:13:40.000223Z

@alexkeyes

vuuvi 2017-09-15T22:16:31.000001Z

so this is a different test framework for clojure?

vuuvi 2017-09-15T22:19:21.000064Z

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

seancorfield 2017-09-15T22:19:25.000236Z

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

aj taylor 2017-09-15T22:20:07.000060Z

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

seancorfield 2017-09-15T22:20:30.000145Z

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

seancorfield 2017-09-15T22:21:28.000035Z

@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 taylor 2017-09-15T22:21:51.000119Z

Interesting. Good to know!

vuuvi 2017-09-15T23:19:25.000015Z

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

vuuvi 2017-09-15T23:19:48.000101Z

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