Step 0) Follow below link to create cucumber project
https://sagarthakare1.wordpress.com/2015/05/15/cucumber-with-junit-and-cucumber-reporting/1) Download zip file from below link
https://github.com/masterthought/cucumber-sandwich2) Unzip file
3) Go to \cucumber-sandwich-master\cucumber-sandwich-master
4) Run cucumber-sandwich ms dos file
this file will keep reading C:\Users\hendkin\AppData\Local\dev\fuse\trunk\fuse-acceptance\report\cucumber folder5) Copy json file
Copy json file created by your cucumber options in Step 0)in C:\Users\hendkin\AppData\Local\dev\fuse\trunk\fuse-acceptance\report\cucumber folder folder
This MS don file will generate
cucumber-html-reports folder at C:\Users\hendkin\AppData\Local\dev\fuse\trunk\fuse-acceptance\report\
6) Open login.feature.html file in browser
You will get fancy HTML pages with graphs like below imageshttps://raw.githubusercontent.com/masterthought/cucumber-reporting/master/.README/feature-overview.png
No comments:
Post a Comment