Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

In this tutorial, we will create a test in Javascript+Mocha in order to validate a simple application interaction using Sauce Labs for cloud mobile testing.

...

Info
titlePlease note

Within this tutorial, only one Test Execution will be used; it will contain one Test Run with all the results for the different used browsers. Thus, the overall test run status will be affected by the results made for all the browsers.

Instead of this approach, a different one could be creating a Test Execution per each browser; this would require some adaptions in order to produce a XML report per each used browser. This approach would give the ability to take advantage of Test Environments (more info in Working with Test Environments).


Requirements

  • Install NodeJS
  • Install all dependencies using "npm"

Description

This tutorial is based on Sauce Labs's own tutorial for NodeJS.

...

Test(s) then can be run in parallel using Maven's NPM "test" task.

No Format
npm test

...

In Sauce Labs  you can see some info about it.

References