1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2010
    Rep Power

    Lightbulb How do you do 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!

    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

    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:

    Copy Right: Valeh H. Nasser, 2010
    Last edited by valeh; July 21st, 2010 at 01:31 PM. Reason: Show gratitude: ie add thanks to message!

IMN logo majestic logo threadwatch logo seochat tools logo