Testing
-
The goal of this project is to create an extensible Playwright testing environment for Magento 2 + Hyva projects. The main focus of this project was to:
https://github.com/ProxiBlue/m2-hyva-playwright
- have a base set of Hyva tests, which can be extended / updated by community members without affecting your own site specific tests
- Have a set of sub-tests (site tests) on a private repo that you can layer 'ontop' of the base hyva tests. -
Using mocking frameworks for testing Magento 2 modules is counterproductive as you replicate line by line your actual calls to a magento implementation.
https://github.com/EcomDev/magento2-test-essentials
Binding your tests to the details of implementation leads to very fragile test suite that no-one wants to work with afterwards as a small change in underlying code like extraction of the class requires complete rewrite of the test case.
This package solves this problem by providing fake objects for most common operations you might want to interact with core.14 Jan 2025
The latest about Magento in your mailbox?
Sign up for our bi-weekly newsletter.