Skip to content

Test‐NUnit2

Luca Sgroi edited this page Apr 22, 2017 · 7 revisions

Synopsis

Extends Test-NUnit2 task to generate a dotCover snapshot.


Dependencies

  • NUnit.Runners
    Console runner and test engine for version 3 of the NUnit unit-testing framework
  • JetBrains dotCover Command Line Tools
    .NET unit test runner and code coverage tool

Properties

  • dotCoverAttributeFilters - specifies coverage filters using the following syntax +:module=*;class=*;function=* which can be optionally new line separated; use -:myassembly to exclude an assembly from code coverage; asterisk wildcard * is supported
    Optional
  • dotCoverReportType - specifies attribute filters using the following syntax filter1;filter2 which can be optionally new line separated; asterisk wildcard * is supported
    Optional
  • EnableCodeCoverage - allows to eventually disable dotCover Default to $true
Clone this wiki locally