1.nosetests 执行出测试报告
提前安装 插件nose-html系列插件
nosetests -v --with-html-output --html-out-file=报告名.html
报告表:
![](https://i-blog.csdnimg.cn/blog_migrate/1548fb7a4ca07830d9e2669d0f30c8fd.png)
![](https://i-blog.csdnimg.cn/blog_migrate/a284fd7ea59473a1099c4da107a021fc.png)
nosetests -v --with-html-output --html-out-file=报告名.html
报告表:
![](https://i-blog.csdnimg.cn/blog_migrate/101c2d062ef64fb1455b4c6195349720.png)
2.nosetests 执行脚本参数列表
nosetests -w 路径 改变nose查找执行脚本文件
nosetests -s 打印脚本执行的日志
nosetests -v 不打印脚本执行日志,打印执行test_的执行情况和统计情况