With the new release of Magento version 2.2.2 in release notes they have mentioned a new feature as Magento Functional Testing Framework (MTFT). What is this framework do exactly?

Is this a option/replacement of phpunit test? Or is this something else? Has any one tried this?

1 Answer 1


MFTF it's new framework for functional tests. The release notes for 2.2.2 contains information about it. Also, Magento dev docs contains whole section about it.

In general, this new framework based on Codeception, still uses Selenium and declarative XML style and will replace existing MTF.

The main purpose of these both frameworks - functional tests. So, all unit, integration and API-functional tests won't be affected.

  • Correct!!! MFTF is the new Functional Testing Framework that will eventually completely replace MTF. One day all Automated Testing will be executable and reportable via MFTF, but for now we only support Functional Testing. Commented Dec 15, 2017 at 17:01
  • So do we get an option to use beteween phpunit and phpunit?
    – Priyank
    Commented Dec 17, 2017 at 8:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.