Xunit.StaFact
1.0.37
Prefix Reserved
dotnet add package Xunit.StaFact --version 1.0.37
NuGet\Install-Package Xunit.StaFact -Version 1.0.37
<PackageReference Include="Xunit.StaFact" Version="1.0.37" />
paket add Xunit.StaFact --version 1.0.37
#r "nuget: Xunit.StaFact, 1.0.37"
// Install Xunit.StaFact as a Cake Addin #addin nuget:?package=Xunit.StaFact&version=1.0.37 // Install Xunit.StaFact as a Cake Tool #tool nuget:?package=Xunit.StaFact&version=1.0.37
Run your xunit-based tests on an STA thread with the WPF Dispatcher, a WinForms SynchronizationContext, or even a cross-platform generic UI thread emulation with a SynchronizationContext that keeps code running on a "main thread" for that test.
Simply use [WpfFact], [WinFormsFact], [StaFact] or the cross-platform [UIFact] on your test method to run your test under conditions that most closely match the main thread in your application.
Theory variants of these attributes allow for parameterized testing. Check out the xunit.combinatorial nuget package for pairwise or combinatorial testing with theories.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETCoreApp 3.1
- xunit.extensibility.execution (>= 2.4.1)
-
.NETFramework 4.7.2
- xunit.extensibility.execution (>= 2.4.1)
-
.NETStandard 2.0
- xunit.extensibility.execution (>= 2.4.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (43)
Showing the top 5 popular GitHub repositories that depend on Xunit.StaFact:
Repository | Stars |
---|---|
AvaloniaUI/Avalonia
Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
|
|
MaterialDesignInXAML/MaterialDesignInXamlToolkit
Google's Material Design in XAML & WPF, for C# & VB.Net.
|
|
cefsharp/CefSharp
.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
|
|
reactiveui/ReactiveUI
An advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms that is inspired by functional reactive programming. ReactiveUI allows you to abstract mutable state away from your user interfaces, express the idea around a feature in one readable place and improve the testability of your application.
|
|
dotnet/wpf
WPF is a .NET Core UI framework for building Windows desktop applications.
|
Version | Downloads | Last updated |
---|---|---|
1.0.37 | 68 | 1/20/2021 |
1.0.33-beta | 0 | 1/20/2021 |
1.0.31-beta | 0 | 1/20/2021 |
1.0.30-beta | 0 | 1/20/2021 |
1.0.19-beta | 0 | 1/20/2021 |
1.0.11-beta | 0 | 1/20/2021 |
1.0.3-beta | 3 | 1/19/2021 |
0.3.18 | 1 | 1/20/2021 |
0.3.13 | 0 | 1/20/2021 |
0.3.5 | 0 | 1/20/2021 |
0.3.2 | 0 | 1/20/2021 |
0.2.17 | 3 | 1/20/2021 |
0.2.9 | 5,136 | 1/20/2021 |
0.2.3-beta | 0 | 1/20/2021 |
0.1.44-beta | 3 | 1/19/2021 |
0.1.36-beta | 0 | 1/20/2021 |
0.1.29-alpha | 3 | 1/20/2021 |
0.1.26-alpha | 0 | 1/20/2021 |
0.1.7-alpha | 0 | 1/20/2021 |