marklogic-community / roxy

Deployment tool for MarkLogic applications. Also provides optional unit test and XQuery MVC structure
Other
87 stars 66 forks source link

Report code coverage for modules tested with the Roxy Unit Tests #759

Open hansenmc opened 7 years ago

hansenmc commented 7 years ago

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.

grtjn commented 7 years ago

@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..

hansenmc commented 7 years ago

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.

grtjn commented 7 years ago

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

hansenmc commented 6 years ago

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