An open API service indexing awesome lists of open source software.

https://github.com/marklogic/marklogic-unit-test

Automated testing for MarkLogic
https://github.com/marklogic/marklogic-unit-test

gradle marklogic unit-testing

Last synced: 5 months ago
JSON representation

Automated testing for MarkLogic

Awesome Lists containing this project

README

          

![GitHub release](https://img.shields.io/github/release/marklogic/marklogic-unit-test.svg)
![GitHub last commit](https://img.shields.io/github/last-commit/marklogic/marklogic-unit-test.svg)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

# Easy testing of custom MarkLogic modules

marklogic-unit-test enables you to write and run automated tests for the custom
[JavaScript modules](https://docs.marklogic.com/guide/getting-started/javascript) and
[XQuery modules](https://docs.marklogic.com/guide/getting-started/xquery) that you
can write and deploy to MarkLogic. Tests can be written in either JavaScript or XQuery and can test modules written
in either language as well. By getting tests in place for your custom modules, you can speed up development of your
MarkLogic applications and ensure that they can be changed as easily as possible as new requirements are introduced.

marklogic-unit-test includes the following components:

1. A MarkLogic library module to help you write your test modules.
2. A simple web interface for running tests.
3. Java libraries for running your tests via [JUnit5](https://junit.org/junit5/) and for integrating with other
popular Java testing frameworks. As of the 2.0.0 release, these now require Java 17 or higher.
4. A REST endpoint for integrating with testing frameworks in any language.

Please see [the user guide](https://marklogic.github.io/marklogic-unit-test/) to get started with adding
marklogic-unit-test to your project.