This post originated from an RSS feed registered with Java Buzz
by josef betancourt.
Original Post: Testing Groovy with Nested Test Case Classes
Feed Title: T. C. Mits
Feed URL: http://octodecillion.com/feed/
Feed Description: Java development and other technology topics
The Groovy language allows testing with inline code, it provides the built-in JUnit, Mock, stubs, and other support. Presented here are two simple ways of embedding a JUnit test class inside a Groovy class. In a prior post using Java, “List sorting using topological ordering of a digraph“, I used this embedded test approach. But [...]