Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

agent-js-jasmine

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agent-js-jasmine

Agent for integration Jasmine + Protractor with ReportPortal.

  • 2.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
229
increased by14.5%
Maintainers
1
Weekly downloads
 
Created
Source

agent-js-jasmine

Build StatusCode Coveragenpm version

Agent for integration Jasmine + Protractor with ReportPortal.
ReportPortal
ReportPortal on GitHub

How to use

  1. Install the agent in your project: npm i agent-js-jasmine --save-dev
  2. Modify the protractor configuration file as follows:
...
var AgentJasmine = require('agent-js-jasmine');

var reportPortalListener = new AgentJasmine({
    token: "00000000-0000-0000-0000-000000000000",
    endpoint: "http://localhost",
    launch: "LAUNCH NAME",
    project: "PROJECT NAME",
    mode: "DEFAULT",
    tags: ["your", "tags"],
    description: "DESCRIPTION"
});
...
module.exports.config = {
    ...
    plugins: [{
            path:'node_modules/agent-js-jasmine/lock.js',
            inline: {
                postTest : function(passed, testInfo) {
                    return reportPortalListener.completeInReportPortal();
                }
            }
    
        }]
    ...
    onPrepare: function(){
        ...
        global.defaultExplicitWait = 5000;
        jasmine.getEnv().addReporter(reportPortalListener);
    }
    ...
}

token - UUID in your ReportPortal profile page. endpoint - server address reportPortal.

  1. Open ReportPortal, your project and launch. You should see report about tests results.

FAQs

Package last updated on 08 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc