Personally I'm a big fan of Py.test, simply because it's so simple and Pythonic to use. Simple functions with simple assert statements. That's all. For me this significantly lowers the threshold to write tests and requires less effort, which in the end results in way more tests written in Py.test than the testsuite Django is currently using.
This is a talk I watched when I was looking for alternative test suites and got me hooked: http://www.youtube.com/watch?v=DTNejE9EraI On Thursday, February 27, 2014 9:10:58 PM UTC+1, Andrew Pashkin wrote: > > >>> 1. Distributed testing (speed up, especially on multi-core >>> machines), Line Coverage, etc using plugins >>> >>> How would this work? We still have shared resources like the database >> where you can't just run 10 Test against in parallel. >> > > There is django plugin for > py.test<https://github.com/pelme/pytest_django>exists, it is able to create > separate DBs for each process. > > On Thursday, February 27, 2014 11:59:56 PM UTC+4, Florian Apolloner wrote: >> >> Hi Akshay, >> >> On Thursday, February 27, 2014 8:50:32 PM UTC+1, Akshay Jaggi wrote: >>> >>> *Why Py.Test?* (http://pytest.org) >>> >>> 1. Widely Used >>> >>> So is nose and unittest, you'll need to add a bit more info to such >> statements. >> >>> >>> 1. Better reporting >>> >>> Better how exactly? >> >>> >>> 1. Distributed testing (speed up, especially on multi-core >>> machines), Line Coverage, etc using plugins >>> >>> How would this work? We still have shared resources like the database >> where you can't just run 10 Test against in parallel. >> >> Cheers, >> Florian >> > -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/63ae1993-33c9-457c-b995-ee3fe079e50f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
