Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For this pull request, we have implemented a Clover reporter that is compatible with Atlassian Bamboo Continuous Integration server. Bamboo CI only accepts NCover or Clover format metrics, and this posed as an issue in our workflow. Others have also encountered the same issue documented here:
https://groups.google.com/forum/#!topic/karma-users/yww1YRdMi_s
I used a sample clover.xml output file as reference and implemented the clover.js file, which is a cloned and modified version of the cobertura.js file. The output format is tailored for Bamboo to capture all the necessary metrics for proper code coverage integration. It has solved an issue in our workflow and I believe this will be beneficial to anyone else who uses Karma and Bamboo CI.
I did not get a chance to create unit tests for our changes, as I ran into trouble running ‘npm test’ in the root directory and did not succeed. For now I just want to share this implementation to the public, but I would be glad to cooperate to get that done.