我如何在ofbiz13.07中运行run-test-suite

时间:2016-09-17 13:37:03

标签: ofbiz

ofbiz 13.07.03第42行我运行“ant test-suite”

apache-ofbiz-13.07.03 ant run-test-suite -Dtest.component=party -Dtest.suiteName=PartyTests

控制台返回以下错误:

[java] org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.testtools.TestRunContainer (No tests found (party / PartyTests / null))

1 个答案:

答案 0 :(得分:1)

您收到此错误是因为测试套件的正确名称全部是小写的:而不是“PartyTests”,您应该使用“partytests”。 以下命令应该成功:

ant run-test-suite -Dtest.component=party -Dtest.suiteName=partytests

我希望它可以帮到你。

相关问题