nightwatch-allure-reporter
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

#This project is forked from https://github.com/kushmangal/Nightwatch-Allure-Reporter

#Nightwatch Allure Reporter This is a custom reporter for nightwatch, which uses allure reporting to generate reports.

##Install Steps npm install nightwatch-allure-reporter --save

##Usage Steps

Add following code to globals file in nightwatch

const allureReporter = require('nightwatch-allure');
module.exports = {
  reporter: (results,done)=>{
    const reporter = new allureReporter.NightwatchAllureReporter({});
    reporter.write(results,done);
  }
};

That's it, this will create a allure-results folder in your root directory To serve these results use allure reporter cli, for that first you would need to download allure cli then use following command

allure generate ./allure-results --clean && allure open

Package Sidebar

Install

npm i nightwatch-allure-reporter

Weekly Downloads

3

Version

1.0.0

License

ISC

Unpacked Size

38.2 kB

Total Files

21

Last publish

Collaborators

  • keiz_jy