Skip to content
Johan Protin edited this page Sep 6, 2016 · 5 revisions

Test suites

The HiPay Fullservice module for Magento 2 includes unit and functional test suites.

Unit tests

Unit tests are located in HiPay\FullserviceMagento\Test\Unit namespace.
You can run them with the following command lines.

  1. Go to your document root directory
  2. Run cd dev/tests/functional/
  3. Run php utils/generate.php
  4. Run phpunit -c ../../../vendor/hipay/hipay-fullservice-sdk-magento2/tests/unit/phpunit.xml.dist