noirbizarre / django.js

Javascript tools for Django
http://djangojs.readthedocs.org/en/latest/
GNU Lesser General Public License v3.0
181 stars 80 forks source link

Run tests from command line? #33

Open dosena opened 10 years ago

dosena commented 10 years ago

How do you run tests from the command line?

It's not clear from these instructions: https://djangojs.readthedocs.org/en/latest/test.html#test-cases

I have phantomjs installed, but don't know how to invoke for testing.

Sorry if this isn't a "real" issue, but the docs aren't clear.

noirbizarre commented 10 years ago

Hi !

Sorry for the late response.

To run the tests, you simply run your tests as usual:

$ python manage.py test

What version of Django do you use ? I haven't had the time yet to test with Django 1.6, sorry (but I will soon)

qris commented 10 years ago

We have some hints for using DjangoJS which include instructions for running phantomjs manually, which is useful for debugging.