Join GitHub today
Clone this wiki locally
The windmill unittests are broken up in to a few different sections. Each section requires it’s tests to be a run a little differently.
Most of the windmill unittests that require the browser to be up are in here. You can run these tests with functest, nose, or windmill.
$ windmill test=. firefox -e $ nosetests . --wmbrowser=firefox $ functest browser=firefox
This directory is exclusively for tests that require domains outside of tutorial.getwindmill.com.
Test authors should be careful not to rely on sites that are complex or will change often instead tests should focus on verifying that certain domain switching operations are successful.
$ windmill test=. firefox ssl -e $ nosetests . --wmbrowser=firefox --wmssl
These tests must be run with the windmill binary
$ windmill jsdir=. firefox -e
These are Python tests that do not require a browser. The entire windmill service is started and stopped in the top level setup and teardown but these tests don’t require a browser to be active. You must run with functest or nose.
$ nosetests .
These tests make a series of shell calls to test the external command line interfaces of the windmill binary, nose, functest, and django manage.py.
These tests take a long time to run and currently can only be started with functest.
$ functest browser=firefox