Automated Testing Using PHPUnit

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/

Vytvorené 2y | 21. 3. 2023, 3:20:42


Ak chcete pridať komentár, prihláste sa

Ostatné príspevky v tejto skupine

Mmmmmm, PIE

This month, our first feature article continues a series started in the March 2025 edition of PHP Architect. Florian Engelhardt is back to expand Observability Foundations further with ‘Observabili

23. 8. 2025, 0:40:24 | PHP Architect
PHP Podcast: 2025.08.21

This week on the PHP Podcast, Eric and John talk about the Pest 4 released, Prompt Injections, Try/Catch, 1Password for sudo, AOL dialup ends, and more… Links from the show: ! ! ! Discover S

22. 8. 2025, 1:30:15 | PHP Architect
All the Fours: The PHP & Laravel Ecosystem’s Greatest Year Yet

Picture this: you’re at your desk, coffee growing cold, staring at a legacy codebase that feels like it was written during the Jurassic period. The tests are brittle, the UI updates require a

18. 8. 2025, 18:40:09 | PHP Architect
Community Corner: Longhorn PHP 2025 With Ian Littman

Links: Longhorn PHP – https://longhornphp.com/ HoneyBadger.io – https://HoneyBadger.io Our Discord – https://discord.gg/aMTxunVx Ian on phpc.social – https://phpc.social/@ia

18. 8. 2025, 16:20:07 | PHP Architect
Are You Down With CSP?

CSP is the Content Security Policy for your website’s pages. Think of it as a foreman on a construction site, checking all the material loads coming to the gate, verifying that they meet the requir

15. 8. 2025, 18:40:08 | PHP Architect
PHP Podcast: 2025.08.14

Links from the show: Thalia Strings – YouTube PHP Fibers: The Game-Changer That Makes Async Programming Feel Like Magic | PHP Architect Everything We Announced at Laracon US 2025 &#8211

15. 8. 2025, 0:20:05 | PHP Architect
PHP Fibers: The Game-Changer That Makes Async Programming Feel Like Magic

Picture this: You’re sitting in front of your computer, watching your PHP application crawl through a list of RSS feeds one by one. Each request takes half a second, and with twenty feeds to

14. 8. 2025, 19:40:03 | PHP Architect