Skip to content

Run the Tests

Sergii Ivashchenko edited this page Apr 23, 2020 · 2 revisions

This page provides instructions on how to run this project's tests in a local development environment. If you do not have a local development environment set up, please see the Installation Guide.

Unit Tests

The unit tests are located in module Test\Unit directory.

WebAPI Tests

The api-functional tests are located in module Test\Webapi directory

Integration Tests

The integration tests are located in module Test\Integration directory

Functional Tests

The functional tests are located in module Test\Mftf directory

This project leverages the Magento Functional Testing Framework (MFTF). Make sure you are able to run the simplest MFTF as per the MFTF Getting Started guide before following the rest of these instructions.

To run the entire Adobe Stock Integration test suite, from the magento2 directory, run:

vendor/bin/mftf run:group adobe_stock_integration_suite --remove

To run an individual test, specify the test name in the following command:

vendor/bin/mftf run:test AdminAdobeStockSavedLicensedImageLocateTest --remove
Clone this wiki locally