CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Threaded View

  1. #1
    Join Date
    Jul 2010
    Posts
    4

    Lightbulb TDD Process (Test Driven Development)

    Hi, I am doing research on what tools can make TDDier's lives easier.
    If you are a developer who practices "test driven development" (TDD) please answer the following questions.

    Thanks a lot!

    Instructions:
    Please specify which of the following statements are true when you are modifying existing unfamiliar code or extending it with new functionality in a TDD project:
    Please use a number from 1 to 5 where 1 is never and 5 is always.

    Example: I read tests to understand the program : 2

    Questions:
    1- I read tests to understand the program:
    2- I run tests and trace them to understand the program:
    3- I change the program code and then change and augment all the broken tests:
    4- Before I make any changes to the code, I first discover and make changes to tests that are relevant to the functionality of interest and then make the changes to the code to pass them:
    5- I do not try to find the relevant tests. Instead, I write a set of new tests from scratch and then make changes to the code to pass them. Then I fix any other broken tests later:
    Other:

    Copy Right: Valeh H. Nasser, 2010
    Last edited by valehh; July 21st, 2010 at 10:50 AM. Reason: typo

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured