Saucery.XUnit.v3
3.0.0
Prefix Reserved
dotnet add package Saucery.XUnit.v3 --version 3.0.0
NuGet\Install-Package Saucery.XUnit.v3 -Version 3.0.0
<PackageReference Include="Saucery.XUnit.v3" Version="3.0.0" />
<PackageVersion Include="Saucery.XUnit.v3" Version="3.0.0" />
<PackageReference Include="Saucery.XUnit.v3" />
paket add Saucery.XUnit.v3 --version 3.0.0
#r "nuget: Saucery.XUnit.v3, 3.0.0"
#:package Saucery.XUnit.v3@3.0.0
#addin nuget:?package=Saucery.XUnit.v3&version=3.0.0
#tool nuget:?package=Saucery.XUnit.v3&version=3.0.0
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.
XUnit3
🏁 Quick Start
Using the Project Template (Recommended)
cd Templates
dotnet new install .\XUnit3
dotnet new saucery-xunit3 -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
- Microsoft.NET.Test.Sdk (>= 17.14.1)
- Saucery.Core (>= 4.5.36)
- xunit.v3 (>= 3.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
ChangeLog:
v4.0.0
- Initial Release with dependency on Saucery.Core