Saucery.XUnit.v3
3.2.2
Prefix Reserved
dotnet add package Saucery.XUnit.v3 --version 3.2.2
NuGet\Install-Package Saucery.XUnit.v3 -Version 3.2.2
<PackageReference Include="Saucery.XUnit.v3" Version="3.2.2" />
<PackageVersion Include="Saucery.XUnit.v3" Version="3.2.2" />
<PackageReference Include="Saucery.XUnit.v3" />
paket add Saucery.XUnit.v3 --version 3.2.2
#r "nuget: Saucery.XUnit.v3, 3.2.2"
#:package Saucery.XUnit.v3@3.2.2
#addin nuget:?package=Saucery.XUnit.v3&version=3.2.2
#tool nuget:?package=Saucery.XUnit.v3&version=3.2.2
Saucery.XUnit.v3
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 11 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.
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 | 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
- Saucery.Core (>= 4.10.4)
- xunit.v3.mtp-v2 (>= 3.2.2)
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