Top Banner
18

Magento Test Automation Framework

Jun 16, 2015

Download

Business

aheadWorks

Magento Test Automation Framework, Сергунин Сергей
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Magento Test Automation Framework
Page 2: Magento Test Automation Framework

Magento Test Automation FrameworkSergey SerguninTechnical Project ManagerMagento

Page 3: Magento Test Automation Framework

Содержание

• Обзор

• Структура фреймворка

• Что в коробке?

• Типичный тест

• Как получить?

Page 4: Magento Test Automation Framework

Вступление

The Magento Test Automation Framework – Унифицированный

интерфейс функционального тестирования Magento

Page 5: Magento Test Automation Framework

Особенности

• Унифицированный Интерфейс функционального

тестирования

• Отделение бизнес-логики от UI

• Отделение бизнес-логики от данных

Page 6: Magento Test Automation Framework

Spend

80% programming and

20% testing

Page 7: Magento Test Automation Framework

Области применимости

Regression testing• Стабильная функциональность• Объемы данных Smoke testing

• Проверка ежедневных сборок• CQ приемочное тестирование

Acceptance testing

Load testing• Функциональное тестирование с фоновой нагрузкой

Page 8: Magento Test Automation Framework

Что в коробке

• Поддержка модульности тестов

• API для манипуляций с основными сущностями

• Более 1500 тестов

Page 9: Magento Test Automation Framework

Что в коробке

• Magento Smoke Test suite

• Uimaps для Magento CE

• PayPal accounts management

Page 10: Magento Test Automation Framework

• Часто изменяемая функциональность

• CAPTCHA

• Графический контент

Page 11: Magento Test Automation Framework

Последовательность вызовов

PHPUnit MTAF

UIMap

MTAF API

Tests

Data

Magento instance

Page 12: Magento Test Automation Framework

Типичный тест

Page 13: Magento Test Automation Framework

Live demo

Page 14: Magento Test Automation Framework

Отчет об ошибке

PHPUnit_Framework_ExpectationFailedException : The user has been saved.Opened the wrong page 'manage_admin_users‘(should be: 'edit_admin_user')

Page 15: Magento Test Automation Framework

Просмотр результатов

Page 16: Magento Test Automation Framework

Keep your code clean,

keep your build green

Page 17: Magento Test Automation Framework

Где коробка?

How to Get Started

http://github.com/magento/tafhttp://www.magentocommerce.com/download

Page 18: Magento Test Automation Framework

Вопросы

Спасибо

[email protected]

http://github.com/magento/taf