How can I run the unit tests for your extension?
Last update: 21.10.2020 -
Christoph Maßmann
The unit tests of our extensions are based on the
For installation instructions please see the appropriate manual.
After installation of the
If everything is fine you should get a green output that says that all tests ran successfully.
EcomDev_PHPUnit
module that can be found on Github.For installation instructions please see the appropriate manual.
After installation of the
EcomDev_PHPUnit
extension you can run e.g. the Advanced Invoice Layout tests by the following command in the root folder of your Magento installation:
phpunit --group Vianetz_AdvancedInvoiceLayout
If everything is fine you should get a green output that says that all tests ran successfully.