Saucery.XUnit
4.5.42
Prefix Reserved
dotnet add package Saucery.XUnit --version 4.5.42
NuGet\Install-Package Saucery.XUnit -Version 4.5.42
<PackageReference Include="Saucery.XUnit" Version="4.5.42" />
<PackageVersion Include="Saucery.XUnit" Version="4.5.42" />
<PackageReference Include="Saucery.XUnit" />
paket add Saucery.XUnit --version 4.5.42
#r "nuget: Saucery.XUnit, 4.5.42"
#:package Saucery.XUnit@4.5.42
#addin nuget:?package=Saucery.XUnit&version=4.5.42
#tool nuget:?package=Saucery.XUnit&version=4.5.42
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.42)
- 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.5.42 | 554 | 8/13/2025 |
4.5.41 | 475 | 8/9/2025 |
4.5.40 | 109 | 8/9/2025 |
4.5.39 | 167 | 8/9/2025 |
4.5.38 | 398 | 8/5/2025 |
4.5.37 | 368 | 7/20/2025 |
4.5.36 | 466 | 6/30/2025 |
4.5.35 | 741 | 6/9/2025 |
4.5.34 | 359 | 5/25/2025 |
4.5.33 | 280 | 5/22/2025 |
4.5.32 | 475 | 5/2/2025 |
4.5.31 | 488 | 4/8/2025 |
4.5.30 | 424 | 3/22/2025 |
4.5.29 | 314 | 3/16/2025 |
4.5.28 | 334 | 3/10/2025 |
4.5.27 | 390 | 3/4/2025 |
4.5.26 | 311 | 3/4/2025 |
4.5.25 | 311 | 3/4/2025 |
4.5.24 | 651 | 2/20/2025 |
4.5.23 | 347 | 2/16/2025 |
4.5.22 | 199 | 2/15/2025 |
4.5.21 | 370 | 2/14/2025 |
4.5.20 | 199 | 2/13/2025 |
4.5.19 | 267 | 2/11/2025 |
4.5.18 | 215 | 2/8/2025 |
4.5.17 | 176 | 2/7/2025 |
4.5.16 | 359 | 2/2/2025 |
4.5.15 | 370 | 1/31/2025 |
4.5.14 | 421 | 1/27/2025 |
4.5.13 | 483 | 1/21/2025 |
4.5.12 | 213 | 1/21/2025 |
4.5.11 | 258 | 1/19/2025 |
4.5.10 | 333 | 1/17/2025 |
4.5.9 | 257 | 1/12/2025 |
4.5.8 | 594 | 12/28/2024 |
4.5.7 | 691 | 12/9/2024 |
4.5.6 | 815 | 9/26/2024 |
4.5.5 | 331 | 9/13/2024 |
4.5.4 | 439 | 8/1/2024 |
4.5.3 | 475 | 7/12/2024 |
4.5.2 | 225 | 7/10/2024 |
4.5.1 | 508 | 6/29/2024 |
4.5.0 | 242 | 6/25/2024 |
4.4.6 | 229 | 6/24/2024 |
4.4.5 | 236 | 6/23/2024 |
4.4.4 | 320 | 5/26/2024 |
4.4.3 | 696 | 12/16/2023 |
4.4.2 | 305 | 12/11/2023 |
4.4.1 | 212 | 12/11/2023 |
4.4.0 | 367 | 12/8/2023 |
4.3.0 | 324 | 11/18/2023 |
4.2.0 | 379 | 8/5/2023 |
4.0.0 | 384 | 4/22/2023 |
ChangeLog:
v4.0.0
- Initial Release with dependency on Saucery.Core