TDD stands for Test-Driven Development, or Test-Driven Design. It is the practice of writing a unit test before writing code to satisfy it, in what is known as the Red-Green-Refactor cycle.

learn more… | top users | synonyms

0
votes
1answer
9 views

How to dissect a large legacy codebase and start using TDD

If I was to inherit a large codebase, how would I start refactor the application using TDD? The application has layers of authentication(financial banking company), and frankly, not knowing where to ...
0
votes
1answer
25 views

Test driven development appropriateness

I am aware that there are many advantages of test driven software development. However, I'm wondering if there are situations in which test driven development is not appropriate or just downright not ...
0
votes
1answer
17 views

TDD in a two-week sprint? Practical?

On one hand, it may take a while (or a long time) to create and run tests with TDD. The worst case scenario is when the test cases fail and the entire program fails. Refactoring may take longer than ...
0
votes
1answer
9 views

How would I write a test for a database system such as Redis?

So i'm looking into databases and I want to use Redis, but I would like to know how I would go about writing tests for a database such as this before starting with it.
1
vote
0answers
16 views

TDD and Refactoring

Re-factoring code seems to be the more time consuming area of TDD, is there a way of knowing if you have spent too much time doing so? Or maybe a way of limiting the amount of re-factoring that must ...
0
votes
0answers
10 views

Can or should TDD be used for every programming project or is there a way to choose when to use it?

I am currently in software engineering and we are covering Test Driven Development. Can or should TDD be used for every programming project or is there a way to choose when to use it?
0
votes
0answers
7 views

Refactoring code in TDD cycle and the appropriate time to do so?

When it comes to the TDD cycle, how far through the testing should refactoring the code take place (incremental after each test or at the end)? And how would this affect the TDD cycle and the time ...
0
votes
0answers
12 views

TDD and client-server interactions

I'm new to software development and I am writing some functions that send data to and ask for data from a server. If I wanted to use test driven development when writing these functions, what would be ...