Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mattab opened this issue Feb 3, 2009 · 1 comment
Closed

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

mattab opened this issue Feb 3, 2009 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Feb 3, 2009

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
Copy link
Contributor

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
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

2 participants