Fork me on GitHub
#kaocha
<
2018-12-07
>
plexus10:12:57

I'm releasing an updated kaocha and kaocha-cucumber today, and earlier this week released a new kaocha-cloverage and kaocha-junit-xml. Several incremental improvements in all of them, see CHANGELOG for details

plexus10:12:50

one notable change is that using (is (= x)) will now cause your test to fail, calling (=) with only one argument always returns true, so this is likely a mistake

👍 8
plexus10:12:01

I make this mistake every so often, especially with bigger multiline forms, because I accidentally place the second argument inside the (is) rather than the (=), e.g. (is (= 4) 5)

plexus10:12:45

that's still valid because the 5 is considered the "message" given to is, but it's probably not what you want. (this is a very trivial case but when you have a deeply nested map over five lines it becomes harder to spot)

plexus10:12:47

{lambdaisland/kaocha {:mvn/version "0.0-305"}} going out the door now 🚪💨