Table of Contents

Class WorkItemBuilder

Namespace
NUnit.Framework.Internal.Execution
Assembly
nunit.framework.dll

WorkItemBuilder class knows how to build a tree of work items from a tree of tests

public static class WorkItemBuilder
Inheritance
WorkItemBuilder
Inherited Members

Methods

CreateWorkItem(ITest, ITestFilter, bool)

Creates a work item.

public static WorkItem? CreateWorkItem(ITest test, ITestFilter filter, bool recursive = false)

Parameters

test ITest

The test for which this WorkItem is being created.

filter ITestFilter

The filter to be used in selecting any child Tests.

recursive bool

True if child work items should be created and added.

Returns

WorkItem