Fork me on GitHub
Christian Johansen07:07:00

I have a test that wants to compare two maps containing floats… Hilarity ensues: -10.813026 (this is kaocha’s printed diff). Any neat tricks to compare them within some threshold of accuracy or similar?

Christian Johansen09:07:21

That looks excellent, thanks!

Alys Brooks02:07:22

Kaocha has matcher-combinators support, too, so it mismatches will be reported correctly. Unfortunately, it's not particularly documented, but I don't believe you have to do anything to take advantage of it.

Charlie Briggs10:07:13

Hey, is it possible to watch resource files in watch mode? We have some schemas in resources and we want to trigger watch running tests after changing it


Have you tried adding them to the src-paths key under the testable?