Spock up and running : writing expressive tests in Java and Groovy

Most developers would agree that writing automated tests is a good idea, but writing good, well-structured tests is still an elusive skill for many. For Java and Groovy developers, however, there’s good news. This practical guide shows you how to write concise and highly readable tests with Spock, t...

Descripción completa

Detalles Bibliográficos
Otros Autores: Fletcher, Rob, author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Beijing, [China] : O'Reilly 2017.
Edición:First edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630160406719
Tabla de Contenidos:
  • Part 1. Spock 101. The "up and running" part
  • Specification basics
  • Spock assertions
  • Managing resources
  • Interaction testing
  • Parameterized specifications
  • Part 2. Advanced Spock. Idiomatic Spock
  • Advanced where: blocks
  • Asynchronous testing
  • Extending Spock
  • Test-driven development : the diamond kata
  • Part 3. Integrating Spock. Spock and spring
  • Testing REST APIs
  • End-to-end web testing
  • Testing JavaScript using Spock
  • Test driving an RxJava application.