Magento Open Source, 1.9.x

Magento 1.x Security Patch Notice
For Magento Open Source 1.5 to 1.9, Magento is providing software security patches through June 2020 to ensure those sites remain secure and compliant. Visit our information page for more details about our software maintenance policy and other considerations for your business.

Magento Test Framework

The Magento Test Framework (MTF) is a tool that can run nearly 170 automated functional tests, which are included in Magento and designed to improve the quality of implementations and to make it easier to perform basic acceptance testing when adding extensions, making customizations, or upgrading Magento. For more technical information, see: Introduction to Magento Testing Framework.

Running MTF
1. Make sure your Magento code is up to date.
2. Change to the dev/tests/functional directory, and run composer update to update any dependencies that might prevent tests from running successfully.
  • composer update
3. Start Selenium. Selenium was downloaded by Composer, and can be found in the following directory:


  • Example
    java -jar vendor/netwing/selenium-server-standalone/selenium-server-standalone-2.39.0.jar
4. Start your tests using PHPUnit, using your integrated development environment (IDE), or from the command line.
  • Example
    cd dev/tests/functional