Running Tests with SmartRunner Console

SmartRunner Console is provided as part of Typemock Isolator Server.

To run SmartRunner Console:

Run Typemock.SmartRunner.Console.exe as follows:

SmartRunner.Console.exe [-t --TestAssemblies <assemblies>] [-c --CoveredAssemblies  <assemblies>] [--CoverageOutput <path>] [-n, --TestNames <names>] [-o, --TestResultDirectory  <path>]
[-r, --ResultsFile <path>] [-f, --ResultFormat <format>] [--CoverageReportTypes <type>] [--SeparateProcess] [-l, --LogPath <path>] [--LogMocking] [--LogRunner] [-k, --License <company> <key>]

Parameters description:

  -t, --TestAssemblies         Required. The test assemblies to load tests
                               from.

  -c, --CoveredAssemblies      The assembly to get coverage information for. For multiple assemblies simply point all directories in 1 command.
                               Example: -c A.Dll B.Dll C.Dll

  --CoverageOutput             The file to write coverage output to.

  -n, --TestNames              Names of tests to run

  -o, --TestResultDirectory    Result file Directory.

  -r, --ResultsFile            Override default result filename (this is 
                               required for TestFormat:Typemock.

  -f, --ResultFormat           The tests output format (Nunit, MsTest or Typemock (default).

  --CoverageReportTypes        The coverage report output format from items: 
                               Text,Html,Csv,Xml,Total,Cobertura,TeamCity,NCover
                               . Default=None. For example =Xml,Csv
							   
  --SeparateProcess 		Add this flag if you want to run multiple DLLs with a different Process created for each Test DLL.
  
  -l, --LogPath                The Path to write diagnostic logs.

  --LogMocking                 Run with Mocking Diagnostic logs, saved to 
                               LogPath

  --LogRunner                  Run with SmartRunner Diagnostic logs, saved to 
                               LogPath

  -k, --License                Active Typemock License Key - Company and Key 
                               with Space between