Skip to content

Run the Tests

Fil Maj edited this page Nov 11, 2019 · 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

WebAPI Tests

Integration Tests

Functional Tests

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