标签: testng
编译器如何知道我必须根据测试状态在TestFailure/onFinish/onStart/onTestFailedButWithinSuccessPercentage/onTestSkipped/onTestStart上执行?
TestFailure/onFinish/onStart/onTestFailedButWithinSuccessPercentage/onTestSkipped/onTestStart
答案 0 :(得分:0)
TestNG使用Observer Pattern为侦听器使用配置自身。要让TestNG框架知道如何使用自定义侦听器