#Acceptance test How to run the acceptance tests.
Acceptance tests are currently using robotframework. See http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html for an introduction and background
- Retrieve the content of the acceptance folder
- python 2.7 (versions 3.X of python have not been tested so far)
- Install all the requirements listed by the acceptance/requirements.txt file:
pip install -r acceptance/requirements.txt
(we advise you to use a dedicated environment. Take a look at virtualenv for that).
- A test application (a static website for instance) which is reacheable from where tests execute. This should be in a distinct space representing consummer apps.
- Autosleep applications deployed as an application in a distinct provider space where you are allowed to deploy private service brokers.
- First copy
{ACCEPTANCE_TEST_DIRECTORY}/acceptance.tmpl.cfg
under{ACCEPTANCE_TEST_DIRECTORY}/acceptance.cfg
- Fill the information in the
{ACCEPTANCE_TEST_DIRECTORY}/acceptance.cfg
file - Simply launch the test with the following command:
pybot {ACCEPTANCE_TEST_DIRECTORY}