posted 16 years ago
Possibly, but probably not.
TDD requires that you
a) write a unit test for a new bit of unit level funcationality before implementing the new functionality
b) code just enough to make the new test pass while ensuring all other tests still pass
c) refactor the code to a cleaner design, keeping all tests passing
d) repeat a-c
If you're writing unit tests after you've written the code then you're not following TDD. If you are writing the tests first, but not refactoring, then you're doing more "Test First Development" not TDD, etc