DEV Community

loading...

Discussion on: Why I migrated from Kotest to JUnit

Collapse
sksamuel profile image
Stephen Samuel

It incorrectly reports the number of passed test cases because it counts containers as test cases <--- gradle counts them as test cases, not kotest. It's just running on the JUnit test platform.

It incorrectly reports failed test cases because it reports tests in a manner Gradle doesn't understand <--- same thing.

Once gradle has proper support for nested clases it'll go away. If that ever happens. Hence why this has been started: github.com/kotest/kotest-gradle-pl...

Collapse
neelkamath profile image
Neel Kamath Author

Sorry if it came across as Kotest's particular issue. The reason I wrote it as if Kotest and Gradle were one thing was because Kotest currently uses Gradle (and hence has the same shortcomings, but JUnit doesn't).

Collapse
sksamuel profile image
Stephen Samuel

Its all good, feedback is always useful.