Skip to content

ytesl-epam/agent-js-nightwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

agent-js-nightwatch

Agent for integration Nightwatch with ReportPortal.
ReportPortal
ReportPortal on GitHub

How to use

  1. Install the agent in your project:
  1. Create reporter.js file with code like:
const rpReporter = require('agent-js-nightwatch');
const config = require('./rp');

module.exports = {
  write : (results, options, done) => rpReporter(results, config, done)
};

where rp.json - file with reportportal configuration

  1. Add a reporter to executed command:
nightwatch --config examples/nightwatch.json --reporter examples/reporter.js

Example

To run example:

npm t

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published