Ycvamcjzv9u4x4fd2jh4
Meet up

Having Our Cake and Eating It: Writing End-to-End Functional Tests That Can Run in Milliseconds with Nat Pryce!

Wednesday, 9th August at CodeNode, London

This meetup was organised by BDDx Bytes in August 2017

Having Our Cake and Eating It: Writing End-to-End Functional Tests That Can Run in Milliseconds with Nat Pryce!

Are you falling in pitfalls with your approach to functional testing? Don't miss this months BDDX Bytes with Nat Pryce where Nat will show you how to advance your testing!

On our current project, we fell into several well-known pitfalls with our approach to functional testing -- siloed responsibility, unreliable automation, duplicated code. We had to rethink our approach.

We took advantage of our application's "Ports-and-Adaptors" architecture to write tests in a different way. Instead of working "outside-in", starting by driving the GUI, we now write functional tests that exercise the domain model in isolation.

To exercise more of the system, we translate the inputs and assertions in the tests from the level of the domain model into interactions at wider and wider scales. We can now run the same tests directly against the domain model, against service interfaces, and through the UI in end-to-end system tests.

We are having our cake and eating it too!

In this talk I'll describe the motivation and design of our functional test infrastructure, and discuss its benefits, challenges and surprises.

Come and join us for this years Agile Testing & BDD eXchange 2017

Nat Pryce

Nat Pryce is a co-author of Growing Object­-Oriented Software Guided by Tests. An early adopter of XP, he has written or contributed to several open source libraries and tools that support TDD and was one of the founding organizers of the London XP Day conference.

Thanks to our sponsors

Attending Members

Overview

Having Our Cake and Eating It: Writing End-to-End Functional Tests That Can Run in Milliseconds with Nat Pryce!

Are you falling in pitfalls with your approach to functional testing? Don't miss this months BDDX Bytes with Nat Pryce where Nat will show you how to advance your testing!

On our current project, we fell into several well-known pitfalls with our approach to functional testing -- siloed responsibility, unreliable automation, duplicated code. We had to rethink our approach.

We took advantage of our application's "Ports-and-Adaptors" architecture to write tests in a different way. Instead of working "outside-in", starting by driving the GUI, we now write functional tests that exercise the domain model in isolation.

To exercise more of the system, we translate the inputs and assertions in the tests from the level of the domain model into interactions at wider and wider scales. We can now run the same tests directly against the domain model, against service interfaces, and through the UI in end-to-end system tests.

We are having our cake and eating it too!

In this talk I'll describe the motivation and design of our functional test infrastructure, and discuss its benefits, challenges and surprises.

Come and join us for this years Agile Testing & BDD eXchange 2017

Nat Pryce

Nat Pryce is a co-author of Growing Object­-Oriented Software Guided by Tests. An early adopter of XP, he has written or contributed to several open source libraries and tools that support TDD and was one of the founding organizers of the London XP Day conference.

Thanks to our sponsors

Who's coming?

Attending Members