O'Reilly logo

Learning Android Application Testing by Paul Blundell, Diego Torres Milano

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Practicing Test-driven Development

This chapter introduces the Test-driven Development (TDD) discipline. We will start with TDD practices in the general sense, and later on move to the concepts and techniques more closely related to the Android platform.

This is a code-intensive chapter, so be prepared to type as you read, which would help you get the most out of the examples provided.

In this chapter, we will learn the following topics:

  • Introducing and explaining Test-driven Development
  • Analyzing its advantages
  • Introducing a real-life example
  • Understanding project requirements by writing tests
  • Evolving through the project by applying TDD
  • Getting an application that fully complies with the requirements

Getting started with TDD

Briefly, Test-driven ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required