Unit Testing for Marklogic

We are looking for an infrastructure to test our MarkLogic XQuery code . We can see that Marklogic / xqunit is a good structure, but it does not have a code coverage function. What is the best structure to write unit test cases for Marklogic XQuery ?

+8
unit-testing marklogic
source share
1 answer

The two unit test frameworks I've seen in practice are XRay and the Roxy Unit Test (note that the Roxy unit test is part of a larger project consisting of Roxy Deployer, an MVC structure, and Unit Test; the unit test function will be easiest to use if you are also using Deployer). Roxy can test XQuery and server-side JavaScript code.

I do not know any tool that provides code coverage at this time.

+12
source share

All Articles