4teamwork / ftw.testbrowser

A testing browser for Plone.
http://ftwtestbrowser.readthedocs.io/
5 stars 1 forks source link

Improve tooling and defaults regarding exception handling #48

Closed jone closed 7 years ago

jone commented 7 years ago

When using Mechanize, exception in the application code used to bubbleup into the test by default. But when using requests, this is not possible, resulting in HTTP errors. This behavior is inconsistent between drivers and it is not the same as what happens with real browsers. It is important though that the developer is notified of unexpected HTTP errors.

In order to clean up the inconsistencies and provide better tooling for working with exceptions various changes are made:

Fixes #46

jone commented 7 years ago

@maethu @lukasgraf have you planned to look into this one sometimes?

lukasgraf commented 7 years ago

Post-Merge review: Looks good to me! 👍