Where did index.html go

Where did index.html go

I was using Ncover 2.0 and dumping the report to my webserver. Upgraded to 3.0 and now the index file is not created.

So where did it go


RE: Where did index.html go

Is this the html report or a different report. Can you provide the switched used.

Thank you.

Joe Feser


RE: Where did index.html go

Here is the settings file I use

<?xml version="1.0" encoding="utf-8"?> C:\Program Files\MbUnit\MbUnit.Cons.exe /rt:html /rnf:BlissMbUnitResults.html /rf:D:\NightlyBuilds\Bliss_9SVN_090209_Trunk\090209.447\Report UnitTestBlissCore.dll UnitTestSignalProcessing.dll UnitTestIppManaged.dll UnitTestWaveLibrary.dll D:\NightlyBuilds\Bliss_9SVN_090209_Trunk\Bin\x86\Release SignalProcessing BlissCore IppManaged WaveLibrary Coverage.xml Xml2 false Coverage.log false false ipp true D:\NightlyBuilds\Bliss_9SVN_090209_Trunk\090209.447\Report Test

In 2.0, the directory contained Index.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!-- saved from url=(0022)http://www.ncover.com/ --> NCover Coverage Report

In 3.0 it does not. I tried copying over this file but some names have changed

Thank you


RE: Where did index.html go

Did it create a file called Report.html in the D:\NightlyBuilds\Bliss_9SVN_090209_Trunk\090209.447\

directory?

If not, what did it create for you?

Thanks

Joe Feser


RE: Where did index.html go

It create a directory called Report and in that directory the files (some created by MbUnit)

-rw-r--r-- 1 mertus wheel 98713 Feb 9 05:23 Bliss9BuildLog.html -rw-r--r-- 1 mertus wheel 304320 Feb 9 05:23 BlissMbUnitResults.html.html -rw-r--r-- 1 mertus wheel 231 Feb 9 05:23 Category.png -rw-r--r-- 1 mertus wheel 481 Feb 9 05:23 Fixture.png -rw-r--r-- 1 mertus wheel 275 Feb 9 05:23 Invoker.png -rw-r--r-- 1 mertus wheel 266 Feb 9 05:23 Populator.png -rw-r--r-- 1 mertus wheel 284 Feb 9 05:23 Test.png -rw-r--r-- 1 mertus wheel 34088 Feb 9 05:23 classes.html -rw-r--r-- 1 mertus wheel 46500 Feb 9 05:23 classes_full.html -rw-r--r-- 1 mertus wheel 19745 Feb 9 05:23 coveragesummary.html drwxr-xr-x 96 mertus wheel 3264 Feb 9 04:37 files -rw-r--r-- 1 mertus wheel 1709 Feb 9 05:23 mbuniticon.gif -rw-r--r-- 1 mertus wheel 6694 Feb 9 05:23 mbunitlogo.png -rw-r--r-- 1 mertus wheel 546898 Feb 9 05:23 methods_full.html -rw-r--r-- 1 mertus wheel 3141 Feb 9 05:23 modules.html -rw-r--r-- 1 mertus wheel 5489 Feb 9 05:23 modules_full.html -rw-r--r-- 1 mertus wheel 2890 Feb 9 05:23 namespaces.html -rw-r--r-- 1 mertus wheel 5502 Feb 9 05:23 namespaces_full.html -rw-r--r-- 1 mertus wheel 16845 Feb 9 05:23 sources.html -rw-r--r-- 1 mertus wheel 21979 Feb 9 05:23 sources_full.html -rw-r--r-- 1 mertus wheel 48456 Feb 9 05:23 uncoveredreport.html

Almost all is there but index.html


RE: Where did index.html go

mertus,

What version are you running? Can you look at the exact version: v3.0.12 is the latest.

Joe


RE: Where did index.html go

it is

C:\Program Files\NCover>NCover.Console.exe NCover Complete v3.0.11 x86 (Administrator) Code Coverage for .NET Copyright (c) 2007 - 2009 Gnoso Inc.

So I will download 3.0.12 and see if that helps


RE: Where did index.html go

The install from the download link is NCover-x86-3.0.11.4379.msi Not 12, where can I get 12?

Thanks


RE: Where did index.html go

apologies for the confusion. the latest is 3.0.13 and it should be available at www.ncover.com/download/current


RE: Where did index.html go

Downloaded and install 3.0.13

C:\Program Files\NCover>NCover.Console.exe NCover Complete v3.0.13 x86 (Administrator) Code Coverage for .NET

But alas there still is no Index.html file. The files are Directory of D:\NightlyBuilds\Bliss_9SVN_090210_Trunk\090210.453\Report

02/10/2009 08:44 PM . 02/10/2009 08:44 PM .. 02/10/2009 08:44 PM 130,229 Bliss9BuildLog.html 02/10/2009 08:39 PM 304,325 BlissMbUnitResults.html.html 02/10/2009 08:39 PM 231 Category.png 02/10/2009 08:39 PM 34,088 classes.html 02/10/2009 08:39 PM 46,500 classes_full.html 02/10/2009 08:39 PM 19,776 coveragesummary.html 02/10/2009 08:39 PM files 02/10/2009 08:39 PM 481 Fixture.png 02/10/2009 08:39 PM 275 Invoker.png 02/10/2009 08:39 PM 1,709 mbuniticon.gif 02/10/2009 08:39 PM 6,694 mbunitlogo.png 02/10/2009 08:39 PM 547,181 methods_full.html 02/10/2009 08:39 PM 3,142 modules.html 02/10/2009 08:39 PM 5,490 modules_full.html 02/10/2009 08:39 PM 2,896 namespaces.html 02/10/2009 08:39 PM 5,508 namespaces_full.html 02/10/2009 08:39 PM 266 Populator.png 02/10/2009 08:39 PM 16,865 sources.html 02/10/2009 08:39 PM 21,999 sources_full.html 10/20/2008 02:03 AM 682,461 tcResults1.mht 02/10/2009 08:39 PM 284 Test.png 02/10/2009 08:39 PM 48,484 uncoveredreport.html


RE: Where did index.html go

we've tracked down the bug and should have it fixed for the next release. In the meantime, you can workaround the problem by using NCover.Reporting to create a FullCoverageReport with the following command line:

ncover.reporting.exe coverage.xml //r FullCoverageReport //op D:\NightlyBuilds\Bliss_9SVN_090210_Trunk\090210.453\Report


RE: Where did index.html go

It works great. I put the command into my nightly build so I am in no hurry for a fix.

NCover also shows I'm a great programmer as all my methods have Max Cyclic Complexity of 0. Damn, who else can write code with complexity 0. I'm going to ask for a raise!

I assume I am missing an arg on my command line.

Again, thanks for the fix and the soon to be had pay raise...


RE: Where did index.html go

Cyclomatic complexity of zero is awesome. That pretty much means you did not ask for the data when you ran coverage. It is off by default.

The //ct option by default will provide all of the information, you may be explicitly setting it to something lower.

Joe