-
Notifications
You must be signed in to change notification settings - Fork 1
Using The Command Line to Run Tests
Jason Kerney edited this page Sep 26, 2015
·
4 revisions
Add the FeldSpar Console Test Runner Nuget package to your test project. This adds FeldSpar.ContinuousIntegration.exe to your project as a copy always resource.
This may require you to restart Visual Studio
-
Build your test project
-
Navigate to the bin folder
-
Open a Command Prompt
-
Run
FeldSpar.ContinuousIntegration.exeusing--aand the path to the test programIf you are running this from the
binfolder your path should look like.\MyTests.exeIf using Gold Master testing remember to use
--urto see the results reported via a reporter
--test-assembly [--a] <string>: This is the location of the test library. It can be a *.dll or a *.exe file
--report-location [--r] <string>: This flag indicates that a JSON report is to be generated at the given location
--verbosity [--v] <string>: This sets the verbosity level for the run. Possible levels are: ["Max"; "Results"; "Errors"; "Detail"]
--usereporters [--ur]: This enables the use of reporters configured in the test
--help [-h|/h|/help|/?]: display this list of options.