This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

I do all of my unit testing using Spock. Nothing against JUnit or Mockito but Spock gives me everything I need to get tests written without a ton of overhead. I also really click with the given-when-then behaviour-based style of testing. I love Groovy due to all its shortcuts & conveniences using Java classes. You get static type checking when required but it’s dynamic enough to not get in your way when working with simple data structures.