6

Should one practice test-last development before learning TDD?

 2 years ago
source link: https://dev.to/toureholder/should-one-practice-test-last-development-before-learning-tdd-2o7h
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Thoughts on TDD (4 Part Series)

I'd been writing tests for a while in a test-last development manner before learning how to develop software using the test-driven technique.

I find that many developers feel daunted by the practice of writing failing tests before writing the implementation/production code to make the tests pass, especially when they have little or no experience writing tests at all.

Since I can't go back in time and learn software testing using a test-driven development approach, I honestly don't know what it feels like and have thus decided to elicit the opinion of the community :)

Do you think it's better to introduce someone with no test writing experience to the practice of software testing with TDD right off the bat? Or is it better to learn TDD after becoming familiar with test-last development?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK