Skip to content
This repository was archived by the owner on Dec 31, 2019. It is now read-only.

Files

Latest commit

41bd664 · Dec 19, 2019

History

History
executable file
·
48 lines (30 loc) · 2.05 KB

README.md

File metadata and controls

executable file
·
48 lines (30 loc) · 2.05 KB

(DEPRECATED) CSharp-NUnit-NMake (DEPRECATED)

Don't use the code below as it's outdated

This code is provided on an "AS-IS” basis without warranty of any kind, either express or implied, including without limitation any implied warranties of condition, uninterrupted use, merchantability, fitness for a particular purpose, or non-infringement. Your tests and testing environments may require you to modify this framework. Issues regarding this framework should be submitted through GitHub. For questions regarding Sauce Labs integration, please see the Sauce Labs documentation at https://wiki.saucelabs.com/. This framework is not maintained by Sauce Labs Support.

Demonstrates how to use NUnit to run parallel tests on Sauce Labs platfrom using nmake as the build system.

Uses NuGet as package manager.

###Dependencies:

  • MS Visual Studio 2013 or later.
  • NUnit3.0
  • NuGet Plugin for Visual Studio
  • NuGet CLI executable installed in your path.

Setup:

  • Install NuGet packages for the project:
    cd Packages
    nuget.exe install ..\ParallelSelenium\packages.config

  • Clean and rebuild project:
    nmake clean build

Set Credentials:

set SAUCE_USERNAME=<sauce-username>
set SAUCE_ACCESS_KEY=<sauce-access-key>

Run Tests in parallel on Sauce using a Developer Console:

nmake test
or
nmake all

Resources

  • A great resource to search for issues not explicitly covered by documentation