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.
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:
- merging for a fixture, a data set, a page, a fixture repository
- extending a fixture
- replacement in a data set and a fixture repository.