我在TC中无法生成Profiler报告(使用TestNG)。
如在selenide.org page
上所写,我添加以下内容:
@Listeners(TextReport.class)
@Report
public class GoogleTest {
...
}
测试正常运行,但是没有看到事件探查器报告。
您有什么想法,如何解决它并查看报告?
您应该在类路径中有slf4j
。
将testCompile 'org.slf4j:slf4j-simple:1.7.30'
添加到gradle.build中。>>
或在行家中:
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.30</version>
<scope>test</scope>
</dependency>