Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebHealthCheck

Sandbox to start with Simple tests to be applied to a tpical web site, e.g. finding broken links, etc.

Usage:

  1. Edit env.py to have the URL and environment name
  2. Run:
pytest test_samples.py

Useful pytest options

To generate htm report (that can be just shared in single-file), run failed tests (those previously failed) first

pytest --ff .\test_sample.py  --html=your_report_filename.htm --self-contained-html

to explicitly cleanup previous run results

pytest --lf .\test_sample.py --cache-clear  --html=your_report_file_lf.htm

to only rerun failed tests (those failed in previous run)

pytest --lf .\test_sample.py  --html=your_report_file_lf_rerun.htm

About

Typical verification set

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages