You are reading the documentation for version 2.2. Magento 2.3 is the latest version available. Ensure you are reading the documentation for your version of Magento.

Modularity in the Functional Testing Framework

The Functional Testing Framework (FTF) enables you to follow the principle of modularity as Magento does. Functional tests for each module are collected in separate directory with the name of corresponding module.

Functional tests modules image

Modularity gives the following advantages:

  • You can add and remove Magento modules with no affect to functional tests. For this purpose the FTF has a special structure of functional test, which is split into different entities.
  • You can use scenarios in functional testing. Test flow in scenario tests can be modified.

It is achieved due to the FTF capabilities like: