O'Reilly logo

Magento 2 Developer's Guide by Branko Ajzele

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Functional testing

Functional tests mimic the user interaction with our application. They literally mean testing in the form of browser interaction, which involves clicking on the page, adding products to the cart, and so on. For this purpose, Magento uses Magento Testing Framework (MTF). It's a PHP wrapper around Selenium, which is a portable software testing framework for web applications. MTF is not available out of the box via the console. It can be downloaded at https://github.com/magento/mtf.

The following requirements need to be met before installing MTF:

  • Git must be installed.
  • The Firefox browser must be installed.
  • The PHP openssl extension must be installed and enabled.
  • Java version 1.6 or later is required and it's JAR executable must be ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required