Automated testing: Difference between revisions

Content added Content deleted
imported>Paulproteus
Line 44: Line 44:
$ ./bin/mysite test
$ ./bin/mysite test


That's 2 celevr by half and 2x2 clever 4 me. Thanks!
== Read the official Django testing guide ==

The official guide on Django testing is quite good. It says, "The best part [about writing tests for Django code] is, it's really easy."

We use the Django "unit test" style of writing tests.

* Go '''[http://docs.djangoproject.com/en/dev/topics/testing/ read the official Django testing guide]'''.


== General testing tips ==
== General testing tips ==