0

I want to generate the emailable report after my test suite gets completed using Jasmine and protractor.

How can I get the following information after my test suite is completed.

1.Total no of spec count 2.Total pass spec count 3.Total Failed test spec count 4. Total Pending specs counts

I could not find any proper solution so far. Please help me out solve this issue.

1 Answers1

0

Using the spec-reporter writes down on your console the results of your testing, but if you really need something to email, you could also use jasmine2-html-reporter, which generates an html page with the results. With that file, you can program a function to send via email a file or something that you need

CONSOLE: Jasmine spec reporter

HTML: Jasmine html reporter

Alfonso MM
  • 111
  • 9