Compare commits
3 Commits
a4608db424
...
4f91659713
Author | SHA1 | Date |
---|---|---|
Lan Hui | 4f91659713 | |
Lan Hui | 083cbfd040 | |
Lan Hui | 0dc253bc19 |
|
@ -16,4 +16,6 @@ app/static/donate-the-author-hidden.jpg
|
||||||
app/model/__pycache__/
|
app/model/__pycache__/
|
||||||
app/test/__pycache__/
|
app/test/__pycache__/
|
||||||
app/test/.pytest_cache/
|
app/test/.pytest_cache/
|
||||||
|
app/test/pytest_report.html
|
||||||
|
app/test/assets
|
||||||
app/log.txt
|
app/log.txt
|
||||||
|
|
|
@ -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