Allure自动化测试报告之修改allure测试报告logo

1.安装allure

2.进入

/usr/local/Cellar/allure/2.10.0/libexec/config

3.在allure.yml添加

- custom-logo-plugin

如:

plugins:

  - junit-xml-plugin
  - xunit-xml-plugin
  - trx-plugin
  - behaviors-plugin
  - packages-plugin
  - screen-diff-plugin
  - xctest-plugin
  - jira-plugin
  - xray-plugin
  - custom-logo-plugin

4.进入

/usr/local/Cellar/allure/2.10.0/libexec/plugins/custom-logo-plugin/static

5.编辑styles.css

.side-nav__brand {
    
    
background: url('mrjadelogo.png') no-repeat left center !important;
padding-left: 180px !important;
margin-left: 10px;
}

注:logo展示样式可自己调试

6.保存,运行测试脚本,查看报告
在这里插入图片描述

推荐好文:

软件性能测试见解与总结

软件测试自学到什么程度就可以去面试了?

10年软件测试工程师感悟——写给还在迷茫中的朋友

什么样的人适合从事软件测试工作?

见识了解python自动化测试(3)

Python 和Java 哪个更适合做自动化测试?

软件测试人员的每天工作日常

10分钟玩转Python+Selenium自动化测试,教你快速入门!

最后: 欢迎关注小编领取一份300页pdf文档的Python自动化测试工程师核心知识点总结!软件测试技术交流群:(313782132) 这些资料的内容都是面试时面试官必问的知识点,篇章包括了很多知识点,其中包括了有基础知识、Linux必备、Shell、互联网程序原理、Mysql数据库、抓包工具专题、接口测试工具、测试进阶-Python编程、Web自动化测试、APP自动化测试、接口自动化测试、测试高级持续集成、测试架构开发测试框架、性能测试、安全测试等。

猜你喜欢

转载自blog.csdn.net/weixin_50271247/article/details/108502450