Chapter 8. Spock features for enterprise testing
This chapter covers
- Using Spock annotations that are helpful in enterprise testing
- Refactoring large Spock tests
- Testing legacy code with spy objects
One of the good qualities of a flexible software tool is the ability to adapt to any software situation, especially the corner cases that appear in large enterprise projects. Enterprise projects often come in large code bases (think millions of code lines), have an endless stream of requirements, and more often than not contain legacy modules that can’t be changed for political or technical reasons.
Chapter 1 showed that Spock is a holistic testing solution that will cover your needs regardless of the size of the application and whether you work ...
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.