Skip to content

Test‐MSpec

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

Synopsis

Run Machine.Specifications tests identified by having a dependency on the test framework DLL.


Dependencies

  • Machine.Specifications.Runner.Console
    Console runner for the Context/Specification framework Machine.Specifications

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
  • MSpecTag - execute all specifications in contexts with these comma delimited tags
    Optional
  • MSpecExcludeTag - exclude specifications in contexts with these comma delimited tags
    Optional