[TIP] Code analysis tools and Hudson

Arve Knudsen arve.knudsen at gmail.com
Wed Apr 28 03:04:41 PDT 2010

On Wed, Apr 28, 2010 at 11:19 AM, Nicolas Trangez
<Nicolas.Trangez at sun.com>wrote:

> On Wed, 2010-04-28 at 11:13 +0200, Arve Knudsen wrote:
> > Hi
> >
> >
> > Does anyone have any examples of integrating code analysis of Python
> > code with Hudson? We'd like to supplement our Python unittesting with
> > static analysis, i.e. linting. It'd also be interesting to hear about
> > which tools are popular for this purpose :)
> I've been using the Hudson 'Violations' plugin with great success in
> several projects, using PyLint for static code checking.
> PyLint execution was performed in a custom step of the Hudson job.
> More info at [1] and [2].

Thank you very much :) Do you have any opinion on the usefulness of e.g.
PyChecker versus PyLint?

> We use Nose's XUnit output as well (for which Hudson has built-in
> support).

We also use Nose's xUnit, but I'm wondering how compatible it is with
Hudson, since on the project status page Hudson reports "no tests" for the
Latest Test Result. All tests were successful, isn't it supposed to say "no
failures" (or something along those lines)?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20100428/f7b4ff5c/attachment.htm>

More information about the testing-in-python mailing list