Closed codez closed 11 years ago
Thanks! Looks promising. I don't have time to process this now but I will next time I pick up this project. Do you have a screenshot of how error responses would look in the test report?
The backtrace simply appears in the body area.
(Actually, this error would now be rendered as a 404, not 500. It's an old screenshot ;)
Thanks!
When a request in a Rails 3 integration test produces an exception, this exception is directly passed to the test, causing it to fail. With Tarantula, exceptions in requests should produce regular responses with a status code of 500, so the crawling can go on. Finally, the test report will show the failed requests.
This branch rescues exceptions and wraps them into the response.