roxy icon indicating copy to clipboard operation
roxy copied to clipboard

Report code coverage for modules tested with the Roxy Unit Tests

Open hansenmc opened this issue 8 years ago • 4 comments

It would be helpful to report and visualize code coverage for the modules that are tested by Roxy Unit Tests.

This would help highlight areas that have not (yet) been covered and need additional tests, and could be used as project quality metrics.

It might be possible to incorporate, or at least model an implementation from the code coverage implemented in xray 2.1 branch by @mblakele.

hansenmc avatar Apr 19 '17 02:04 hansenmc

@hansenmc Did you manage to get the code coverage in xray 2.1 running with some of the Roxy code? It is not well documented, and not fully complete from the looks of it..

grtjn avatar Jun 01 '17 19:06 grtjn

No, I haven't worked on it yet. But I think it would be really useful!

I'll update if I make any progress or will submit a PR if I can get anything working.

hansenmc avatar Jun 01 '17 19:06 hansenmc

Any working example of xray code coverage would be helpful.. :)

grtjn avatar Jun 01 '17 20:06 grtjn

Not sure if we are planning to make updates here, or only on ml-unit-test project moving forward, but I was able to get it ported over and running in the Roxy test UI. https://github.com/marklogic-community/ml-unit-test/pull/4

hansenmc avatar May 01 '18 05:05 hansenmc