Skip to content

aquality-automation/aquality-tracking-reporter-jasmine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jasmine Aquality Tracker Plugin

A plugin to send test results to Aquality Tracking

Installing

npm i @aquality-automation/aquality-tracking-reporter-jasmine

Using Aquality Tracker Plugin in Jasmine

// conf.js
const AqualityReporter = require('@aquality-automation/aquality-tracking-reporter-jasmine');
jasmine.getEnv().addReporter(new AqualityReporter({
            token: ${your_api_token},
            api_url: ${your_api_url},
            project_id: ${your_project_id},
            testrun_id: ${testrun_id_for_results}
        }));

Using Aquality Tracker Plugin in Protractor

// conf.js
exports.config = {
  framework: 'jasmine',
  onPrepare: function() {
    const AqualityReporter = require('@aquality-automation/aquality-tracking-reporter-jasmine');
    jasmine.getEnv().addReporter(new AqualityReporter({
            token: ${your_api_token},
            api_url: ${your_api_url},
            project_id: ${your_project_id},
            testrun_id: ${testrun_id_for_results}
        }));
  }
}

Using Aquality Tracker Cli to start and finish testruns

To start test run use:

aqualityReporter start ${your_api_url} ${your_project_id} ${your_api_token} ${suite name} ${environment} ${build_name}

To finish test run use:

aqualityReporter finish ${your_api_url} ${your_project_id} ${your_api_token} ${testrun id}

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published