bobber6467 / python-nose

Automatically exported from code.google.com/p/python-nose
0 stars 0 forks source link

Nose 1.1.0 and 1.1.1 don't generate .coverage with --with-coverage #439

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. nosetests --with-xunit --with-coverage --cover-erase
2. no .coverage file generated

What is the expected output? What do you see instead?
There should be a .coverage file created, there is none. This works fine with 
nose==1.0.0

What version of the product are you using? On what operating system?
This happens on nose 1.1.0 and 1.1.1
Ubuntu Server 10.04 LTS 64 bits.

Original issue reported on code.google.com by yann...@gmail.com on 27 Jul 2011 at 8:59

GoogleCodeExporter commented 8 years ago
thanks, I can reproduce this (even with just --with-coverage)

Original comment by kumar.mcmillan on 27 Jul 2011 at 10:29

GoogleCodeExporter commented 8 years ago
Coverage plugin wasn't explicitly saving data, attached diff fix it.

Original comment by timothee...@gmail.com on 30 Jul 2011 at 1:18

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks Tim! Applied in revision af3d9e0d22997c2ee779ccb7443acfcc79a7d8db . I 
added a regression test for it and pushed out your change for Nose 1.1.2

Original comment by kumar.mcmillan on 31 Jul 2011 at 12:01