Write unit test for Slim Framework

It’s not so easy to write Test Cases for slim framework. But I tried by autoloading SlimEnvironment class by requiring applications global autoload script.

And after that I just created a Slim mock environment to handle the test case environment.

If you have any further idea about to please share with me. Thanks in advance!