Part 3. Spock in the Enterprise
The last part of the book examines Spock in the context of a large enterprise application. Enterprise applications sometimes have unique requirements in terms of their complexity and the breadth of features they must offer. Spock is ready for the Enterprise, as it comes with several features that come in handy in large and complicated unit tests.
Chapter 7 examines the use of Spock in the full testing lifecycle of an enterprise application. Spock can cover trivial plain unit tests, larger integration tests, and even functional tests. Several examples (mostly with Spring) show that Spock allows you to reuse your favorite Java testing tools with zero additional effort. At the same time, Spock can employ Groovy testing ...
Get Java Testing with Spock now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.