0
我找不到任何有關這兩種方法的信息或文檔。 之間有什麼區別:在runSuitesLocally()
TestNG對象有兩種方法:run()和runSuitesLocally()
TestNG tng = new TestNG();
tng.runSuitesLocally();
和
TestNG tng = new TestNG();
tng.run();
我找不到任何有關這兩種方法的信息或文檔。 之間有什麼區別:在runSuitesLocally()
TestNG對象有兩種方法:run()和runSuitesLocally()
TestNG tng = new TestNG();
tng.runSuitesLocally();
和
TestNG tng = new TestNG();
tng.run();
:
這需要對Maven2的
https://github.com/cbeust/testng/blob/master/src/main/java/org/testng/TestNG.java#L1127-L1131
012是公共的這意味着runSuitesLocally()
不應該公開,你不應該使用它。