09 2021 档案
摘要:在testng项目中,点击工具条中Run,选择Edit Configurations,弹出运行配置对话框;左边选择你需要产生报告的test,右边点击Listeners,勾选Use default reporters,点击ok。 运行测试,生成test-output文件夹,今入文件夹会有报告样式tes
阅读全文
摘要:pom.xml添加log4j <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency> resources目录下新建log4j.proper
阅读全文