Coder Social home page Coder Social logo

html-reporter's Introduction

Nightwatch HTML Reporter template

npm Discord

This package is used internally by the Nightwatch HTML reporter and it's not designed to be used directly.

This Repo contains template for HTML and VRT Reporter.

๐Ÿ— Installation

npm install @nightwatch/html-reporter-template

๐Ÿš€ Usage

const { writeNightwatchHTMLReport } = require('@nightwatch/html-reporter-template');;

/**
 * This function will insert the result object within the HTML **reporter**
 * and add it to the destination folder.
 * The result object will be available in the "window.nightwatchReport" variable.
 *
 */
writeNightwatchHTMLReport(<destFolder>, <destFileName>, <result object>);

Note You can find about more about function here

๐Ÿ› Issues

Issues with this Reporter Template can filed here

If you want to contribute (or have contributed in the past), feel free to add yourself to the list of contributors in the package.json before you open a PR!

๐Ÿ‘จโ€๐Ÿ’ป Development

Getting started

๐Ÿ› ๏ธ Node.js and npm are required for the scripts. Make sure it's installed on your machine.

โฌ‡๏ธ Install the dependencies for the nightwatch reporter template

npm install

๐Ÿƒ Run the tool

# To run HTML Reporter
npm run dev:html

# To run VRT Reporter
npm run dev:vrt

๐Ÿ‘ทโ€โ™‚๏ธ Build both reporters

npm run build:html
npm run build:vrt

โ™ป๏ธ Clean build files

npm run clean

html-reporter's People

Contributors

vaibhavsingh97 avatar prudhvi22 avatar beatfactor avatar swrdfish avatar garg3133 avatar subhajit20 avatar wisekiran avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.