Please note: In order to keep Hive up to date and provide users with the best features, we are no longer able to fully support Internet Explorer. The site is still available to you, however some sections of the site may appear broken. We would encourage you to move to a more modern browser like Firefox, Edge or Chrome in order to experience the site fully.

Java Testing with Spock, Paperback / softback Book

Java Testing with Spock Paperback / softback

Paperback / softback

Description

While Java has changed a lot recently, the tools and techniques most Java developers use to test code are starting to show their age.

Spock is a modern testing framework that combines the features of JUnit, Mockito, and JBehave into a single powerful testing library.

With Spock, developers can use Groovy to write more readable and concise tests, and built-in mocking means they no longer need an external framework.

Spock enables seamless integration testing and, with the intuitive Geb library, users can even handle functional testing of web applications. Java Testing with Spock shows how to use Spock for a wide range of testing use cases in Java.

It starts with a quick overview of Spock, and works through writing unit tests using the Groovy language, and discusses the best practices for test design as readers explore the Spock framework.

Along the way, readers will learn to write mocks, implement integration tests, use Spock's built-in BDD testing tools, and do functional web testing using Geb.

Readers new to Groovy will appreciate the succinct language tutorial that'll give just enough Groovy to use Spock effectively

Information

Other Formats

Save 12%

£35.99

£31.39

Item not Available
 
Free Home Delivery

on all orders

 
Pick up orders

from local bookshops

Information