kaocha 2022-07-04

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?

That looks excellent, thanks!

👍🏼 1

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.

👍🏼 1

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?