Do you write tests?
Categories:
Magento Extension Development
Yes. Every extension ships with:
- MFTF (Magento Functional Testing Framework) tests for admin + frontend user flows
- PHPUnit unit tests for business logic, with fixtures for test data
- phpcs --standard=Magento2 + PHPStan level 6 linting on every commit
- GitHub Actions CI running the full suite on every push
We commit to green CI before any merge. The next developer picking up the extension can refactor with confidence because the tests catch regressions.
Was this helpful?