DEV Community

Discussion on: Why you need to see your test fail

Collapse
 
jessekphillips profile image
Jesse Phillips

Little tip on writing your test before the implementation after you've implemented and tested.

Commit your test separately from your implementation, then git commit --fixup and rebase -i to get them in the correct order.