Good news for testing Java code

  • Posted By Stuart Halloway on December 31, 2007

In theory, a language like Ruby or Groovy is ideal for writing unit tests for Java. Mocks and stubs are easy and natural, and extending the test vocabulary into the problem space is easy. In practice, there are problems. I have found that testing you end up having to be very skilled in both the test language and the target language, plus understand the marshalling rules between them.

This new library should help.