TDD For Android

A session at Droidcon Italy 2015

Thursday 9th April, 2015

4:10pm to 4:50pm (CET)

Delivering updates with confidence; shortening time to market; writing clean and correct code every day: this is the promise of Test-Driven Development. But, it’s not easy to do TDD in Android. You have to either run the tests on the device, or install a complex framework that mimics the Android APIs. Both options slow you down.

In this session we’ll get back to the roots of TDD and show how to deal with this problem. We’ll learn time-tested techniques that greatly reduce the need to run tests on the device. The good side-effect of these techniques is that our code becomes simpler and better. We’ll learn about old workhorses such as presenter-first, model-view separation, humble dialog box and spikes.

I will present an example of how to test-drive a drawing application that supports multi-touch.

Warning: this is not a session about testing! It’s about writing well-written, well-designed code. Testing is important, but it’s not our focus here; we use test to drive the design.

This session’s material is from my training course http://www.avanscoperta.it/it/tr... and our upcoming book https://leanpub.com/tddforandroid

About the speaker

This person is speaking at this event.
Matteo Vaccari

Extreme Programmer. Trainer. Developer @thoughtworks. Co-author of https://leanpub.com/tddforandroid bio from Twitter

Coverage of this session

Sign in to add slides, notes or videos to this session

Droidcon Italy 2015

Italy Italy, Turin

9th10th April 2015

Tell your friends!

When

Time 4:10pm4:50pm CET

Date Thu 9th April 2015

Short URL

lanyrd.com/sdmgfd

View the schedule

Share

See something wrong?

Report an issue with this session