Magento 2.1.18 is the final 2.1.x release. After June 2019, Magento 2.1.x will no longer receive security patches, quality fixes, or documentation updates.
To maintain your site's performance, security, and PCI compliance, upgrade to the latest version of Magento.

Installation of the Functional Testing Framework Entities

Well, you are on the way to install the Functional Testing Framework!

Check pre-installation conditions

Install the Magento application

To install the Magento application, see Magento Installation Guide.

Check if all required software installed and configured

PHP

For more details about PHP verification, installation and configuration (Ubuntu, CentOS).

In php.ini file, make sure extension=php_openssl.dll is not commented out.

Check if the Functional Testing Framework has been already installed

  1. Find directory <magento2_root_dir>/dev/tests/functional/.
  2. Find the vendor directory. If the directory exists, you already have the Functional Testing Framework installed in vendor/magento/mtf.

Perform the installation

The Functional Testing Framework requires Composer, which downloads libraries defined in <magento2_root_dir>/dev/tests/functional/composer.json.

If you’re not sure that Composer is installed, see Install Composer.

  1. Open a command prompt.
  2. Log in to your Magento server as a user with permissions to modify the Magento file system. (This is typically the Magento file system owner.)
1
cd <magento2_root_dir>/dev/tests/functional/
1
composer install

If the command execution failed, check if Composer is installed globally.

Check the installation

Find the Functional Testing Framework directory

Check whether the vendor directory exists in <magento2_root_dir>/dev/tests/functional/.

1
cd <magento2_root_dir>/dev/tests/functional/
1
ls

Find the mtf directory.

1
cd vendor/magento
1
ls

Verify the Functional Testing Framework version

Open <magento2_root_dir>/dev/tests/functional/vendor/magento/mtf/CHANGELOG.md. The latest version in CHANGELOG.md is version of the FTF you installed.

Next Steps

Adjust the FTF configuration

Updated