好资源收集站

Java Testing with Spock


出版时间:2016.3
官网链接:Manning
下载地址:百度网盘(PDF+EPUB+MOBI)

内容简介:

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 can even handle functional testing of web applications.

About the book

Java Testing with Spock teaches you how to use Spock for a wide range of testing use cases in Java. You’ll start with a quick overview of Spock and work through writing unit tests using the Groovy language. You’ll discover best practices for test design as you 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 in chapter 2 that gives 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 daily.

退出移动版