我可以在 CitrusFramework 中创建自定义报告吗

Can i create a Customized reporting in CitrusFramework

我当前的项目使用了范围报告http://extentreports.com/”。 有没有一种方法可以让我阅读柑橘的总结报告并将其打印成范围报告格式。

附上柑橘框架报告样本,enter image description here

Citrus 提供了多个报告和侦听器接口,用于获取有关测试状态(例如成功或失败)的信息。您可以将这些接口的自定义实现添加到 Spring 应用程序上下文。自定义报告 class 然后可以通过 Java API.

创建范围报告

侦听器接口位于 com.consol.citrus.report 包中:MessageListener、TestSuiteListener、TestListener、TestActionListener、TestReporter

您可以查看默认的 LoggingReporter 作为示例实现。