This is part of the Fake.DotNet.Testing.VSTest module.
Contains tasks to run VSTest unit tests.
Function or value | Description |
VSTest.buildArgs parameters assemblies
Signature: parameters:VSTestParams -> assemblies:seq<string> -> string
|
Builds the command line arguments from the given parameter record and the given assemblies.
|
VSTest.run setParams assemblies
Signature: setParams:(VSTestParams -> VSTestParams) -> assemblies:seq<string> -> unit
|
Runs the VSTest command line tool (VSTest.Console.exe) on a group of assemblies.
Parameters
setParams - Function used to manipulate the default VSTestParams values.
assemblies - Sequence of one or more assemblies containing Microsoft Visual Studio Unit Test Framework unit tests.
Sample usage
1:
2:
3:
4:
|
Target.create "Test" (fun _ ->
!! (testDir + @"\*.Tests.dll")
|> VSTest.run (fun p -> { p with SettingsPath = "Local.RunSettings" })
)
|
|