Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current ·  View Page History

Groovy has excellent support for Unit Testing with JUnit 3.8.2 and Mocking built right in.
Currently, special support doesn't exist for JUnit 4 but its easy to use so long as you
are using Groovy 1.1 (currently only available as a SNAPSHOT). Here is an example.

Make sure you are using Groovy 1.1 and JUnit 4.x.

The output will look something like this:

Labels
  • None