I want to obtain a report of all successful jasmine specs runned with karma, something like you obtain when using jasmine alone.
Is there anyway to achieve this?
To configure Jasmine to generate reports in the NunitXML format, instantiate the NUnitXmlReporter reporter by adding the following code to your tests. The test reports are exported to the file specified by <test report directory> / <report filename> . In your buildspec. yml file, add/update the following sections.
The ng test command builds the application in watch mode, and launches the Karma test runner.
Karma is a node-based test tool that allows you to test your JavaScript codes across multiple real browsers. A node-based tool is any tool that needs the Nodejs engine installed for it to run and can be accessed (installed) through the node package manager (npm).
Try this quick plugin I wrote:
https://github.com/dtabuenc/karma-html-reporter
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