Show / Hide Table of Contents

Class xunit

Inheritance
Object
Task
xunit
Implements
ICancelableTask
ITask
Inherited Members
Task.BuildEngine
Task.BuildEngine2
Task.BuildEngine3
Task.BuildEngine4
Task.HostObject
Task.Log
Task.TaskResources
Task.HelpKeywordPrefix
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Xunit.Runner.MSBuild
Assembly: xunit.runner.msbuild.net452.dll
Syntax
public class xunit : Task, ICancelableTask, ITask

Properties

| Improve this Doc View Source

AppDomains

Declaration
public string AppDomains { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

Assemblies

Declaration
[Required]
public ITaskItem[] Assemblies { get; set; }
Property Value
Type Description
ITaskItem[]
| Improve this Doc View Source

DiagnosticMessages

Declaration
public bool DiagnosticMessages { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

ExcludeTraits

Declaration
public string ExcludeTraits { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

ExitCode

Declaration
[Output]
public int ExitCode { get; protected set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

FailSkips

Declaration
public bool FailSkips { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Filters

Declaration
protected XunitFilters Filters { get; }
Property Value
Type Description
XunitFilters
| Improve this Doc View Source

Html

Declaration
public ITaskItem Html { get; set; }
Property Value
Type Description
ITaskItem
| Improve this Doc View Source

IgnoreFailures

Declaration
public bool IgnoreFailures { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IncludeTraits

Declaration
public string IncludeTraits { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

InternalDiagnosticMessages

Declaration
public bool InternalDiagnosticMessages { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

JUnit

Declaration
public ITaskItem JUnit { get; set; }
Property Value
Type Description
ITaskItem
| Improve this Doc View Source

MaxParallelThreads

Declaration
public string MaxParallelThreads { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

NeedsXml

Declaration
protected bool NeedsXml { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

NoAutoReporters

Declaration
public bool NoAutoReporters { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

NoLogo

Declaration
public bool NoLogo { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

NUnit

Declaration
public ITaskItem NUnit { get; set; }
Property Value
Type Description
ITaskItem
| Improve this Doc View Source

ParallelizeAssemblies

Declaration
public bool ParallelizeAssemblies { set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

ParallelizeTestCollections

Declaration
public bool ParallelizeTestCollections { set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Reporter

Declaration
public string Reporter { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

SerializeTestCases

Declaration
public bool SerializeTestCases { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

ShadowCopy

Declaration
public bool ShadowCopy { set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

StopOnFail

Declaration
public bool StopOnFail { set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

WorkingFolder

Declaration
public string WorkingFolder { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

Xml

Declaration
public ITaskItem Xml { get; set; }
Property Value
Type Description
ITaskItem
| Improve this Doc View Source

XmlV1

Declaration
public ITaskItem XmlV1 { get; set; }
Property Value
Type Description
ITaskItem

Methods

| Improve this Doc View Source

Cancel()

Declaration
public void Cancel()
| Improve this Doc View Source

Execute()

Declaration
public override bool Execute()
Returns
Type Description
Boolean
Overrides
Task.Execute()
| Improve this Doc View Source

ExecuteAssembly(XunitProjectAssembly, Nullable<AppDomainSupport>)

Declaration
protected virtual XElement ExecuteAssembly(XunitProjectAssembly assembly, AppDomainSupport? appDomains)
Parameters
Type Name Description
XunitProjectAssembly assembly
Nullable<AppDomainSupport> appDomains
Returns
Type Description
XElement
| Improve this Doc View Source

GetAvailableRunnerReporters()

Declaration
protected virtual List<IRunnerReporter> GetAvailableRunnerReporters()
Returns
Type Description
List<IRunnerReporter>
| Improve this Doc View Source

GetReporter()

Declaration
protected IRunnerReporter GetReporter()
Returns
Type Description
IRunnerReporter

Implements

Microsoft.Build.Framework.ICancelableTask
Microsoft.Build.Framework.ITask
  • Improve this Doc
  • View Source
Back to top Generated by DocFX