Missing valid coverage data available in Rails stats report

`No coverage data available

Tracking and trending coverage works best when compared to like. In this regard, it is best to track assemblies when all unit tests pass.

This plugin does not report code coverage until there is at least one stable build.

What should I do to have a rails report?

+4
source share
2 answers

@krs - From what you said in your comments, you're right.

rails stats provides only code coverage metrics for tests at this point in time. rails stats not designed to store data between assemblies and test report results compared to the code pipeline.

You can connect your CI to an external service to see test coverage and test results. (EG, https://coveralls.io ).

+1
source

Please add the coverage.xml file outside the project. It works great for me.

0
source

Source: https://habr.com/ru/post/1496093/


All Articles