1.2.0 • Published 4 years ago

nightwatch-allure v1.2.0

Weekly downloads
1,734
License
ISC
Repository
github
Last release
4 years ago

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

##Install Steps npm install nightwatch-allure --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

##CHANGELOG 7/1/2020 - 1. Added Report Prefix to Test Name 2. Added Report Prefix and Date of report generation as tags to each test 3. Adding screenshots if exists in all cases and err messages

30/1/2020 - 1. Fixed error in issue #2

1.2.0

4 years ago

1.1.9

4 years ago

1.1.8

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago