-
Notifications
You must be signed in to change notification settings - Fork 92
Run the Tests
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.
The unit tests are located in module Test\Unit
directory.
The api-functional tests are located in module Test\Webapi
directory
The integration tests are located in module Test\Integration
directory
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