Package: python-coverage
Version: 0.10.3-1
Severity: normal

Hello,

I tried to use nosetest with the test coverage. So I used it on my project: relatorio (http://relatorio.openhex.org). With the following command:

    % nosetests --cover-erase --with-coverage --cover-package=relatorio

And it shows the following table after the tests has runned:

    Name                               Stmts   Exec  Cover   Missing
    ----------------------------------------------------------------
relatorio 3 3 100% relatorio.reporting 78 0 0% 21-146
    relatorio.templates                   11      0     0%   21-39
    relatorio.templates.chart             48      0     0%   21-93
    relatorio.templates.opendocument     212      0     0%   21-331
    relatorio.templates.pdf               44      0     0%   21-86
    ----------------------------------------------------------------
TOTAL 396 3 0% python-coverage -r templates/opendocument.py show the same figures but when using python-coverage -r /home/nicoe/python/relatorio-0.1.1-py2.5.egg/relatorio/templates/opendocument.py

It works but those are the same files since the second one is a link to the real file.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-nose depends on:
ii  python                        2.5.2-2    An interactive high-level object-o
ii  python-pkg-resources          0.6c8-4    Package Discovery and Resource Acc
ii  python-support                0.8.5      automated rebuilding support for P

python-nose recommends no packages.

Versions of packages python-nose suggests:
ii  python-coverage               2.80-1     code coverage tool for Python

-- no debconf information

--
Nicolas Évrard     |   Web: http://www.openhex.com
Liège - Belgique



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to