Summary
Contains information for the results that should be exported.
- Namespace
- Cake
.Common .Tools .NUnit - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["NUnit3Result"]
class Type type-node
Syntax
public sealed class NUnit3Result
Properties
| Name | Value | Summary |
|---|---|---|
| FileName | FilePath |
Gets or sets the name of the XML result file.
|
| Format | string |
Gets or sets the format that the results should be in.
FileName must be set to
have any effect. Specify nunit2 to output the results in NUnit 2 xml format.
nunit3 may be specified for NUnit 3 format, however this is the default. Additional
formats may be supported in the future, check the NUnit documentation.
|
| Transform | FilePath |
Gets or sets the file name of an XSL transform that will be applied to the results.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
| IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
