Automated testing: Difference between revisions

Content added Content deleted
imported>Paulproteus
No edit summary
imported>Paulhomebus
mNo edit summary
Line 29: Line 29:
self.assertEqual(35,
self.assertEqual(35,
mysite.base.views.multiply(7, 5))
mysite.base.views.multiply(7, 5))

== Getting your local dev Openhatch setup to run tests ==

To run tests correctly you'll need to have subversion installed -
$ apt-get install subversion

Then run the full suite of tests --
$ ./bin/mysite test base missions account profile



== Read the official Django testing guide ==
== Read the official Django testing guide ==