Test‐NUnit - lsgroi/Pask.Test GitHub Wiki

Synopsis

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


Dependencies

  • NUnit Console Runner Version 3
    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
  • NUnitTestSelection - test selection EXPRESSION indicating what tests will be run
    See NUnit Test Selection Language
    Optional