Xunit.StaFact
1.1.5-alpha
Prefix Reserved
See the version list below for details.
dotnet add package Xunit.StaFact --version 1.1.5-alpha
NuGet\Install-Package Xunit.StaFact -Version 1.1.5-alpha
<PackageReference Include="Xunit.StaFact" Version="1.1.5-alpha" />
<PackageVersion Include="Xunit.StaFact" Version="1.1.5-alpha" />
<PackageReference Include="Xunit.StaFact" />
paket add Xunit.StaFact --version 1.1.5-alpha
#r "nuget: Xunit.StaFact, 1.1.5-alpha"
#addin nuget:?package=Xunit.StaFact&version=1.1.5-alpha&prerelease
#tool nuget:?package=Xunit.StaFact&version=1.1.5-alpha&prerelease
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 | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos 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 (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 (45)
Showing the top 20 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.
|
|
stride3d/stride
Stride (formerly Xenko), a free and open-source cross-platform C# game engine.
|
|
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
|
|
dotnet/winforms
Windows Forms is a .NET UI framework for building Windows desktop applications.
|
|
microsoft/perfview
PerfView is a CPU and memory performance-analysis tool
|
|
fluentassertions/fluentassertions
A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET 6, .NET Standard 2.0 and 2.1. Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3.
|
|
TheJoeFin/Text-Grab
Use OCR in Windows quickly and easily with Text Grab. With optional background process and notifications.
|
|
Caliburn-Micro/Caliburn.Micro
A small, yet powerful framework, designed for building applications across all XAML platforms. Its strong support for MV* patterns will enable you to build your solution quickly, without the need to sacrifice code quality or testability.
|
|
roslynpad/roslynpad
A cross-platform C# editor based on Roslyn and AvalonEdit
|
|
reactiveui/Akavache
An asynchronous, persistent key-value store created for writing desktop and mobile applications, based on SQLite3. Akavache is great for both storing important data as well as cached local data that expires.
|
|
dotnet/wcf
This repo contains the client-oriented WCF libraries that enable applications built on .NET Core to communicate with WCF services.
|
|
CoreWCF/CoreWCF
Main repository for the Core WCF project
|
|
kubernetes-client/csharp
Officially supported dotnet Kubernetes Client library
|
|
microsoft/vs-threading
The Microsoft.VisualStudio.Threading is a xplat library that provides many threading and synchronization primitives used in Visual Studio and other applications.
|
|
reactiveui/splat
Makes things cross-platform
|
Version | Downloads | Last updated |
---|---|---|
2.1.4-alpha | 1,511 | 3/10/2025 |
2.0.44 | 1,664 | 3/10/2025 |
2.0.36-alpha | 618 | 2/6/2025 |
2.0.35-alpha | 96 | 2/5/2025 |
2.0.29-alpha | 183 | 1/18/2025 |
1.2.69 | 27,041 | 1/18/2025 |
1.2.46-alpha | 28,315 | 6/6/2023 |
1.2.22-alpha | 1,238 | 2/6/2023 |
1.1.11 | 950,396 | 1/24/2022 |
1.1.5-alpha | 3,865 | 5/16/2021 |
1.0.37 | 559,619 | 8/4/2020 |
1.0.33-beta | 24,767 | 5/16/2020 |
1.0.31-beta | 1,191 | 5/6/2020 |
1.0.30-beta | 1,505 | 5/3/2020 |
1.0.19-beta | 11,590 | 12/11/2019 |
1.0.11-beta | 11,506 | 9/4/2019 |
1.0.3-beta | 234,814 | 4/16/2019 |
0.3.18 | 678,889 | 2/5/2019 |
0.3.13 | 15,106 | 12/2/2018 |
0.3.5 | 85,692 | 10/31/2018 |
0.3.2 | 28,475 | 10/10/2018 |
0.2.17 | 33,652 | 7/1/2018 |
0.2.9 | 230,156 | 7/16/2017 |
0.2.3-beta | 16,042 | 3/25/2017 |
0.1.44-beta | 3,043 | 2/10/2017 |
0.1.36-beta | 9,167 | 2/1/2016 |
0.1.29-alpha | 2,326 | 1/31/2016 |
0.1.26-alpha | 1,497 | 1/30/2016 |
0.1.7-alpha | 1,420 | 1/24/2016 |