Cucumbers with Raspberries - Matt Wynne & Steve Tooke
-----------------------------------------------------------------------------------------------------
Cucumber can be used to test just about anything.
Today. we're going to show you how to use Cucumber to test-drive an internet radio running on a Raspberry PI. It's going to be fun. And maybe a bit noisy!
Along the way, you'll learn techniques for isolating your tests from external dependencies.
At work, you probably struggle with tests that call out to other teams' APIs, or hit slow-running databases, or run behind awkward-to-automate user interfaces. Today, you'll be confronted with physical button that's impossible to automate (unless you built a robot!) so what are you going to do?
We'll give each team a kit containing a Pi, a breadboard, a couple of resistors, a button and some connector leads.
They'll use that, with a sample of code that they can download from GitHub, to build their internet radio.
Section 2:
Then we'll give them a new requirement, expressed as a Cucumber Gherkin scenario. We'll discuss as a group about how we could automate this scenario.
We'll give a short presentation of the hexagonal / ports-and-adapters architecture.
Teams will work together to add tests and refactor the existing code to this pattern, extracting adapters for the media player, the button, and the filesystem.
Section 3:
Finally, we'll work on the new requirement, test-first!
We will then supply further scenarios with more requirements as teams are ready, or let teams invent their own.
We'll end with a show and tell and let people reflect on and share lessons learned.
Matt first ran a workshop at Agile 2009, has run workshops at numerous conferences like XP Madrid, XP Edinburgh, Lean Agile Scotland and has spoken at many more.
Track 1: Matt Wynne & Steve Tooke - Cucumber with Raspberries workshop
Track 2: Guest speakers
Pizzas and refreshments will be provided from 1730.
Tracks start at 1745.
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
Matt Wynne & Steve Tooke - Cucumber with Raspberries workshop
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
THE GOOD STUFF: as an attendee, you will need to bring and use your own laptop
*** workshop limited to 20 places ***
*** due to recent high number of no-shows at Lean Agile Glasgow, the workshop will be on a first come first served basis on the event day ***
Today. we're going to show you how to use Cucumber to test-drive an internet radio running on a Raspberry PI. It's going to be fun. And maybe a bit noisy!
Along the way, you'll learn techniques for isolating your tests from external dependencies.
At work, you probably struggle with tests that call out to other teams' APIs, or hit slow-running databases, or run behind awkward-to-automate user interfaces. Today, you'll be confronted with physical button that's impossible to automate (unless you built a robot!) so what are you going to do?
We'll give each team a kit containing a Pi, a breadboard, a couple of resistors, a button and some connector leads.
They'll use that, with a sample of code that they can download from GitHub, to build their internet radio.
Section 2:
Then we'll give them a new requirement, expressed as a Cucumber Gherkin scenario. We'll discuss as a group about how we could automate this scenario.
We'll give a short presentation of the hexagonal / ports-and-adapters architecture.
Teams will work together to add tests and refactor the existing code to this pattern, extracting adapters for the media player, the button, and the filesystem.
Section 3:
Finally, we'll work on the new requirement, test-first!
We will then supply further scenarios with more requirements as teams are ready, or let teams invent their own.
We'll end with a show and tell and let people reflect on and share lessons learned.
Matt first ran a workshop at Agile 2009, has run workshops at numerous conferences like XP Madrid, XP Edinburgh, Lean Agile Scotland and has spoken at many more.
Track 1:
Cucumber with Raspberries workshop
Matt Wynne & Steve Tooke
***LIMITED TO 20 ATTENDEES ONLY***
Track 2:
Guest speakers
Chris McDermott - Wardley Mapping your Team Maturity
+ more TBC
Pizzas and refreshments will be provided from 1730.
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
Matt Wynne & Steve Tooke - Cucumber with Raspberries workshop
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
THE GOOD STUFF: as an attendee, you will need to bring and use your own laptop
*** workshop limited to 20 places ***
*** due to recent high number of no-shows at Lean Agile Glasgow, the workshop will be on a first come first served basis on the event day ***
Today. we're going to show you how to use Cucumber to test-drive an internet radio running on a Raspberry PI. It's going to be fun. And maybe a bit noisy!
Along the way, you'll learn techniques for isolating your tests from external dependencies.
At work, you probably struggle with tests that call out to other teams' APIs, or hit slow-running databases, or run behind awkward-to-automate user interfaces. Today, you'll be confronted with physical button that's impossible to automate (unless you built a robot!) so what are you going to do?
We'll give each team a kit containing a Pi, a breadboard, a couple of resistors, a button and some connector leads.
They'll use that, with a sample of code that they can download from GitHub, to build their internet radio.
Section 2:
Then we'll give them a new requirement, expressed as a Cucumber Gherkin scenario. We'll discuss as a group about how we could automate this scenario.
We'll give a short presentation of the hexagonal / ports-and-adapters architecture.
Teams will work together to add tests and refactor the existing code to this pattern, extracting adapters for the media player, the button, and the filesystem.
Section 3:
Finally, we'll work on the new requirement, test-first!
We will then supply further scenarios with more requirements as teams are ready, or let teams invent their own.
We'll end with a show and tell and let people reflect on and share lessons learned.
Matt first ran a workshop at Agile 2009, has run workshops at numerous conferences like XP Madrid, XP Edinburgh, Lean Agile Scotland and has spoken at many more.