我有一个驱动程序脚本,在其中,我以编程方式创建了testng套件并运行它。当从eclipse或ant调用时,它都工作得很好。我想用maven替换ant并运行测试。但是得到了这个例外。] Running the tests in 'TestClass10' with parallel mode:falseERROR::org.testng
在Windows上尝试从命令行参数执行testNG类时出错。线程"main“org.testng.TestNGException中的异常: org.testng.TestNG.checkConditions(TestNG.java:1170) at org.testng.TestNG.privateMain(TestNG.java:1010) at org.testng.TestNG.ma
//some code that produces TestExecutionException with the cause HTTP 422}The exceptionwrong message: expected ".* HTTP 422.*" but got "Failed executing MessageExecutionTask"
at org.testng.internal.Invoker.handleInvocationResults