DEV Community

Discussion on: Why should you write good commits?

Collapse
 
erykpiast profile image
Eryk Napierała

For me, personally, it depends. If I introduce new test specifically because the change I made, I'd rather keep both within a single commit.

But, if during my work I spot some uncovered case for example, I create a separate commit with that specific test.