[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: case against XP (was: PG: Hackers and Painters)
> This is what test-driven development looks like from the outside -- as
> if people wrote unit tests against their complete
> understanding of the application and hence, potentially left things
> uncovered. Test-driven development doesn't allow
> a feature to be added to the application code unless it is put in to
> make a test work. There is effectively _no_ code
> that doesn't correspond to some unit test or other, so it's not easy to
> find holes in the test suite. I know from
> personal experience that refactoring is vastly easier and more reliable
> when the code has been developed using TDD.
Sure, but sometimes the test is a factor of magnitude or two more difficult
than writing the feature. This is especially true of GUI features.