This package is abandoned and no longer maintained. No replacement package was suggested.

Magento Testing Framework


The Magento Testing Framework (MTF) or The Functional Testing Framework (FTF) is superseded by the Magento Functional Testing Framework (MFTF). While the MTF is still functional, all MTF tests are being ported over to the MFTF. We recommend using the MFTF for testing.

Functional Testing Framework

The Functional Testing Framework (FTF) is an open source R&D project facilitating the improvement of Magento Core products. The Functional Testing Framework helps in avoiding duplication of test cases automated across the application utilizing data driven approach. With the new and improved Functional Testing Framework, developers will be able to automate functional testing of the developed functionality enabling frequent releases and higher product quality.

For more overview information refer to Introduction to the Functional Testing Framework.

Step 1: Check your pre-installation conditions

Before installing the FTF, you will need to configure Magento to prepare for testing, and verify that required software is installed.

Step 2: Install the FTF

When you're ready, use Composer to install the FTF.

Step 3: Verify your installation

Verify that the FTF is installed by checking your dev/tests/functional/ directory to look for vendor/magento/mtf.

Step 4: Get Started with testing

For a fast-path option, see the Quick start steps. There you will learn how to configure PHPUnit, set up Selenium and run functional tests.

Contributing to the Functional Testing Framework code base

Contributions can take the form of new components or features, changes to existing features, tests, documentation (such as developer guides, user guides, examples, or specifications), bug fixes, optimizations, or just good suggestions.

To contribute to the FTF code base, you can use general guides of Magento 2 contributing.

To open an issue, click here.