Skip to content
This repository was archived by the owner on May 10, 2022. It is now read-only.

Files

tests

Test Framework

We deliver a test framework for imi-conrun commands.

Configuration

Set the environment variable IMI_MAGERUN_TEST_MAGENTO_ROOT with a path to a contao installation which can be used to run tests.

i.e.

export IMI_MAGERUN_TEST_MAGENTO_ROOT=/home/myinstallation

Run Tests

You need PHPUnit to run the tests. If you don't have PHPUnit installed on your system you can use the following command to install all test tools at once.

..code-block:: sh

composer.phar --dev install

Run PHPUnit in imi-conrun root folder. If you have installed with composer you can run:

vendor/bin/phpunit