Unit Testing with phpunit


#1

I’m having a hard time understanding how to write unit tests for my controllers in slim. I came across this project slim-test-helpers. But it looks like it is built for slim 2.6. Has anyone tried it with version 3? Also wondering if there was a beginner how-to on the subject of unit testing with slim

thanks


#2

I wrote a little about unit testing here: https://akrabat.com/using-testing-eloquent-in-slim-framework/