DEV Community

Discussion on: Comparing Spock and JUnit

Collapse
 
mrcosta profile image
Mateus Costa

Very cool post.

Tests should be easy to read and for me spock is cleaner than junit. I already work with both and one trade off to make is that groovy is a little bit slower than junit.

Another bad thing about spock and junit be more consolidated in the market is that for most of the places that support java, they don't support groovy.

I'm doing a lot of exercises these days (like hackerrank) and is not possible to code in java and test with spock =/

groovy is groovy =)