O'Reilly logo

Java Testing with Spock by Konstantinos Kapelonis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required