django.js icon indicating copy to clipboard operation
django.js copied to clipboard

Run tests from command line?

Open dosena opened this issue 11 years ago • 2 comments

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.

dosena avatar Jan 23 '14 19:01 dosena

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)

noirbizarre avatar Jan 31 '14 11:01 noirbizarre

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

qris avatar Jul 15 '14 14:07 qris