I've written some casperjs tests to test my Django application. If the Django application is started (on port 8000 for example), casperjs can be run as a separate process and access my running Django app.
My other tests are written with Django's (web)testing framework that sets up the test database with fixtures, and are run with ./manage.py test
. With Django webtest, you don't need to start a separate Django webserver (doing requests and url routing is proxied/simulated).
Is there a way to rung casperjs tests from within Django webtest? Without starting a different webserver and having yet another test database?
I've seen ghost.py exists, but haven't tried it yet.