Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

0
how can i do the reporting for script developed using protractor JS?

Open 2 Answers 30 Views
0 2
In my current project, we are asked to use Protractor JS to do test automation. So far we have used our own Java framework to automate the web application. I have heard of ngWebDriver. But, I am not sure if that is the ideal way to combine JavaScript and Java. I am planning to use mocha as my testing framework. Can you suggest me any good reporting plugin or tool that I can integrate with it?

2 Answers

1
1
There are a lot of good reporting tools out there. It depends on the framework that you're choosing for Protractor tests.

For example, if you're using jasmine 2 as the default framework, then apart from jasmine-spec-reporter, you can use allure-reporter, which has a nice GUI for reporting.

If you're using mocha as the default framework, there are mocha reporters that will make your job easier. Mochawesome is one of the best reporting tools for mocha.

If you're using CucumberJS with Protractor, then you can opt for protractor-cucumber-reporter.

A regular google search with the names of the reporter will give their git links which mentions the set up.
answered by (53 points)
0
0
You can use

https://www.npmjs.com/package/jasmine-spec-reporter

jasmine-spec-reporter
answered by (202 points)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...