ChutzpahSettings Class

Summary

Contains settings used by ChutzpahRunner.
Assembly
Cake.Chutzpah.dll
Namespace
Cake.Chutzpah
Base Types
  • ToolSettings
graph BT Type-->Base0["ToolSettings"] Type["ChutzpahSettings"] class Type type-node

Syntax

public class ChutzpahSettings : ToolSettings

Constructors

Name Summary
ChutzpahSettings()

Properties

Name Value Summary
AdditionalTestPaths IList<Path>
Gets the list of test paths to run. Specify more than one to add multiple paths. If you give a folder, it will be scanned for testable files.
CoverageHtmlOutputFile FilePath
Gets or sets the file path default Chutzpah coverage HTML output. If null (default), Chutzpah will not output a coverage HTML file.
EnableCoverageCollection bool
Gets or sets a value indicating whether to enable coverage collection.
FailOnError bool
Gets or sets a value indicating whether to return a non-zero exit code if any script errors or timeouts occurs
ForceTeamCityMode bool
Gets or sets a value indicating whether to force team city mode. (normally auto-detected) -- default is false
JUnitXmlResultsFile FilePath
Gets or sets the file path for JUnit-style XML results output. If null (default), Chutzpah will not output JUnit xml results.
LaunchInBrowser ChutzpahBrowser
Gets or sets an option to Launch the tests in a browser. If an option other than None is provided will try to launch in that browser.
LcovResultsFile FilePath
Gets or sets the file path to output results as LCOV data for further processing. If null (default), Chutzpah will not output LCOV data results.
MaxParallelism Nullable<int>
Gets or sets the Max degree of parallelism for Chutzpah. Defaults to number of CPUs + 1 If you specify more than 1 the test output may be a bit jumbled
NoLogo bool
Gets or sets a value indicating whether to run without showing the copyright message.
NUnit2XmlResultsFile FilePath
Gets or sets the file path for NUnit (v2.x) XML results output. If null (default), Chutzpah will not output NUnit xml results.
OutputRunningTestCount bool
Gets or sets a value indicating whether to output running test count. Default is true
PrintDebugInfo bool
Gets or sets a value indicating whether to print debugging information and tracing to console.
ShowFailureReport bool
Gets or sets a value indicating whether to show a failure report after the test run. Useful if you have a large number of tests..
Trace bool
Gets or sets a value indicating whether to Log tracing information to chutzpah.log.
VisualStudioTrxResultsFile FilePath
Gets or sets the file path for Visual Studio Trx results output. If null (default), Chutzpah will not output Visual Studio Trx results.

Extension Methods

Name Value Summary
Dump<ChutzpahSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<ChutzpahSettings>(ChutzpahSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<ChutzpahSettings>(string) void
Requires the Cake.Issues addin
NotNull<ChutzpahSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<ChutzpahSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<ChutzpahSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin