When developers can get feedback on a change within a second, productivity goes through the roof. Many developers know how to write fast unit tests, but what about full-stack acceptance tests exercising a GUI, server side domain logic and persistence?
Having a test pyramid is easier said than done, and with the techniques you'll learn in this session, we think you'll have a better chance actually building one.
"Honeycomb" is a software architecture pattern that makes it possible to run acceptance tests in many different modes with different tradeoffs: Speed or confidence. One layer or just some.
You'll be working in pairs on a simple TODO list application that has a honeycomb in place. As you add new functionality you'll be writing and running acceptance tests in fast mode. Occasionally you'll run them in slow mode for maximum confidence.
To get the most out of this session you should bring your laptop with some software preinstalled:
- git clone (will become available 2 days prior to meetup)
- cd todo-subsecond
- npm install
Remember your laptop!
Aslak Hellesøy is the creator of Cucumber and co-founder of Cucumber Limited. He is a co-author of The Cucumber Book and an early adopter of XP and BDD. Aslak works as a programmer, software architect, business owner and trainer in a variety of industries, including finance, telecom and retail.
Josh Chisholm is a developer, architect and trainer. A seasoned practitioner of XP and BDD, Josh is obsessed with fast feedback and the psychology of flow. As a director at Featurist, a software consultancy based in London, Josh helps companies of all shapes and sizes deliver sustainable software projects.