Skip to content

Sauceforge/Saucery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Saucery
Saucery

Automated testing made more awesome

Codacy Badge Codacy coverage Created

GitHub Repo stars GitHub Sponsors GitHub Workflow Status (with event) Commits GitHub last commit (master) Website License

Saucery handles all the plumbing required to integrate with SauceLabs, making writing tests a breeze. so you only need to tell Saucery what you want. Saucery takes care of the how.

Saucery comes in multiple flavors supporting popular test frameworks.

The templates below include example tests.

Packages

Package Badges
Saucery nuget NuGet Downloads
Saucery.XUnit nuget NuGet Downloads
Saucery.TUnit nuget NuGet Downloads
Saucery.XUnit.v3 nuget NuGet Downloads

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

Dog food Status

We test Saucery itself on SauceLabs!

Build Status

Initial Setup

These steps apply to all flavors:

  1. You'll need a SauceLabs account. You can get a free trial account here.
  2. If you want to run your tests locally you need to set 2 environment variables, SAUCE_USER_NAME and SAUCE_API_KEY
  3. 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.

NUnit

Saucery

🏁 Quick Start

Using the Project Template (Recommended)

cd Templates
dotnet new install .\NUnit
dotnet new saucery-nunit -n "MyTestProject"

XUnit

Saucery.XUnit

🏁 Quick Start

Using the Project Template (Recommended)

cd Templates
dotnet new install .\XUnit
dotnet new saucery-xunit -n "MyTestProject"

TUnit

Saucery.XUnit

🏁 Quick Start

Using the Project Template (Recommended)

cd Templates
dotnet new install .\TUnit
dotnet new saucery-tunit -n "MyTestProject"

XUnit-v3

Saucery.XUnit

🏁 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!

Trends

Nuget downloads
GitHub stars

Contact

Author: Andrew Gray
Twitter: @agrayz

Contributors 4

  •  
  •  
  •  
  •  

Languages