airfocus-logoGlossary
airfocus search exit

Book a demo

Agile

Test-Driven Development (TDD)

CONTENTS

What is TDD (Test-Driven Development)?

💬

Definition off Test-Driven Development, or TDD

Test-Driven Development, or TDD, is a software development process that favors testing a specific unit before developing the code. By testing first, developers can refactor and optimize the resulting code to produce the best possible solution. 

The aim of TDD is to have developers create functionality that directly solves a specific test case. Failed tests are actually expected, because TDD demands that developers rewrite (or refactor) code until the tests pass in the most lean and lightweight manner. 

Benefits of TDD

TDD is beneficial for the overall software development process because it ensures that specific features are viable before the final build of the application is completed. By solving for specific use cases, developers can ensure that the final application will be able to handle specific end user requirements. 

Because failure and refactoring is built into TDD, the process ensures that final code is as efficient as possible. 

Issues with TDD

Because TDD is highly focused on specific features, it is not always a good solution for macro-scale features in an application, such as user interfaces or database operations. 

Any testing which requires the full functionality of the software will not be possible with TDD, because each feature is built in isolation — that’s why it takes so long to do, too!

Lastly, TDD should not be confused with User Acceptance Testing. Units that are successful in TDD still need to be tested with end users once the code is written.

eBook

Agile: Best Practices and Methodologies

Read now
CTA eBook image background
airfocus eBook Agile: Best Practices and Methodologies

Test-Driven-Development

General FAQ

What is test-driven development (TDD)?
Test-Driven Development, or TDD, is a process for software development that requires functionality to be developed against specific test cases before being refactored and optimized for the final build.
How does TDD fit into Agile development?
Test-Driven Development, TDD, is a methodology that shares many of the same principles as Agile development: it tasks developers to work in isolated, focused bursts to deliver better results.
airfocus eBook Agile: Best Practices and Methodologies
eBook
Agile: Best Practices and Methodologies
Read now

Glossary categories

Agile

Agile

Feedback Management

Feedback Management

Prioritization

Prioritization

Product Management

Product Management

Product Strategy

Product Strategy

Roadmapping

Roadmapping

Experience the new
way of doing product
management

Book a demo

airfocus modular platform

Experience the new
way of doing product
management

airfocus modular platform
Top rated
on major platforms
g2 badge users love us
g2 badge leader fall 2024
GetApp badge category leader
software advice badge
capterra shortlist badge
proddy roadmapping
crozdesk quality choice
Company
All rights reserved. contact@airfocus.com
DEFR