Plugins could define unit tests in plugins/PLUGIN/tests
|Reported by:||matt||Owned by:|
Plugins developers good practise involves writing and running unit tests. To do so, Piwik plugins developers should write unit tests using the existing testing framework in place in Piwik.
The objective is to update the piwik/tests/* code so that all tests in plugins/*/tests/*.php is picked up by the testing framework.
- going to plugins/*/tests/example.php should run the unit test directly
- going to tests/all_tests.php and the tests in plugins should be automatically ran
Change History (3)
comment:1 Changed 4 years ago by matt (mattab)
- Milestone changed from 4- Stable release to 2 - Piwik 0.8 - A Web Analytics platform
- Sensitive unset
comment:2 Changed 4 years ago by vipsoft (robocoder)
- Milestone changed from 2 - Piwik 0.8 - A Web Analytics platform to 1 - Piwik 0.4.4