Skip to content

Test‐NUnit

Luca Sgroi edited this page May 18, 2017 · 7 revisions

Synopsis

Extends Test-NUnit task to generate a dotCover snapshot.


Dependencies

  • NUnit Console Runner Version 3
    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

  • dotCoverFilters - 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
  • dotCoverAttributeFilters - 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; set this property in the Properties.ps1 or before importing the task or as value of session/environment variable
    Default to $true
Clone this wiki locally