What makes a good test?
- Independent: Each test needs to run independently from other tests and environments.
- Fast: To have useful tests and be able to run them as often as possible (for example, as pre- or post-commit hooks), tests need to be fast.
- Repeatable: You should be abl...
Rules of Unit Test.
Share this highlighthttp://www.safaribooksonline.com/a/phpunit-essentials/9982/