Description
Summary
Java Testing with Spock teaches you how to use Spock for a variety of testing use cases in Java. Readers new to Groovy will appreciate the succinct language tutorial that’ll provide you with just enough Groovy to use Spock effectively.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Spock combines the features of tools like JUnit, Mockito, and JBehave into a single powerful Java testing library. With Spock, you use Groovy to write more readable and concise tests. Spock enables seamless integration testing, and with the intuitive Geb library, you’ll even take care of functional testing of web applications.
About the Book
Java Testing with Spock teaches you how to use Spock for a variety of testing use cases in Java. You can start with a quick overview of Spock and work through writing unit tests the use of the Groovy language. You can discover best practices for test design as you discover ways to write mocks, enforce integration tests, use Spock’s built-in BDD testing tools, and do functional web testing the use of Geb. Readers new to Groovy will appreciate the succinct language tutorial in chapter 2 that will give you just enough Groovy to use Spock effectively.
What’s Inside
About the Reader
Written for Java developers. Knowledge of Groovy and JUnit is helpful but not required.
About the Author
Konstantinos Kapelonis is a software engineer who works with Java day by day.
Table of Contents