XUnit2SettingsExtensions.

IncludeNamespace(XUnit2Settings, string) Method

Summary

Adds a namespace to the settings, to include in test execution. Namespace should be fully qualified; i.e., MyNameSpace.MySubNamespace.

Syntax

public static XUnit2Settings IncludeNamespace(this XUnit2Settings settings, string namespaceToInclude)

Parameters

Name Type Description
settings XUnit2Settings The settings.
namespaceToInclude string The namespace to include.

Return Value

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