As developers, we spend a lot of time testing the code that we’ve written. Generally, this is a manual process where we write a little code and then manually enter some inputs to verify we get what we expect. What if instead of doing the same manual testing over and over again, we used a […]
The post Automated Testing Using PHPUnit appeared first on php[architect].
/2023/03/automated-testing-using-phpunit/
Войдите, чтобы добавить комментарий
Другие сообщения в этой группе

This week on the PHP Podcast, Eric and John talk about Special guest Ben Ramsey, the PHP Community Discord, PHP Community Mastodon, Open Source Licenses, AI in companies and code, HHVM, and more&#

This week on the PHP Podcast, Eric and John discuss Spec-driven Development with Kiro, JetBrains on Huggingface, Event Sourcing with Laravel Verbs, Automating your life with n8n, PHP Tek 2026 Webs

This week on the PHP Podcast, Eric and John discuss PHP 8.5’s new INI Diff feature, Exploiting Public APP_KEY Leaks, Does Theo listen to the podcast? Spoiler: NO, and more. Links from the sh

In this episode, we talk with Shane Rosenthal and Simon Hamp about NativePHP for Mobile, which allows you to deploy Laravel applications to mobile devices and use native features like push notific

This week on the PHP Podcast, Eric and John discuss BosonPHP, NativePHP, PHP is the new JavaScript, Shocking stories of Electricity, snake_case vs. camelCase, and why snake_case is better, among o

This week on the PHP Podcast, Eric and John talk about Happy Birthday PHP, PHP Tek 2026 CTF Opened, Quirks in PHP, Laminas MVC Retiring, and more… Links from the show: Happy Birthday, PHP &#

It’s June, and here at PHP Architect Magazine, we’re celebrating something truly monumental, the 30th birthday of the PHP programming language. I’ve found myself wondering where the internet,