background

Magento 2 Testing course

Increase your Magento 2 code quality by writing powerful tests

Increase your Magento 2 code quality by writing powerful tests

Whenever you have business critical code in a live environment, like with a webshop, it is vital to make sure that bugs don't end up in production. Even more important, you don't want bugs to occur twice. Testing is the key. However, to get started with testing, you will first of all need a bit guidance. Second, you also need to get used to the right flow. This training helps you to get into the habit of writing unit tests, integration tests and functional tests.

Jisse Reitsma

Your teacher Jisse Reitsma

Jisse Reitsma is the developer of 60+ Magento extensions and has given technical Magento trainings for years. Besides his ability to understand complex technology, he is skilled in making this knowledge understandable for everyone. With him, you can expect in-to-depth guidance plus lots of practical tips. Jisse is the mastermind of MageTestFest, Reacticon and MageUnconference and former Magento Master.

Pick your live training

Because everyone has different needs

Classroom
Live Training
See our schedule below
  • Instructor-led classroom
  • Benefit from a real-time interaction
  • Ask any question that you have
Agency
In-House
per training per agency
  • Economical for groups of 5 and more
  • Freely debate company-specific topics
  • On-site at your company office
Agency
Online
per training per agency
  • Ideal for online or hybrid teams
  • Recordings available afterwards
  • Online via Zoom, Teams or similar
background

Join our upcoming online live training

Monday, September 30, 2024 - Thursday, October 3, 2024

Schedule for live training

Date
Sep 30, 2024 - Oct 3, 2024
Training
Magento 2 Testing Workshop
EN
Location
Online via Zoom
Details

Do these dates not fit you well? Do you want to switch to another language?
Feel free to contact us to see what other options there might be.

Magento training topics

Explore your topics of choice

This course has been updated for compatibility with Magento 2.4.7-p1

Watch a preview now

See for yourself

Testing strategies

Or browse through all lessons in our courseware portal

We are constantly updating our courseware, but the following is a real-life snapshot
Testing strategies free
Why testing?
TDD
Types of testing
Magento utilities
Organizing your tests
Running tests from PHPStorm
Defensive programming
DRY principle
Object Calisthenics
SOLID principles
Law of Demeter
Tell don't ask
Static code analysis
Basics of unit testing
Example unit test
Unit testing katas
Unit Tests
Using dev/tests/unit/phpunit.xml.dist
Stubs vs mocks vs dummies
MockBuilder
Testing exceptions
Data providers in tests
Spying with PHPUnit
Overview of Integration Tests
Setting up integration tests
Running Integration Tests
Example integration tests
Which ObjectManager?
Tips for integration tests
Magento annotations
Fixtures
Integration Tests with Warden
Minimizing modules that are enabled
Troubleshooting integration tests
Advanced topics
Integration tests and events
Testing module behaviour
Testing controllers
Testing the layout
Testing sessions
Testing entities
What is legacy code?
Refactoring with tests
Strangler fig attern
Refactoring with TDD
Different testing types for legacy code
Characterization tests
Code coverage
Performance overview
Yireo Integration Test Helper
Using tmpfs to speed up Integration Tests
Overview of Functional Tests
Functional tests setup
Using the ProductRepository in a functional test
Functional Tests following Magento
API Functional Testing
Magento Functional Testing Framework (MFTF)
PHP linting
GitHub Actions
End-to-End testing
Cypress

Full access to all videos and other coursematerial is available for attendees of live trainings.

This course has been updated for compatibility with Magento 2.4.7-p1

Discover our Integration Testing Helper

If you are up for it, you can try out our Yireo_IntegrationTestHelper, which adds various tricks on top of Magento Integration Testing: Additional assertions, an OOP install-config-mysql.php file, CLI commands.

github.com/yireo/Yireo_IntegrationTestHelper

Target group

Target group

  • Magento backend developers
  • Magento lead developers
michiel-gerritsen.jpg
When Jisse starts talking about Magento, something interesting always comes up. The Hyvä Checkout training is no exception. Whether you have worked with it a lot or a little, Jisse takes you to the internals of the checkout and explains why it works the way it does. So that you then have a solid foundation on which to continue working independently.
Michiel Gerritsen (Control-Alt-Delete)
background

We gave you MageTestFest

In 2018, we organized MageTestFest for the first time - in Amersfoort, The Netherlands. Room to 180 developers, focused entirely on Magento testing, with big names like Sebastian Bergmann and Mathias Verraes. In 2019, we did it again - in Florence, Italy. And maybe, maybe, one day, we'll be back.

Requirements

Requirements

  • Magento 2 experience
  • Knowledge of Magento 2 OOP
  • Experience with PHP OOP

These are the options we give you

At your place or ours?

Everyone learns at her/his own pace. We provide both in-house training and public training throughout Europe - whatever suits your team best. When 3 or more developers are attending, a custom training is often more economical. Contact us for more details.

You'll get courseware

Every workshop is accompanied with official Yireo coursematerial. Attendees are sent a digital version of this material after the training. It contains slides, comments and references. Additionally, our GitHub repos contain numerous more code samples.

Online classrooms

Online trainings are also our training: Via Zoom or Google Hangout sessions, our teacher is able to connect with your team. The benefit here is that the team is able to connect from various places itself as well, timeframes are more flexible. Afterwards, a video recording will be shared with all attendees for reference.

isolde-van-oosterhout.jpg
Jisse challenges my thinking by asking questions during the course, showing edge case implementations and pointing out the various hurdles to consider when developing software.
Isolde van Oosterhout (Sols Webdesign)

Customer quotes

This academy covered everything that Magento 2 has to offer. No stone was left unturned. Definitely recommended if you want to gain experience in the world of Magento, whether you are a junior or a senior developer who is just entering the world of Magento. Kevin van Welzenis (Vendic)
Fast paced, in-depth introduction to Hyvä Checkout and Magewire. Jisse truly is an experienced and knowledgable teacher who offers courses for small groups of people with enough room for questions and participation of all participants Ingmar de Vos (Mountain IT)
Even when you think you know a few things about Magento, Jisse still manages to tell you about useful details that you never thought about. Ruben Zuidervaart (Epartment)
Read more quotes of our customers
background

Yireo could be the right partner for you

We have trained 5000+ developers in numerous disciplines since 2005

  • Professional training at affordable prices
  • Truely active with numerous open source projects in the community
  • Trainings, bootcamps, hackathons, events
  • Passionate, enthousiastic, knowledgable in the right combination

Some of the customers that we have trained in the past years

vogels.png
krishtechnolabs.png
wunderman-thompson.png
abovo.png
experius.png
yourhosting.png
atwix.png
mdl-online.png
studio-emma.png
wagento.png
mediact.png
evoworks.png
See a more complete listing of our customers

Frequently Asked Questions

There is a minimum number of attendees listed. What does this mean?

When this course is organized in the form of a classroom-training, it is only held if there is a minimum number of attendees. This number is usually 4 but sometimes we bring this down to 2 or 3. This minimum number simply means that if a class is not "full", either you get a refund or your ticket is transferred to another date. With On-Demand courses (video courses), this number is not applicable.

Do you have any PPP discount available?

Yes, we do have a PPP (Purchasing Power Parity) discount available. Just enter `PPP` as a coupon code and the discount will be applied to your cart. We are using the Big Mac Index to recalculate prices. Note that - when ordering for a specific PPP rate - the country that you're entering in your billing address needs to match the exact country that you are visiting from (in other words: your IP needs to match the country you say you're from).