The Slim Framework support forum has moved to This Tender forum is no longer maintained or monitored.

Unit Testing in SLIM exceptions thrown outside of test cases

icecappacino's Avatar


07 Mar, 2016 01:18 PM

I refer to my post on stack

I'm trying to unit test Slim's error handling I'm running the above code in the unit test and I get thrown an exception BEFORE my tests are finished.

I'm trying to test the error handling responses from slim when throwing errors.

Did I forget to do something or is my testing logic wrong?

  1. Josh Lockhart closed this discussion on 12 Feb, 2021 07:39 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac