Skip to content

Test‐NUnit2

Luca Sgroi edited this page May 20, 2017 · 8 revisions

Synopsis

Run NUnit version 2 tests identified by having a dependency on the test framework DLL.


Dependencies

  • NUnit.Runners
    Console runner and test engine for version 3 of the NUnit unit-testing framework

Properties

  • TestNamePattern - regex pattern to identify tests to run from the solution
    Default to Tests?$
  • TestFromArtifact - run tests from the tests artifact
    Default to $false
  • TestsArtifactName - name of the tests artifact
    Default to $ProjectName.Tests
  • TestsArtifactFullPath - the full path of the tests artifact
    Default to .build\output\$TestsArtifactName
  • NUnitFrameworkVersion - framework version to be used for tests
    Default to 4.6
  • NUnitCategory - comma separated list of categories to execute
    Optional
  • NUnitExcludeCategory - comma separated list of categories to exclude
    Optional