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.
- StaThreadFixture
Provides a shared STA thread for StaFactAttribute and StaTheoryAttribute tests.
- 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.
- 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.
- UIThreadFixture
Provides a shared portable UI thread for UIFactAttribute and UITheoryAttribute tests.
- UIThreadFixtureBase
Provides a shared UI thread for tests in an xUnit class or collection fixture.
- 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.
- WinFormsThreadFixture
Provides a shared WinForms UI thread for WinFormsFactAttribute and WinFormsTheoryAttribute tests.
- 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.
- WpfThreadFixture
Provides a shared WPF UI thread for WpfFactAttribute and WpfTheoryAttribute tests.