@tsteur opened this Issue on October 27th 2020 Member

I had enabled travis for a plugin and was wondering why there were no tests being executed. Until after a while I noticed I didn't have the test group set in all plugins (in my case it actually had the old plugin name in there and when renaming the plugin I didn't update the PHPunit <a class='mention' href='https://github.com/group'>@group</a> tags). Also sometimes copying tests from a different plugin results in forgetting to adjust the group name 👍

 * <a class='mention' href='https://github.com/group'>@group</a> MyPluginName
class ApiTest ...

It's easily forgotten to add this group name causing tests to not being executed on Travis and then we miss failing tests when we rely on travis.

Is there any chance we could add these tags automatically? I thought this was already the case but seems to not be or maybe it regressed. For example when the classname is Piwik\Plugins\MyPluginName\tests\Integration\ApiTest then we could automatically add MyPluginName as a group tag?

This Issue was closed on October 27th 2020
Powered by GitHub Issue Mirror