Plugins could define unit tests in plugins/PLUGIN/tests #540

mattab opened this Issue Feb 3, 2009 · 1 comment

2 participants

Piwik Open Source Analytics member

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.
Two requirements:

  • 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

fixed in [1444]

@mattab mattab added this to the Piwik 0.4.4 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment