Skip to end of metadata
Go to start of metadata

You can have the results of your tests appear on your Sauce Labs dashboard by using the the Jasmine JS Reporter.

  1. Include the jasmine-jsreporter in the page running Jasmine tests by adding a <script> that references the reporter in the header.

    <script src="path/to/jasmine-jsreporter.js" type="text/javascript"></script>
  2. Add a line to your Jasmine script that tells it to use the reporter.

    jasmineEnv.addReporter(new jasmine.JSReporter());
 
  • No labels