How to make Gallio and NCover 1.5.8.2 work on the command line?

I saw several examples that use gallio, for example:

Gallio.Echo.exe Widget.Tests.dll /runner:NCover /runner-property:NCoverCoverageFile='C:\Temp\WidgetCoverage.xml' /runner-property:NCoverArguments='//eas .*.Tests;Gallio;MbUnit;OtherIgnoredAssembly'

When I run this, it gives me an error message that "// eas. * .Tests; Gallio; MbUnit; OtherIgnoredAssembly" could not be found? I am looking for an example of how to use NCoverAgurments correctly for 1.5.8? Do I need to register the CoverLib.lib COM object as well?

+3
source share
1 answer

NCover v1.58 does not support the // eas argument. Use the // argument and specify the list of assembly names that you want to profile. Be sure to include only the display name of the assembly, not its path or file name.

+3
source

Source: https://habr.com/ru/post/1715885/


All Articles