XUnit2SettingsExtensions.

IncludeClass(XUnit2Settings, string) Method

Summary

Adds a class name to the settings, to include in test execution. Class name should be fully qualified; i.e., MyNameSpace.MyClassName.

Syntax

public static XUnit2Settings IncludeClass(this XUnit2Settings settings, string classNameToInclude)

Parameters

Name Type Description
settings XUnit2Settings The settings.
classNameToInclude string The class name to include.

Return Value

Type Description
XUnit2Settings The same XUnit2Settings instance so that multiple calls can be chained.