From e8fbccdcf7f644ecc7fccc272408281027c3c758 Mon Sep 17 00:00:00 2001 From: Lan Hui <1348141770@qq.com> Date: Thu, 11 Apr 2024 07:08:49 +0800 Subject: [PATCH] README.md: do not forget to run launch the web app first before running the test --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bbe4bb4..39bd61b 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ Install the following dependencies too: - pip install -U selenium==3.141.0 - pip install -U urllib3==1.26.2 -Run the test using pytest as follows: pytest --html=pytest_report.html test_add_word.py +Run English Pal first, then 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.