Skip to content
Henrik edited this page Aug 21, 2014 · 1 revision

Run the test framework integrated into Microsoft Visual Studio, commonly referred to as MSTest.

desc "Run the Foo tests"
mstest :test => [:build] do |cmd|
  cmd.assemblies = FileList["wildcard/path/to/assemblies"]
end

Required Parameters

Assemblies

The assemblies to test, as an array or a Rake FileList.

assemblies = ["wildcard/path/to/assemblies"]

Optional Parameters

Tests

A list of tests to run.

tests = ["FooTest", "BarTest"]

No Logo

Hide the startup banner.

no_logo

Guidance

(none)

Clone this wiki locally