Coverage Testing in Pyramid

| No Comments | No TrackBacks

The normal project layout, generated by the scaffolding for Pyramid projects, generates a project structure like this:

project/
            package/
                          tests.py (or tests/*)

In conjunction with Jenkins, it turns out that nose’s plugin for Cobertura-style output fails to discover the test modules properly. Instead of saying

`$ nosetests --with-xcover`

one needs to also specify the configuration file:

`$ nosetests -c development.ini  --with-xcover`

No TrackBacks

TrackBack URL: http://www.tonimueller.org/mt-tb.fcgi/35

Leave a comment

All comments are strictly moderated before appearing on this site!


About this Entry

This page contains a single entry by Toni Müller published on 10.01.12 12:50.

Plone Setup Gotcha on Debian was the previous entry in this blog.

WebKit als Nachfolger des IE6? is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.