My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

TDD: How do you handle loss of work when doing major refactoring?

Fazle Rahman's photo
Fazle Rahman
·Oct 20, 2017

In a true TDD method, we end up not writing any code at all until all the test cases are written and are working.

Primarily if you are working on a significant feature that takes 3-4 days of coding, writing test cases for it consumes even more time.

How do people who practice TDD properly handle such situations?