1

我已经使用以下网址为 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 

有什么建议么 ??

4

1 回答 1

0

我们最近在迁移到 marklogic-unit-test-1.0.0 时遇到了这个问题。感谢 MarkLogic 专家之一,有一个解决方法。如果这仍然是一个问题,请告诉我们。

于 2020-04-29T12:04:37.957 回答