spec icon indicating copy to clipboard operation
spec copied to clipboard

--with-spec hides --with-coverage output

Open coagulant opened this issue 11 years ago • 5 comments

It's not a big deal, since I can output coverage report manually afterwards, but it would be nice to make 2 plugins behave well together.

coagulant avatar Oct 07 '13 15:10 coagulant

One of my other projects recently started caring more about coverage, and it is also due for a migrate to spec from a horrid old homegrown test setup. So I'll poke at this when that time comes. Thanks!

bitprophet avatar Feb 15 '14 05:02 bitprophet

Indeed I am seeing this too, any news?

krak3n avatar Apr 30 '14 16:04 krak3n

Could this line have something to do with it?

https://github.com/bitprophet/spec/blob/master/spec/cli.py#L151

Appears to disable stdout capturing which I guess the coverage output goes.

krak3n avatar May 01 '14 07:05 krak3n

@krak3n AFAIK that would impact the stdout during test bodies and I'd assume coverage output runs at the end of the run and/or after each test.

I haven't had time to dig into this overall issue myself yet, but still plan to.

bitprophet avatar Jun 13 '14 19:06 bitprophet

Hey there, just a +1 to this as it's stopping me from using this wonderful plugin :smile:

Thanks heaps! Fotis

fgimian avatar Apr 26 '15 13:04 fgimian