需要有关定制报告的帮助

Need Help on Customized Reporting

我已将 One Third Party Reporting API 与 Citrus 集成,已实现 TestListener 接口。我观察到一个测试用例在报告仪表板中打印了两次,在我调试的那一刻我看到报告方法被执行了两次。

@Override
public void onTestSuccess(TestCase test) {

    ETest.log(LogStatus.PASS, "Test Case Passed"); (--> This line Executed twice every time 

}

你们能帮帮我吗

问候 北京

了解如何在 Citrus 中添加自定义报告:http://citrusframework.org/samples/reporting/

另见 sample github sources