Version Control and Testing
Version Control and Testing
●
VC & testing work well.
▶
Run the tests, make sure they pass
▶
Make sure everything is checked in.
▶
Write tests for the bug / feature.
Ë
Make sure they fail.
▶
Fix your bug / write your feature
▶
Run the tests.
Ë
If they pass, commit. You're done.
Ë
If they fail, look at the diff. The problem is revealed by that change.
●
The smaller the change, the better this works.
●
You are using version control, right?