mlUnitTest不适用于MarkLogic单元测试

问题描述 投票:1回答: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 

任何建议?

unit-testing xquery marklogic marklogic-dhf
1个回答
0
投票

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

© www.soinside.com 2019 - 2024. All rights reserved.