nose-devs/nose2 — Issue #16: hook call order is changing
Author: memedough
Created: 2012-01-22 02:31:22+00:00
State: open

when config has

[cov]
always-on = True

and run with

nose2 nose2/tests/

get order

handleArgs
startTestRun
stopTestRun
afterSummaryReport

now remove always-on from config file and run with

nose2 --with-cov nose2/tests/

get order

handleArgs
startTestRun
afterSummaryReport
stopTestRun

was going to stop coverage in stopTestRun and report coverage in afterSummaryReport but crash if report before stop because no stop.