joelgoop/demokratikollen — pull request #57 by joharohl (2014-11-12 11:34:52+00:00)
Title: Created new www-dir and added testing for the www

The old www is kept in app-old while the new is in app. When no parts from app.old is needed it can be removed.

There are two types of tests that can be made: unittesting and integration/behavioural testing. The unittests are kept in www/specs and some examples are provided. the tests are run in the www dir by typing `nosetests specs`. Behavioural tests are in the `features` folder. Check out the behave tutorial http://pythonhosted.org/behave/tutorial.html . Tests are executed by running `behave` in the www dir.

Both test suites are executed on wercker when a branch is pushed so we should start to get fail/pass info on our branches :)