NUnit3Labels Enum

Summary

Represents the possible values for the Labels option.
Namespace
Cake.Common.Tools.NUnit
Interfaces
  • IComparable
  • ISpanFormattable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["ISpanFormattable"] Type-.->Interface2["IFormattable"] Type-.->Interface3["IConvertible"] Type["NUnit3Labels"] class Type type-node

Syntax

public enum NUnit3Labels

Fields

Name Constant Value Summary
After 4
Outputs labels at the end of every test.
static
All 2
Outputs labels for all tests.
static
Before 3
Outputs labels at the start of every test.
static
Off 0
Does not output labels. This is the default.
static
On 1
Outputs labels for tests that are run.
static

Extension Methods

Name Value Summary
Dump<NUnit3Labels>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<NUnit3Labels>(NUnit3Labels[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<NUnit3Labels>(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<NUnit3Labels>(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
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin