Functional Tests and Plone 3.0
Martin Aspeli
optilude at gmx.net
Sat Jul 14 22:52:36 UTC 2007
Derek Richardson wrote:
> Plone 3.0 has a pretty error page that hides error message details from users.
> However, when I'm running functional tests, it make it difficult or impossible
> to debug test failures. I get back an exception class name with the description
> of the exception being the plone error page that doesn't tell me the actual
> error message.
>
> How have others solved this issue?
The ploneboard tests (and others) have some code which inspect the
latest entry in error_log on error. That's quite useful, and gives you a
plain-text traceback, not the full Plone HTML.
Martin
--
Acquisition is a jealous mistress
More information about the Product-Developers
mailing list