Re: Django capser headless test and jenkins

2016-04-14 Thread morty
I am not really looking for unittest. I am looking for running automatic QA tests that requires a "real" live instance of my app - this is what casperjs requires. Yes I would expect the "hanging" behavior but from the log I don't get any information that the server is actually successfully star

Re: Django capser headless test and jenkins

2016-04-14 Thread ludovic coues
Django provide lot of builtin support for python unittest. You might save yourself a lot of trouble by reusing it. The documentation is available at https://docs.djangoproject.com/en/1.9/topics/testing/. For your specific problem, hanging is the expected behavior. manage.py runserver launch a djan

Django capser headless test and jenkins

2016-04-14 Thread morty
I would like to run headless tests against my Django web app using: https://github.com/dobarkod/django-casper in a jenkins job. Basically what I need in my jenkins job is: 1. clone latest version of my django web app 2. Install django (e.g. in a Python virtual env. in the workspace) 3.