When contributing to TAO you must follow its coding standards.
In order to try and improve code Quality for TAO we are using PHP Unit
h3 Installation and usage
Class to extends to build your own test case GenerisPhpUnitTestRunner or TaoPhpUnitTestRunner depending where you are
A global testsuite is available in the root to launch all tests.
- Test all classes
- Test Isolated methods
- Avoid Non-regression, improve refactoring
- Run TestSuites very often
- Mostly Test logical part of the application
- One Class, one TestCase
- Test all non-trivial methods
- Build separate TestSuite for different parts of the application.