Quando fare i check-in se si usa il Test Driver Development...
Un articolo molto interessante di Peter Provost che alla
fine mostra questi passi:
- Write the test code.
- Compile the test code. (It should fail because you haven’t implemented anything yet.)
- Implement just enough to compile.
- Run the test and see it fail.
- Implement just enough to make the test pass.
- Run the test and see it pass.
- Refactor for clarity and to eliminate duplication.
- Pull updates from the server to get any changes from other people
- Compile the code, fix it if it is broken
- Re-run all tests, to see if others' changes have broken your tests. If they pass go to step 11 if they fail go to step 5.
- Check in the code
- Repeat from the top
Il resto lo trovate qui.