Running tests

After running buildout with the dev.cfg or tests.cfg config files, you can run all tests (including robot tests with --all switch) like so:

./bin/test -s --all

The -t switch allows you to run a specific test file or method. The –list-tests lists all available tests.

To run the robot tests do:

./bin/test --all -s -t robot

For development, it might be more convenient to start a test server and run robot tests individually, like so:

./bin/robot plone/app/event/tests/robot/test_event_roundtrip.robot

In the robot test you can place the debug statement to access a robot shell to try things out.

For more information on this topic visit: