Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One of the many reasons I'm not a fan of the "pure" model of TDD.

If you want to work like that though one way to do it is to work in a branch/PR - building out your commit that fails, then your iterative commits - and then squash the branch into a single commit onto main layer on.

If anyone want to see your TDD tiny commits process later they can go and see it in the PR.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: