1.1.3 • Published 4 years ago

any-step-reporter v1.1.3

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Any Step HTML reporter

Commitizen friendly

Any step HTML reporter for Jasmine and Protractor has the ability to record report logs for any steps that you want to include with screenshots of each step if you want.

Usage

The any-step-reporter is available via npm:

$ npm install any-step-reports --save-dev

In your spec file import the following properties to capture and create detailed reports as : var Jasmine2HtmlReporter = require('protractor-jasmine2-html-reporter');

Options

Destination folder

Output directory for created files. All screenshots and reports will be stored here.

If the directory doesn't exist, it will be created automatically or otherwise cleaned before running the test suite.

Sample Spec

Describe section

Spec section

Enums available as options

  _executionFailStatus_: boolean =false;
  _totalTestCaseCount_:number = 0;
  _passcount_:number = 0;
  _failcount_=0;
  _actualExecutionTime_=0;
  _start_:any;
  _end_:any;
  _totalTime_:any=0;
  _TestTable_:string[] = new Array();
  _testCaseID_:string='';