Test Driven Development on an embedded device hands-on

Get your hands dirty with some raspberri pi

by Willem van den Ende & Marc Evers

Short:

TDD can drive your design and give fast feedback on the quality of your work. Doing this on an embedded device gives some additional challenges - it's often not so easy to talk to the device and get your software on it, while the choice of programming language is often limited (C anyone?). Come to our session to build a feature and deploy it to a raspberry pi. Find out if automated deployments and testing also help with an embedded device.

Goal of the session: Get some experience of TDD in an embedded environment
Intended audience: Jan, Leo, Bram, Hank, female devs ;) (see Personas)
Experience level: some experience with TDD (red-green-refactor)
Session Type: tutorial
Topic: Technology and Technique
Duration: 90 min
Max participants: 25
Laptops required: yes, one per pair


Detailed Description

On the one hand, 'embedded' becomes more and more software. On the other, software gets embedded in more and more things. With devices like the Raspberri Pi and Gumstix rolling your own becomes feasible. At least we can experiment with getting fast feedback cheaply.

Test Driven Development (TDD) can drive your design and give fast feedback on the quality of your work. Doing this on an embedded device gives some additional challenges - it's often not so easy to talk to the device & get your software on it, while the choice of programming language is often limited (C anyone?).

Join this session to have some fun with TDD on a Raspberri Pi with a two line display and some buttons. Add a feature to our vending machine by writing some end-to-end tests and unit tests first.

If you're lucky, you can run your tests on the Raspberri Pi from our buildserver, but since like in the 'real world' 'the device' is not that often available... you'd better be lucky, or develop with discipline ;)

Created: 11/07/12 15:53 -- Modified: 16/09/12 10:37
Back to program