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 =)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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 =)