How to see the stack trace while executing unit test on REST API that don't work
Hello,
I'm trying to implement a REST API with lumen.
In order to validate my work. I wrote unit test thought phpunit. Sometime, an error occur (database constrains for example) in the REST API, that generate a "rich" web page in order to view the error in a browser.
But, I'm running my test in command line, I would prefer to get the stack without all this html formatting.
Hey don't be sad. You haven't really given the answer : you gave me a way to find myself the answer. And, it's what I did, and then I reply with the real answer to my question in order to help people that will had the same issue than me to find quicker a way to resolve it... and I'm not thinking that's what your answer is.
i m not being sad - just irritated.. i gave you exactly what you asked for - your own solution doesnt HELP in anyway answer what your original post stated.. anyway.. life's too short & all that..
i even TOLD you to change the render func.. your answer is WRONG.. you dont do that..