Magento Test Automation Framework
-
Upload
aheadworks -
Category
Business
-
view
2.203 -
download
6
description
Transcript of Magento Test Automation Framework
![Page 1: Magento Test Automation Framework](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/1.jpg)
![Page 2: Magento Test Automation Framework](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/2.jpg)
Magento Test Automation FrameworkSergey SerguninTechnical Project ManagerMagento
![Page 3: Magento Test Automation Framework](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/3.jpg)
Содержание
• Обзор
• Структура фреймворка
• Что в коробке?
• Типичный тест
• Как получить?
![Page 4: Magento Test Automation Framework](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/4.jpg)
Вступление
The Magento Test Automation Framework – Унифицированный
интерфейс функционального тестирования Magento
![Page 5: Magento Test Automation Framework](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/5.jpg)
Особенности
• Унифицированный Интерфейс функционального
тестирования
• Отделение бизнес-логики от UI
• Отделение бизнес-логики от данных
![Page 6: Magento Test Automation Framework](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/6.jpg)
Spend
80% programming and
20% testing
![Page 7: Magento Test Automation Framework](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/7.jpg)
Области применимости
Regression testing• Стабильная функциональность• Объемы данных Smoke testing
• Проверка ежедневных сборок• CQ приемочное тестирование
Acceptance testing
Load testing• Функциональное тестирование с фоновой нагрузкой
![Page 8: Magento Test Automation Framework](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/8.jpg)
Что в коробке
• Поддержка модульности тестов
• API для манипуляций с основными сущностями
• Более 1500 тестов
![Page 9: Magento Test Automation Framework](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/9.jpg)
Что в коробке
• Magento Smoke Test suite
• Uimaps для Magento CE
• PayPal accounts management
![Page 10: Magento Test Automation Framework](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/10.jpg)
• Часто изменяемая функциональность
• CAPTCHA
• Графический контент
![Page 11: Magento Test Automation Framework](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/11.jpg)
Последовательность вызовов
PHPUnit MTAF
UIMap
MTAF API
Tests
Data
Magento instance
![Page 12: Magento Test Automation Framework](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/12.jpg)
Типичный тест
![Page 13: Magento Test Automation Framework](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/13.jpg)
Live demo
![Page 14: Magento Test Automation Framework](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/14.jpg)
Отчет об ошибке
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](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/15.jpg)
Просмотр результатов
![Page 16: Magento Test Automation Framework](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/16.jpg)
Keep your code clean,
keep your build green
![Page 17: Magento Test Automation Framework](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/17.jpg)
Где коробка?
How to Get Started
http://github.com/magento/tafhttp://www.magentocommerce.com/download
![Page 18: Magento Test Automation Framework](https://reader036.fdocument.pub/reader036/viewer/2022062307/557fd2cfd8b42aab088b4eea/html5/thumbnails/18.jpg)
Вопросы
Спасибо
http://github.com/magento/taf