开发者

What tools can I use for Django Testing Automation?

开发者 https://www.devze.com 2022-12-15 07:10 出处:网络
I\'m looking into automating a test runner which would do the following things daily (or hourly or whenever I want basically):

I'm looking into automating a test runner which would do the following things daily (or hourly or whenever I want basically):

  1. Pull the latest code from a git repository.
  2. Run the Django test suite or something like Nose.
  3. Run Selenium tests.
  4. Give Pass/Fail and coverage statistics via a web interface.
  5. 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

0

精彩评论

暂无评论...
验证码 换一张
取 消