What tools can I use for Django Testing Automation?
I'm looking into automating a test runner which would do the following things daily (or hourly or whenever I want basically):
- Pull the latest code from a git repository.
- Run the Django test suite or something like Nose.
- Run Selenium tests.
- Give Pass/Fail and coverage statistics via a web interface.
- Email developers in the case of failures.
What kind of setups are out there? I've seen some blog posts, but many are pre-Django 1.1 and I kn开发者_运维问答ow that the test suite has been improved significantly with that release, so I'm curious what the latest and best options out there are.
I'd take a look at ponybuild, it's the replacement for buildbot that Titus Brown has been working on, and Jacob Kaplan-Moss is already looking at for django. http://github.com/ctb/pony-build/network
Hudson is a really good tool for something like this. It doesn't have any specific support for django (that I know of), it's more of a general purpose tool. It has a plugin model, and it has plugins for git, selenium and cobetura, among other things. It also has a python plugin for running python scripts. and support for sending emails when things go wrong.
Looks like DJango itself uses buildbot
精彩评论