NUnit3Result Class

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<NUnit3Result>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<NUnit3Result>(NUnit3Result[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<NUnit3Result>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<NUnit3Result>(string) void
Requires the Cake.Issues addin
ThrowIfNull<NUnit3Result>(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<NUnit3Result>(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