mlUnitTest无法用于MarkLogic单元测试

时间:2018-10-17 07:31:24

标签: unit-testing xquery marklogic marklogic-dhf

我已使用以下网址设置了Marklogic的UnitTetsing框架-

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

我能够使用mlDeploy部署项目,并能够使用mlUnitTestLoadModules加载我的测试模块,但是从gradle mlUnitTest运行测试用例时,出现以下错误-< / p>

Task ':mlUnitTest' is not up-to-date because:
Task has not declared any outputs.
Releasing connection

:mlUnitTest (Thread[Daemon worker Thread 16,5,main]) completed. Took 0.064 secs


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':mlUnitTest'.
> java.lang.NullPointerException (no error message)

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to
get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org 

任何建议??

1 个答案:

答案 0 :(得分:0)

我们最近迁移到marklogic-unit-test-1.0.0时遇到了这个问题。感谢其中之一的MarkLogic专家,可以解决此问题。如果这仍然是 问题让我们知道。