Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
mattab opened this Issue · 1 comment

2 participants

@mattab
Owner

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
@robocoder
Collaborator

fixed in [1444]

@mattab mattab added this to the Piwik 0.4.4 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.