semvec/pypi-packages huggingface dataset:
pytest-open-html 0.1.0
Auto-open HTML reports after pytest runs
License: MIT

# pytest-open-html

A pytest plugin to automatically open the HTML report in your browser after tests finish.

## Installation

```bash
pip install pytest-open-html



# 运行测试
pytest --html=report.html  # 应自动打开浏览器
pytest --html=report.html --no-open-html  # 应不打开
```