AArnott

AArnott/Xunit.StaFact

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.

1 good first / help-wanted issue · C# · last activity Jul 14, 2025

1 Open Issue Need Help Last updated: Jul 14, 2025

Open Issues Need Help

View All on GitHub
enhancement help wanted
AArnott/Xunit.StaFact
93

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.

C#