为单元测试生成html报告
nose2-html-report的Python项目详细描述
#NOSE2 HTML报告
[![构建状态](https://travis-ci.org/mgrijalva/nose2-html-report.svg?branch=master)(https://travis ci.org/mgrijalva/nose2 html报告)
[![覆盖状态](https://coveralls.io/repos/github/mgrijalva/nose2-html-report/badge.svg?branch=master)(https://coveralls.io/github/mgrijalva/nose2-html-report?branch=master)
回溯将在报告中捕获
-报告可通过passed/failed/error/etc进行搜索和筛选。
![报告屏幕截图](https://raw.githubusercontent.com/mgrijalva/nose2 html report/master/docs/images/report.png)
`插件“nose2.cfg”文件“unittest”部分的“key”。插件的配置应该放在配置文件的“html报告”部分。下面是一个工作示例:
```
[unittest]
plugins=nos2_html_report.html_report
[html report]
always on=true
```
默认为“report.html`
````
[unittest]
plugins=nose2_html_report.html_report.html_report
[html report]
alwayon=true
path=test_results/my_custom_报表文件.html
````
>>
`````
命令行标志:
````
``````
>>```````
>>````````>nose2 `
>nose2 ```=>nose2-html report
`>
如果您的` nose2.cfg`:
````
nose2
```
请随时提交任何请求。
[![构建状态](https://travis-ci.org/mgrijalva/nose2-html-report.svg?branch=master)(https://travis ci.org/mgrijalva/nose2 html报告)
[![覆盖状态](https://coveralls.io/repos/github/mgrijalva/nose2-html-report/badge.svg?branch=master)(https://coveralls.io/github/mgrijalva/nose2-html-report?branch=master)
回溯将在报告中捕获
-报告可通过passed/failed/error/etc进行搜索和筛选。
![报告屏幕截图](https://raw.githubusercontent.com/mgrijalva/nose2 html report/master/docs/images/report.png)
`插件“nose2.cfg”文件“unittest”部分的“key”。插件的配置应该放在配置文件的“html报告”部分。下面是一个工作示例:
```
[unittest]
plugins=nos2_html_report.html_report
[html report]
always on=true
```
默认为“report.html`
````
[unittest]
plugins=nose2_html_report.html_report.html_report
[html report]
alwayon=true
path=test_results/my_custom_报表文件.html
````
>>
`````
命令行标志:
````
``````
>>```````
>>````````>nose2 `
>nose2 ```=>nose2-html report
`>
如果您的` nose2.cfg`:
````
nose2
```
请随时提交任何请求。