> A couple months ago I started work on a django branch [1] (with the help
> of @jezdez) that introduces a framework for writing javascript unit
> tests using QUnit[2]. I started with QUnit because Django already
> included jQuery in the admin and seemed like a natural extension, but it
> would be nice to hear opinions from people that know more about
> javascript testing than I.
>
> Since I haven't touch it in a couple months, I thought I would share it
> with django-developers to get some more eyes on it and discuss any
> missing features or implementation details. It also be nice if Idan or
> any other designery person could look it over and give some UI/UX advice.
>
> Just to give a overview, the javascript testing framework is initiated
> by first collecting static media and then starting a special runserver:
>
> ./manage.py collectstatic
> ./manage.py jstest
>
> This starts a runserver that collects and serves everything you need to
> run the javascript tests found within an installed app. More detail can
> be found in these preliminary docs[3], though they need to be moved into
> their proper place within the docs directory.
>
> I'm hoping we can figure out a way forward so that we can start writing
> tests for the admin and elsewhere.
This looks like it could be really interesting or useful, but at the
moment I can't quite see my way to working out how to use it. I'd really
like to be able to:
1) apply a patch (or two) to my copy of Django
2) run an example test that proves something useful about the admin's
javascript (for instance - or some other example app that is provided).
Remember, most of us (certainly me) probably don't know the first thing
about QUnit, and don't know if it is going to be useful for testing.
Regards,
Luke
--
LORENZ'S LAW OF MECHANICAL REPAIR:
After your hands become coated with grease, your nose will begin to
itch.
Luke Plant || http://lukeplant.me.uk/
> --
> You received this message because you are subscribed to the Google Groups "Django developers" group.
> To post to this group, send email to django-d...@googlegroups.com.
> To unsubscribe from this group, send email to django-develop...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
>
>
--
Justin Holmes
Head Instructor, SlashRoot Collective
SlashRoot: Coffee House and Tech Dojo
60 Main Street
New Paltz, NY 12561
845.633.8330
This looks like it could be really interesting or useful, but at the
moment I can't quite see my way to working out how to use it. I'd really
like to be able to:
1) apply a patch (or two) to my copy of Django
2) run an example test that proves something useful about the admin's
javascript (for instance - or some other example app that is provided).