|
运行时不成功,提示如下,不知怎么回事?
[TestNG] Running:
D:\workspace\test\testng.xml
SKIPPED: f
java.lang.AssertionError: Unsupported type parameter : class [Ljava.lang.String;
at org.testng.internal.Parameters.convertType(Parameters.java:246)
at org.testng.internal.Parameters.createParameters(Parameters.java:165)
at org.testng.internal.Parameters.createParameters(Parameters.java:355)
at org.testng.internal.Parameters.handleParameters(Parameters.java:447)
at org.testng.internal.Invoker.handleParameters(Invoker.java:1371)
at org.testng.internal.Invoker.createParameters(Invoker.java:1068)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1171)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:768)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:87)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
at org.testng.TestNG.run(TestNG.java:1022)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:109)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:202)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:173)
===============================================
Default test
Tests run: 1, Failures: 0, Skips: 1
=============================================== |
|