Note: you can't actually have an rspec-like app with python – this is just the way the language doesn't work like ruby. This is a good article about Ruby vs. Python which mentions
For Python/Django the situation seems to be a little more scattered, but I'm intending to use the following equivalents:
- pyccuracy (there is also lettuce) for cucumber
- nose (extension of python's unittest) for (a sort of replacement for) rspec
- The django-nose plugin for using nose when running django tests
- The nose-xcover for using nose with hudson
I'm also going to use hudson for continuous integration (here is a good description about how to get it running with django and nose).
By the way I installed pip for installing python packages and I've started using it instead of easy_install.
0 Responses to Testing Python and Django
Leave a Reply