Saucery.XUnit
4.5.40
Prefix Reserved
See the version list below for details.
dotnet add package Saucery.XUnit --version 4.5.40
NuGet\Install-Package Saucery.XUnit -Version 4.5.40
<PackageReference Include="Saucery.XUnit" Version="4.5.40" />
<PackageVersion Include="Saucery.XUnit" Version="4.5.40" />
<PackageReference Include="Saucery.XUnit" />
paket add Saucery.XUnit --version 4.5.40
#r "nuget: Saucery.XUnit, 4.5.40"
#:package Saucery.XUnit@4.5.40
#addin nuget:?package=Saucery.XUnit&version=4.5.40
#tool nuget:?package=Saucery.XUnit&version=4.5.40
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.
Note: The tests specified below are provided as examples only. Your tests, of course, will be specific to your System Under Test.
Sponsoring
Saucery has been developed as an open-source project for over 10 years. If you find it valuable for your projects and team work, please consider supporting it and becoming a
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 | net9.0 is compatible. 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. net10.0 was computed. 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. |
-
net9.0
- Meziantou.Xunit.ParallelTestFramework (>= 2.3.0)
- Microsoft.NET.Test.Sdk (>= 17.14.1)
- Saucery.Core (>= 4.5.40)
- 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.5 | 314 | 1/25/2026 |
| 4.10.4 | 825 | 12/28/2025 |
| 4.10.3 | 365 | 12/21/2025 |
| 4.10.2 | 356 | 12/13/2025 |
| 4.10.1 | 549 | 11/29/2025 |
| 4.10.0 | 451 | 11/14/2025 |
| 4.5.53 | 394 | 11/9/2025 |
| 4.5.52 | 182 | 11/8/2025 |
| 4.5.51 | 335 | 11/2/2025 |
| 4.5.50 | 378 | 10/29/2025 |
| 4.5.49 | 241 | 10/29/2025 |
| 4.5.48 | 341 | 10/25/2025 |
| 4.5.47 | 318 | 10/18/2025 |
| 4.5.46 | 442 | 10/7/2025 |
| 4.5.45 | 278 | 10/6/2025 |
| 4.5.44 | 315 | 10/3/2025 |
| 4.5.43 | 280 | 9/29/2025 |
| 4.5.42 | 1,221 | 8/13/2025 |
| 4.5.41 | 541 | 8/9/2025 |
| 4.5.40 | 176 | 8/9/2025 |
| 4.5.39 | 238 | 8/9/2025 |
| 4.5.38 | 470 | 8/5/2025 |
| 4.5.37 | 530 | 7/20/2025 |
| 4.5.36 | 526 | 6/30/2025 |
| 4.5.35 | 817 | 6/9/2025 |
| 4.5.34 | 438 | 5/25/2025 |
| 4.5.33 | 357 | 5/22/2025 |
| 4.5.32 | 551 | 5/2/2025 |
| 4.5.31 | 569 | 4/8/2025 |
| 4.5.30 | 503 | 3/22/2025 |
| 4.5.29 | 372 | 3/16/2025 |
| 4.5.28 | 410 | 3/10/2025 |
| 4.5.27 | 466 | 3/4/2025 |
| 4.5.26 | 371 | 3/4/2025 |
| 4.5.25 | 376 | 3/4/2025 |
| 4.5.24 | 739 | 2/20/2025 |
| 4.5.23 | 402 | 2/16/2025 |
| 4.5.22 | 253 | 2/15/2025 |
| 4.5.21 | 435 | 2/14/2025 |
| 4.5.20 | 260 | 2/13/2025 |
| 4.5.19 | 339 | 2/11/2025 |
| 4.5.18 | 277 | 2/8/2025 |
| 4.5.17 | 253 | 2/7/2025 |
| 4.5.16 | 430 | 2/2/2025 |
| 4.5.15 | 431 | 1/31/2025 |
| 4.5.14 | 487 | 1/27/2025 |
| 4.5.13 | 560 | 1/21/2025 |
| 4.5.12 | 277 | 1/21/2025 |
| 4.5.11 | 321 | 1/19/2025 |
| 4.5.10 | 401 | 1/17/2025 |
| 4.5.9 | 324 | 1/12/2025 |
| 4.5.8 | 678 | 12/28/2024 |
| 4.5.7 | 777 | 12/9/2024 |
| 4.5.6 | 908 | 9/26/2024 |
| 4.5.5 | 400 | 9/13/2024 |
| 4.5.4 | 488 | 8/1/2024 |
| 4.5.3 | 549 | 7/12/2024 |
| 4.5.2 | 290 | 7/10/2024 |
| 4.5.1 | 614 | 6/29/2024 |
| 4.5.0 | 308 | 6/25/2024 |
| 4.4.6 | 305 | 6/24/2024 |
| 4.4.5 | 316 | 6/23/2024 |
| 4.4.4 | 372 | 5/26/2024 |
| 4.4.3 | 761 | 12/16/2023 |
| 4.4.2 | 362 | 12/11/2023 |
| 4.4.1 | 266 | 12/11/2023 |
| 4.4.0 | 428 | 12/8/2023 |
| 4.3.0 | 360 | 11/18/2023 |
| 4.2.0 | 430 | 8/5/2023 |
| 4.0.0 | 449 | 4/22/2023 |
ChangeLog:
v4.0.0
- Initial Release with dependency on Saucery.Core