Spock: Up and Running: Writing Expressive Tests in Java and Groovy (Paperback)
內容描述
Few developers would argue that writing automated tests is a good idea, but actually pursue it is a different story. If you build applications with Java or Groovy, there’s good news: the Spock testing framework, built on the foundation of JUnit. This definitive guide shows you how to use Spock’s expressive test capabilities to write concise and highly readable tests.Written by a senior software engineer at Netflix with more than 15 years of experience writing automated tests within the Java and Groovy ecosystems, this book takes you from Spock basics to advanced topics, using fully worked integration examples. Learn how initiate test-driven development in your team, using tests as living documentation—and discover why Spock is the most accessible, modern, and innovative testing framework on the JVM.