Skip to end of metadata
Go to start of metadata

"Wait," you might be asking, "My test says 'Complete' but what happens if it fails?"

Unfortunately, Sauce has no way to determine whether your test passed or failed automatically, since it is determined entirely by your business logic. You can, however, tell Sauce about the results of your tests as shown by this code snippet from the example file for running node.js files in parallel.

saucelabs.updateJob(driver.sessionID, {
      name: title,
      passed: passed
    }, done);
  • No labels