Table of Contents

Namespace Xunit

Classes

StaFactAttribute

Identifies an xunit test that starts on an STA thread. Tests will be Skipped on non-Windows operating systems.

StaTheoryAttribute

Identifies an xunit theory that starts on an STA thread. Tests will be Skipped on non-Windows operating systems.

UIFactAttribute

Identifies an xunit test that starts on a UI thread-like SynchronizationContext such that awaited expressions resume on the test's "main thread". On Windows, the test runs on an STA thread.

UISettingsAttribute
UITheoryAttribute

Identifies an xunit theory that starts on a UI thread-like SynchronizationContext such that awaited expressions resume on the test's "main thread". On Windows, the test runs on an STA thread.

WinFormsFactAttribute

Identifies an xunit test that starts on an STA thread with a WindowsFormsSynchronizationContext. Tests will be Skipped on non-Windows operating systems.

WinFormsTheoryAttribute

Identifies an xunit theory that starts on an STA thread with a WindowsFormsSynchronizationContext. Tests will be Skipped on non-Windows operating systems.

WpfFactAttribute

Identifies an xunit test that starts on an STA thread with a WPF DispatcherSynchronizationContext. Tests will be Skipped on non-Windows operating systems.

WpfTheoryAttribute

Identifies an xunit theory that starts on an STA thread with a WPF DispatcherSynchronizationContext. Tests will be Skipped on non-Windows operating systems.