🐘 Join the PHP community? https://www.youtube.com/@ZatacaAcadem...
🌐 Website: https://academy.zataca.es/
💬 Questions? Write to us at [email protected]
🐱 GitHub: https://github.com/ZatacaAcademy
🐦 X: https://x.com/ZatacaSystems
🤝🏻 LinkedIn: / zataca-systems-s-l
🎯 Looking for professional collaboration? We specialize in creating custom websites with Laravel: https://zataca.es/
Other main videos on the channel:
🛠️ The Ultimate Guide to Setting Up VSCode with PHP in 2024:
• La guía definitiva para configurar VSCode ...
🔝📦 Unleash the Power of Laravel in VSCode! | Top Extensions:
• ¡Desata el poder de Laravel en VSCode! | E...
In this video of the PHP and Laravel testing course, we show you how to use clearer and more expressive methods in Mockery to replace the use of shouldReceive(). We explore the differences between allows() and expects(), and how these alternatives eliminate confusion that can arise when interpreting test expectations. This improvement, available since Mockery version 1.0, makes your tests more readable and understandable—something every development team should consider!
Learn how to refactor your test code and apply best practices that bring greater clarity when setting expectations. Keep improving your testing skills with PHP, Laravel and Mockery!
#Programming #Testing #SoftwareTesting #AutomatedTesting #PHPTesting #SoftwareDevelopment #SoftwareQuality #ZatacaAcademy #PHP #100DaysOfTesting #Laravel #PHPUnit #Mockery #VSCode #VisualStudioCode #LaravelDeveloper
👉🏻 Subscribe now! https://www.youtube.com/@ZatacaAcadem...
👇🏻 Your video suggestions for future tutorials 👇🏻