Saucery.XUnit
4.10.27
Prefix Reserved
See the version list below for details.
dotnet add package Saucery.XUnit --version 4.10.27
NuGet\Install-Package Saucery.XUnit -Version 4.10.27
<PackageReference Include="Saucery.XUnit" Version="4.10.27" />
<PackageVersion Include="Saucery.XUnit" Version="4.10.27" />
<PackageReference Include="Saucery.XUnit" />
paket add Saucery.XUnit --version 4.10.27
#r "nuget: Saucery.XUnit, 4.10.27"
#:package Saucery.XUnit@4.10.27
#addin nuget:?package=Saucery.XUnit&version=4.10.27
#tool nuget:?package=Saucery.XUnit&version=4.10.27
Saucery.XUnit
Saucery handles all the plumbing required to integrate with SauceLabs, making writing XUnit tests a breeze, so you only need to tell Saucery what you want. Saucery takes care of the how.
Saucery targets all real and emulated platforms for Appium and Selenium 4+.
The template below includes example tests.
Sponsoring
Saucery has been developed as an open-source project for over 12 years. If you find it valuable for your projects and team work, please consider supporting me and becoming a
Buy me a coffee
Alternatively, you can buy me a coffee to say thanks!
Initial Setup
- You'll need a SauceLabs account. You can get a free trial account here.
- If you want to run your tests locally you need to set 2 environment variables, SAUCE_USER_NAME and SAUCE_API_KEY
- To run your test suite from your GitHub Actions pipeline you need to set two secrets SAUCE_USER_NAME and SAUCE_API_KEY. Instructions on how to set Github Secrets are here.
XUnit
🏁 Quick Start
Using the Project Template (Recommended)
cd Templates
dotnet new install .\XUnit
dotnet new saucery-xunit -n "MyTestProject"
Platform Range Expansion
Platform range expansion is a feature unique to Saucery. Say you wanted to test on a range of browser versions but you didn't want to specify each individually. That's fine. Saucery supports specifying ranges.
new DesktopPlatform(SauceryConstants.PLATFORM_WINDOWS_11, SauceryConstants.BROWSER_CHROME, "100->119")
This will test on Windows 11 Chrome all available versions from 100 to 119 inclusive.
Real Devices
Yes, Saucery supports Real Devices!
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Meziantou.Xunit.ParallelTestFramework (>= 2.3.0)
- Saucery.Core (>= 4.10.27)
- xunit (>= 2.9.3)
- XunitContext (>= 3.3.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.10.28 | 230 | 11/1/2026 |
| 4.10.27 | 149 | 10/29/2026 |
| 4.10.26 | 149 | 10/21/2026 |
| 4.10.25 | 178 | 10/9/2026 |
| 4.10.24 | 323 | 10/1/2026 |
| 4.10.23 | 354 | 9/16/2026 |
| 4.10.22 | 193 | 9/10/2026 |
| 4.10.21 | 158 | 9/9/2026 |
| 4.10.20 | 189 | 9/6/2026 |
| 4.10.19 | 204 | 8/29/2026 |
| 4.10.18 | 160 | 8/27/2026 |
| 4.10.17 | 453 | 8/11/2026 |
| 4.10.16 | 416 | 7/19/2026 |
| 4.10.15 | 269 | 7/11/2026 |
| 4.10.14 | 202 | 7/6/2026 |
| 4.10.13 | 164 | 7/5/2026 |
| 4.10.12 | 161 | 7/5/2026 |
| 4.10.11 | 329 | 6/19/2026 |
| 4.10.10 | 620 | 5/9/2026 |
| 4.10.9 | 454 | 4/25/2026 |
ChangeLog:
v4.0.0
- Initial Release with dependency on Saucery.Core