【发布时间】:2019-03-21 19:33:27
【问题描述】:
我已经使用以下网址为 Marklogic 设置了 UnitTetsing 框架-
https://github.com/marklogic-community/marklogic-unit-test
我能够使用mlDeploy 部署我的项目并能够使用mlUnitTestLoadModules 加载我的测试模块,但是在从gradle mlUnitTest 运行测试用例时,我收到以下错误-
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
有什么建议吗??
【问题讨论】:
-
你能运行“gradle mlUnitTest --stacktrace”并发布堆栈跟踪吗?
标签: unit-testing xquery marklogic marklogic-dhf