4teamwork / ftw.testbrowser

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

Add traversal driver. #54

Closed jone closed 7 years ago

jone commented 7 years ago

The traversal driver executes the requests by traversing internally in the same transaction and with the same connection as the test.

The advantage of the traversal driver is that it does not need uncommitted state to be committed, nor does it commit modifications happening in the request.

// cc @4teamwork/gever @buchi @maethu

jone commented 7 years ago

@deiferni I've updated the docstrings and comments so that it should be clearer what we are doing here. I also have refactored a bit (use context manager, rename things, remove dead code). I committed separately but will squash before merge.