Speed up your BDD Given-clauses via a remote library¶
BDD-style tests begin with one or more Given-clauses that should setup the test environment for the actual tests-clauses (When and Then).
Because Given-clauses are not really part of the actual test, it is not necessary to run them through Selenium (using Selenium2Library), but it would be faster to write custon Python keywords for them.
plone.act includes an example, how to a robot remote library, which could be called to interact with the site without Selenium.
The base implementation is provided at:
An example integration into testing layer is provided at:
An example test suite using the library is provided at: