# Getting Started With Test Driven Development

DevFeed: [Getting Started With Test Driven Development](<https://devfeed.tech/articles/getting-started-with-test-driven-development-22841.md>)

Original publisher: [Read original article](<http://androidessence.com/test-driven-development/>)

Author: Adam McNeilly

Published: 2020-03-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Android Essence](<https://devfeed.tech/sources/android-essence.md>)

Topics: [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [LineageOS](<https://devfeed.tech/topics/lineageos.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [development](<https://devfeed.tech/tags/development.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [tdd](<https://devfeed.tech/tags/tdd.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tests](<https://devfeed.tech/tags/tests.md>)

## AI overview

This tutorial explains Test Driven Development (TDD), in which developers write tests before implementing the code. It describes how tests clarify expected behavior, support confident development and refactoring, and discusses why adopting TDD can be difficult in Android projects.

## Source excerpt

One of the many buzzwords thrown around the software devleopment community is Test Driven Development, or TDD. It is one of those phrases that sounds great when you say it - who wouldn't want to have tests be their first priority when writing code? However, it's not always clear what TDD means. Does it mean you write code with testability in mind? Does it mean writing tests first? How can we write tests if we don't have code to test? This post will answer all of those questions, and teach you how to implement TDD effectively on Android.