I'm using protractor (0.22.0) for testing my app. Is this possible to have a mocha-style reporter instead of the basic jasmine one? It currenlty looks like this:
(....F...)
And I'm looking something more like:
my set of tests 1
my test 1-1
my test 1-2
my set of tests 2
my test 2-1
my test 2-2
See the response here: Custom Jasmine reporter in Protractor tests
I'm using this module and it works perfectly: https://www.npmjs.com/package/jasmine-spec-reporter.
Check out the Frameworks Protractor docs. Once you've installed Mocha, you can set Mocha options in your .protractor.conf.js
file:
mochaOpts: {
reporter: "spec",
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With