How To Build a Test Lib for a Microservice Based Web Application with Geb & Spock
summary
REWE digital turns a retired three‑hour monolithic UI suite into a reusable test library based on Geb + Spock and Testcontainers, letting teams declare a dependency and run Gradle tests locally or in CI. The library supplies test actor workflows, page objects, service clients and fixtures so teams hit a two‑minute end‑to‑end smoke instead of a failing three‑hour run. It covers ~150 services across ~25 teams, creates millions of synthetic users (cleanup jobs required), and surfaces precise failure logs for quick ownership.
AI-written summary · about
chapters (7)
- 0:00Introduction and company context
- 3:36Microservices testing challenges
- 6:59Building the test library solution
- 18:53Live demo of test execution
- 23:14Adoption and benefits of the approach
- 29:00Current limitations and next steps
- 30:53Q&A session
related talks
01h 17mTesting Java, Groovy, Spring and Web Applications with Spock
49mFabulous Tests with Spock and Groovy
46mBoost your testing: End-to-End with Docker and Geb
46mEasy testing with Spock
47mThe GEB Test Framework for Testing Web and Mobile Applications
01h 12mUnit Tests as a Specification
35mThe Groovy Way of Testing with Spock
49mTesting Microservices
