Appear in Online Interview to test your skills and be ready for job!
Twitter Twitter LinkedIn YouTube Google
Be Interview ready ! | Search
Submit content and win cash & prizes monthly.
Winners

Win Prizes

Announcements
Like us on Facebook
Sponsor
Top Articles Author
Thu, 24-Apr-2014 Authors
Goud.Kv
280
All Time Authors
Rajkatie
20480
Vishal@Neeraj
19600
Bharathi Cherukuri
18040

Latest members | More ...


(Statistics delayed by 5 minutes)

What is Test-Driven Development (TDD)?

 Posted by SheoNarayan on 10/14/2008 | Category: Pattern and Practices Interview questions | Views: 10905
Answer:

TDD is a software development methodology involving repeatedly writing test cases for classes and then building the corresponding classes to implement only the code necessary to successful pass the tests.

For more terminology visit: http://www.headspringsystems.com/terminology.jsp


Source: http://www.headspringsystems.com/terminology.jsp | Asked In: Many Interviews | Alert Moderator 

Found interesting? Add this to:




Comments or Responses

Posted by: Vishvvas on: 9/3/2011 | Points: 10

TDD can better be described as a technique (having some tools also) which recommends for writing test case before one starts construction (developing) of the software. More theoretically, it is a cycle of testing, coding and refactoring under the development process. This is definitely a non-traditional way of software development where generally the testing occurs only after construction of software. The perceived benefits are (i) reduction in incidences of defects (ii) Improve the design through enforcement of critical analysis and design
(iii) up-to-date documentation (iv)debugging time greatly reduced
TDD is an integral part of XP (extreme programming) but the beauty of this techniques is it can be retrofit into any existing SDLC.
There are some precautions which would guard against failure of TDD
1. Considering for learning curve and estimating time for testing along with development
2. Legacy code is difficult to incorporate TDD

Login to post response.

Comments / Responses
Select text & click toolbar to format. Formatting appears in viewmode only. HTML Tags are not allowed.
Bold Italic Underline Paragraph Title Code  Link 
 Wait ... Processing ..... please wait.