Spock: Up and Running Writing Expressive Tests in Java and Groovy
Auteur : Fletcher Rob
Few developers would argue that writing automated tests is a good idea, but actually pursuing 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.
- Chapter 2 - Specification basics
- Chapter 3 - Spock assertions
- Chapter 4 - Managing resources
- Chapter 5 - Interaction testing
- Chapter 6 - Parameterized specifications
- Chapter 7 - Idiomatic Spock
- Chapter 8 - Advanced where: blocks
- Chapter 9 - Asynchronous testing
- Chapter 10 - Extending Spock
- Chapter 11 - TDD: The Diamond Kata
- Chapter 12 - Spock and Spring
- Chapter 13 - Testing REST APIs
- Chapter 14 - End-to-end web testing
- Chapter 15 - Testing JavaScript with Spock
- Chapter 16 - Test driving an RxJava application
- Appendix A - Groovy Primer
Date de parution : 05-2017
Ouvrage de 322 p.
18.3x23.2 cm
Disponible chez l'éditeur (délai d'approvisionnement : 12 jours).
Prix indicatif 67,11 €
Ajouter au panier