top of page
Search
Writer's pictureainendent

Test Reporter Using Jest-HTML-Reporter



One of way to generate test report beside Jasmine is by using Jest-HTML-Reporter which you can put inside package.json. Here the step to follow:


type this on command line.

npm install --save-dev jest-html-reporter

then run the tests

npm run test

Right-click on test-report.html > Reveal in File Explorer > Double-click on test-report.











Finally, it's a wrap! you'll see the test report which summarize all the test scenario you run.


Thats all hope it useful for you guys!


Thank you.



-ay-











170 views0 comments

Comments


bottom of page