[MarkLogic Dev General] XRay Unit Test Plugin For Gradle
ron at ronsoft.com
Mon Jan 1 20:01:37 PST 2018
Do you use XRay  to write unit tests for your XQuery code? If you
don’t, you probably should.
Do you use Gradle  to run your builds? If not, you probably should
Would you like to run your XRay tests as an automated task in Gradle,
just like JUnit tests? Of course you would.
Annoyed that you can’t easily do that? Of course you are.
Well, despair no longer. I’ve written a simple and easy Gradle plugin
that will run your XRay tests from Gradle along with any other tests that
are run as part of the “test” Gradle task . It will even output xUnit
result files (the format used by JUnit and others) so that test results
will appear in your CI build tool, such as Jenkins or Team City.
See  below for details of how to import the plugin (it’s basically a
one-liner). You will also need to have XRay in scope on an MarkLogic
appserver ready to be invoked. If you’re already using XRay then you
probably have that set up already. See  for details of setting up and
configuring XRay. See  for how to configure the plugin to set the XRay
URL and other parameters.
Please report any problems, bugs, feedback, etc as an Issue at .
Ron Hitchens ron at overstory.co.uk, +44 7879 358212
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General