背景:python+selenium+pytest+html报告 环境:我的是本机的Jenkins配置本机的代码 前提:要下载好HTML Publisher plugin插件[系统管理>管理插件>可选插件>搜索HTML,下载后在构建后操作就有Publish HTML report的选项] 配置: step1:在项目的配置中设置[构建后操作>增加构建后操作步骤] step2:设置生成HTML的目录+索引页+报告标题 HTML directory to archive:这个路径是相对于
OS: Windows 8.1 with update 关键字:Python 3.4,HTML5,JSON,JavaScript 1.LocalServer.py,启动server,打开网页,传递JSON. from threading import Thread import time import webbrowser import http.server import socketserver import json import os port_number = 8000 server