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.
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.
Before installing the FTF, you will need to configure Magento to prepare for testing, and verify that required software is installed.
When you're ready, use Composer to install the FTF.
Verify that the FTF is installed by checking your dev/tests/functional/
directory to look for vendor/magento/mtf
.
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.
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.