Console command to generate unit tests or integration tests for a Plugin #4341
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
To make it easier for developers who like to write tests, we have created a console command tool that generates tests skeletons for plugins.
Let's augment this tool so it can also generates Integration tests for Plugins, including the fixtures.
With this tests generator tool, developers will be more likely to create tests for their plugins, which will result in improved Plugins quality overall.
You can generate tests with :
$ ./console tests:generate
You can the run tests for any plugin (here ExamplePlugin) with:
$ ./console tests:run ExamplePlugin
The text was updated successfully, but these errors were encountered: