[melbourne-pug] Unit Testing Tools

Rory Hart hartror at gmail.com
Sat Jul 12 06:38:28 CEST 2014


It looks like there is a package on pypi that provides support for testtools in Django. Django's test framework is pretty adaptable.

> On 12 Jul 2014, at 2:27 pm, Brian May <brian at microcomaustralia.com.au> wrote:
> 
>> On 22 August 2013 14:15, Ben Finney <ben+python at benfinney.id.au> wrote:
>> I use Python 2.7, or Python 3, and use the standard library ‘unittest’
>> along with ‘testtools’ <URL:http://testtools.readthedocs.org/>
>> and ‘testscenarios’ <URL:https://pypi.python.org/pypi/testscenarios>.
> 
> 
> Apologies for resurrecting this dead thread.
> 
> Just wondered if it was possible to use testtools and/or testscenarios with Django applications?
> 
> Django has stuff to ensure that the database is setup for tests, among after stuff, however this appears to be unittest specific.
> 
> https://docs.djangoproject.com/en/dev/topics/testing/tools/#django.test.TestCase
> 
> Thanks
> -- 
> Brian May <brian at microcomaustralia.com.au>
> _______________________________________________
> melbourne-pug mailing list
> melbourne-pug at python.org
> https://mail.python.org/mailman/listinfo/melbourne-pug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/melbourne-pug/attachments/20140712/dafec143/attachment.html>


More information about the melbourne-pug mailing list