---
title: "#php-testing-unittesting-phpunit articles | Hashnode"
description: "Explore 3 articles tagged #php-testing-unittesting-phpunit on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/php-testing-unittesting-phpunit"
---

Tag

# #php-testing-unittesting-phpunit

3 posts · 2 followers

[Junaid Bin Jaman](https://hashnode.com/@junaidbinjaman) · [Dec 14, 2024](https://hashnode.com/posts/brain-monkey-tutorial-simplified-unit-testing-for-wordpress/675de88b141c7cba6c429f7d)

### [Brain Monkey Tutorial: Simplified Unit Testing for WordPress](https://junaidbinjaman.hashnode.dev/brain-monkey-tutorial-simplified-unit-testing-for-wordpress?utm_source=hashnode&utm_medium=feed)

Unit testing in WordPress can be tricky due to its reliance on global functions and hooks. Brain Monkey simplifies this process by allowing you to mock WordPress functions, hooks, and filters easily. This tutorial will guide you through setting up a ...

3 min read · [junaidbinjaman.hashnode.dev](https://junaidbinjaman.hashnode.dev/brain-monkey-tutorial-simplified-unit-testing-for-wordpress?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/brain-monkey-tutorial-simplified-unit-testing-for-wordpress/675de88b141c7cba6c429f7d)

[Shawn Crigger](https://hashnode.com/@ShawnC) · [Apr 13, 2023](https://hashnode.com/posts/how-to-write-unit-tests-for-slimphp-4/64384b7f8082069cd42922db)

### [How to write Unit Tests for SlimPHP 4](https://blog.shawncrigger.com/how-to-write-unit-tests-for-slimphp-4?utm_source=hashnode&utm_medium=feed)

Learn SlimPHP 4 Unit Testing: Setup environment, configure PHPUnit, and create REST API test cases with Shawn Crigger

5 min read · [blog.shawncrigger.com](https://blog.shawncrigger.com/how-to-write-unit-tests-for-slimphp-4?utm_source=hashnode&utm_medium=feed)

[Ian Okonu](https://hashnode.com/@Okonu) · [Nov 21, 2022](https://hashnode.com/posts/writing-unit-tests-in-php/637b73deabe1ba395fcfc9e5)

### [Writing Unit tests in PHP](https://okonu.hashnode.dev/writing-unit-tests-in-php?utm_source=hashnode&utm_medium=feed)

Testing is a critical part of the development process. It helps ensure that your code is working as expected and that no regressions have been introduced. A unit test is a piece of code written to ensure that another piece of code is working correctl...

2 min read · [okonu.hashnode.dev](https://okonu.hashnode.dev/writing-unit-tests-in-php?utm_source=hashnode&utm_medium=feed)
