Xunit.StaFact 1.1.11

.NET Core 3.1 .NET Standard 2.0 .NET Framework 4.7.2
dotnet add package Xunit.StaFact --version 1.1.11
NuGet\Install-Package Xunit.StaFact -Version 1.1.11
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Xunit.StaFact" Version="1.1.11" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xunit.StaFact --version 1.1.11
#r "nuget: Xunit.StaFact, 1.1.11"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Xunit.StaFact as a Cake Addin
#addin nuget:?package=Xunit.StaFact&version=1.1.11

// Install Xunit.StaFact as a Cake Tool
#tool nuget:?package=Xunit.StaFact&version=1.1.11

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
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Xunit.StaFact:

Package Downloads
Xunit.DependencyInjection.StaFact

Support Xunit.SkippableFact. public void ConfigureServices(IServiceCollection services) { services.AddStaFactSupport(); } Not support: 1. ITestOutputHelperAccessor.Output is alway null. so, ILogger can't output to xunit output. 2. Can't inject ITestOutputHelper 3. [MethodData]

GitHub repositories (34)

Showing the top 5 popular GitHub repositories that depend on Xunit.StaFact:

Repository Stars
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.
PrismLibrary/Prism
Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Xamarin Forms, and Uno / Win UI Applications..
shimat/opencvsharp
OpenCV wrapper for .NET
Version Downloads Last updated
1.1.11 130,597 1/24/2022
1.1.5-alpha 2,616 5/16/2021
1.0.37 347,514 8/4/2020
1.0.33-beta 23,807 5/16/2020
1.0.31-beta 337 5/6/2020
1.0.30-beta 878 5/3/2020
1.0.19-beta 10,674 12/11/2019
1.0.11-beta 10,622 9/4/2019
1.0.3-beta 80,628 4/16/2019
0.3.18 507,977 2/5/2019
0.3.13 11,301 12/2/2018
0.3.5 80,581 10/31/2018
0.3.2 26,358 10/10/2018
0.2.17 25,354 7/1/2018
0.2.9 181,604 7/16/2017
0.2.3-beta 15,259 3/25/2017
0.1.44-beta 2,348 2/10/2017
0.1.36-beta 8,373 2/1/2016
0.1.29-alpha 1,564 1/31/2016
0.1.26-alpha 756 1/30/2016
0.1.7-alpha 714 1/24/2016