---
title: "Discussion on \"How to write Unit Tests for SlimPHP 4\" | Hashnode"
description: "Discussion on \"How to write Unit Tests for SlimPHP 4\". Learn SlimPHP 4 Unit Testing: Setup environment, configure PHPUnit, and create REST API test cases with Shawn Crigger"
url: "https://hashnode.com/posts/how-to-write-unit-tests-for-slimphp-4/64384b7f8082069cd42922db"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [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

Apr 13, 2023 · 5 min read · blog.shawncrigger.com  
Read the article

-   [#phpunit](https://hashnode.com/tag/phpunit)
-   [#slim](https://hashnode.com/tag/slim)
-   [#microframework](https://hashnode.com/tag/microframework)
-   [#php-testing-unittesting-phpunit](https://hashnode.com/tag/php-testing-unittesting-phpunit)

## Written by

[Shawn Crigger](https://hashnode.com/@ShawnC)

@ShawnC · Myrtle Beach, SC

  
[View profile](https://hashnode.com/@ShawnC)

I write code, mostly PHP/JS, talk to APIs and love dogs

I am a Full Stack Developer with 15yrs+ working with PHP/JS/MYSQL/HTML/CSS, I live in Myrtle Beach, SC with my Wife, my Dog and my Step Son.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
