Table of Contents

Enum ListOption

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.common.dll

Indicates the kind of list a runner should generate, rather than running tests.

public enum ListOption

Fields

Classes = 1

Lists all the classes in the assembly which contain tests.

Discovery = 2

Lists the test cases as discovery objects (only valid for the in-process runner).

Full = 3

Lists full metadata about the test discovery.

Methods = 4

Lists all the methods in the assembly which contain a test.

Tests = 5

Lists all the tests (as display name) in the assembly.

Traits = 6

Lists all the traits that are generated from the assembly.