Source

orbited / daemon / README.testing

How to run the orbited functional tests
=======================================

Prerequisites
-------------
* Java must be installed
* Firefox must be installed

/etc/hosts
----------
For the functional tests to work, the /etc/hosts file on the machine running the
tests must alias the following domains to 127.0.0.1:

* www.orbited 
* sub.www.orbited 
* xp.orbited

Test setup
----------

You will need three terminal sessions to run the tests. The following invocations assume a working directory in the daemon directory of the orbited source.

Terminal 1 - (selenium)
+++++++++++++++++++++++

java -jar orbited/test/resources/selenium-server-standalone-2.0a4.jar 

Terminal 2 - (orbited)
++++++++++++++++++++++

orbited -c orbited/test/resources/orbited-debug.cfg 

Terminal 3 - (nosetests)
++++++++++++++++++++++++

nosetests