forked from mrlan/EnglishPal
How to run pytest
parent
083cbfd040
commit
4f91659713
|
@ -146,6 +146,9 @@ Install the following dependencies too:
|
||||||
- pip install -U selenium==3.141.0
|
- pip install -U selenium==3.141.0
|
||||||
- pip install -U urllib3==1.26.2
|
- pip install -U urllib3==1.26.2
|
||||||
|
|
||||||
|
Run the test using pytest as follows: pytest --html=pytest_report.html test_add_word.py
|
||||||
|
|
||||||
|
The above command will generate a HTML report file pytest_report.html after finishing executing test_add_word.py. Note: you need to install pytest-html package first: pip install pytest-html.
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue