4.05 out of 5
25 reviews on Udemy

Magento 2 Testing and Optimization

Practical guide to Magento 2 through real-world examples
Packt Publishing
594 students enrolled
English [Auto-generated]
Utilize the existing Magento 2 automated testing base
Create new Magento 2 automated tests (unit, integration, Web API and functional)
Get the most of Magento 2 cron jobs, indexers, and caches
Migrate code and data from Magento 1 to Magento 2

Magento 2 is not just a next version of Magento 1, it is a completely new framework. It introduces a bunch of new libraries and approaches, more opportunities to implement functionality better. This course covers things that each Magento 2 developer should know and apply in addition to just functionality implementation. The course starts with explaining how to get the most value of automated tests provided by Magento out of the box and how to cover your implementation with an appropriate type of test, to ensure a high level of quality.

Then you’ll learn about Magento 2 indexers, cache types and cron jobs. Keeping the cache and indexers utilised will ensure high website performance while organising cron jobs and moving some operations to asynchronous can help to improve performance even more.

Finally, the third section of the course is dedicated to migration from Magento 1 covering the usage of code and data migration tools.

About the Author

Sergii Ivashchenko has been working in the Magento team for more than 4 years. He took part in the development of both the Magento 1 and Magento 2 frameworks and participated in the Magento Testing Framework implementation. For several years, Sergii has been systemizing and sharing his knowledge of the framework and core modules by contributing to official and non-official Magento 2 documentation and development resources, talking on Magento events and meetups.

Currently, Sergii is working on the implementation of e-commerce websites on Magento 2, developing extensions and integrations, managing infrastructure, continuous integration, deployment and continuous performance optimization. Sergii also consults and trains Magento 1 developers to enable successful, efficient, and comfortable development with Magento 2.

Automated Testing

The Course Overview

This video gives overview of the entire course.


Overview of the module that will be covered by tests and introduction to Magento tests.

Unit Tests

Learn how to cover Magento 2 code with unit tests.

Integration Tests

Learn how to cover Magento 2 code with integration tests.

Web API Tests

Learn to create and run Web API tests.

Functional Tests

Learn to create and run functional tests.

Performance Tests

Review performance testing capabilities provided for Magento 2.

Static Tests

Review and run Magento 2 static tests.



Review the performance and database provided tools in Magento 2.

Asynchronous Operations

Implement asynchronous operations to postpone order-related operations after placing an order.

Block Cache

Review cacheable and non-cacheable blocks in block cache context and learn how to manage block cache from the block class.

Full Page Cache

Review approaches to full page cache and implement three blocks affecting full page caching. 

Optimization from the Admin Panel

Review the Admin Panel settings that affect performance and page load.


Code Migration Tool

Migrate a module from Magento 1 to Magento 2.

Database Migration Tool

Migrate database from Magento 1 to Magento 2.

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.1 out of 5
25 Ratings

Detailed Rating

Stars 5
Stars 4
Stars 3
Stars 2
Stars 1
30-Day Money-Back Guarantee


2 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion