Ram
Ram

Reputation: 11644

How to get NUNIT and OPENCOVER result without executing the test cases twice on CruiseControl.NET?

I have setup CC.NET to run NUNIT first and then OPENCOVER. I have around 2500 NUNIT unit test cases which takes around 2 hours for execution. For OPENCOVER same unit test cases are run by OPENCOVER and entire operation takes close to 5 hours.

Is there any way using which I can run the test cases only once and get the NUNIT as well as OPENCOVER result?

Upvotes: 0

Views: 372

Answers (1)

Simon Laing
Simon Laing

Reputation: 1214

If memory serves, OpenCover launches nunit and profiles it, as such you should be able to tell nunit (via OpenCover) to save results to a file; requiring only one execution?

See the /xml switch to nunit-console.exe

Then get ccnet to merge in the results from both nunit and OpenCover.

Upvotes: 1

Related Questions