16. Create a tests suite:
A good test suite should be both Unit
and Functional.
At least we have to:
- test the core functionality (ie. Login)
- test the workflows
- test third party interaction
- test all the classes (if the code is OO)
17. Acceptance Tests:
If the code can't be
unit tested (phpUnit),
use acceptance tests
(Selenium-IDE).
28. Now it's time to do
serious code refactoring:
- create proper unit tests
- use standard development pattern
- use an enterprise level framework
- remove unused modules