Saturday, November 20, 2010

Django BDD Tools

I've been looking at Python testing tools this weekend. I really like the BDD discipline for testing and it seems that Python now has a few Cucumber clones to make this approach more reasonable:
  • Pyccuracy - https://github.com/heynemann/pyccuracy/wiki/
  • Freshen - https://github.com/rlisagor/freshen#readme
  • Lettuce - http://lettuce.it/
  • Morelia - http://pypi.python.org/pypi/Morelia/
  • PyCukes - https://github.com/hugobr/pycukes
  • pyhistorian - https://github.com/hugobr/pyhistorian
Also, I found a couple of tools that provide autotest-like functionality:
  • peon
  • autonose
  • django test server

I'm using Django, so there's some Django-related stuff that's useful as well:

  • django-test-utils 
    • testmaker, crawler, twill runner and more, from Eric Holscher
  • django-sane-testing 
    • ...not convinced this is still necessary in Django 1.2+
  • django-test-extensions
    • Some useful PyUnit assertions for testing Django apps

No comments:

Post a Comment