Skip to content

SeldomQA/pytest-xhtml

Repository files navigation

pytest-xhtml

pytest-xhtml is a plugin for pytest that generates a HTML report for test results.

install

$ pip install pytest-xhtml

usage

  • unit test
cd testing_unit
$ pytest test_selenium.py --html=report.html

unit test

  • e2e test
# install selenium library
$ pip install selenium

$ cd testing_e2e
$ pytest test_selenium.py --html=report.html

e2e test

  • http test
# install pytest-req library
$ pip install pytest-req

$ cd testing_req
$ pytest test_req.py --html=report.html

http test

Develop

$ git clone https://github.com/seldomQA/pytest-xhtml.git
$ cd pytest-xhtml
$ pip install .

$ npm run build:css

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published