GithubHelp home page GithubHelp logo

nathfernandes / js-test-evidence Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 75 KB

Simple test automation project using Node.js and Cypress to show the usage of mochawesome-report-generator in the generation of test evidences with screenshots.

JavaScript 100.00%
test-automation test-evidence nodejs cypress mochawesome report-generator javascript

js-test-evidence's Introduction

js-test-evidence

Simple test automation project using Node.js, Cypress and mochawesome-report-generator (marge). The main purpose of this project is to show how the generation of test evidences can be done using these technologies and also adding screenshots whenever a test fails.

Prerequisite

  • Must have Node.js installed, if you don't have it yet, just click here and follow the instructions of their website.

Running the tests

Tests can be run using the following command:

npm run test

This command is already set to run the Cypress tests, merge the mochawesome result files into one and generate the HTML file with the test evidences from the merged file using marge.

Results

After the execution, you will be able to find the HTML file of the generated report inside the mochawesome-report folder.

js-test-evidence's People

Stargazers

 avatar

Watchers

 avatar  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.