We have some legacy tests written in JUnit alongsi...
# kotest
d
We have some legacy tests written in JUnit alongside kotest tests. I can use kotest matchers in JUnit tests, right? It looks like all that matchers do is construct some `MatcherResult`s and then
should
uses
ErrorCollector
(a singleton object) to by-default throw?
s
Exactly. The kotest assertions/matchers throw AssertionError or subclasses, so junit knows what to do with them
l
Some people prefer to use JUnit as an executor and use Kotest-Assertions only
It's ok to do that (although using the framework has a lot of benefits