mrlan pushed to Alpha-snapshot20230621 at mrlan/EnglishPal
- 374da86174 Why not use PyPI's webdriver-manager?
mrlan commented on pull request mrlan/EnglishPal#109
Bug546_lixiaofeng@lixiaofeng
mrlan commented on pull request mrlan/EnglishPal#114
Bug551-DingZeYu@dingchengye 谢谢。还需要自动化测试脚本。
mrlan commented on pull request mrlan/EnglishPal#111
WIP: Bug545-HuangHuiLing@huanghuiling 如何写 pytest 脚本,请参考 [test_add_word.py](http://118.25.96.118:3000/mrlan/EnglishPal/src/branch/Alpha-snapshot20230621/app/test/test_add_word.py)
mrlan commented on pull request mrlan/EnglishPal#105
Bug544-TangXinyuan@tangxinyuan
mrlan commented on pull request mrlan/EnglishPal#103
Bug528-TangJiao@tangjiao
mrlan commented on pull request mrlan/EnglishPal#104
Bug553_LinShan@linshan 谢谢。我精简了一下你的测试代码。请按照 README.md 中的 [End-to-end testing](http://118.25.96.118:3000/mrlan/EnglishPal/src/branch/Bug553_LinShan/README.md#end-to-en…
mrlan pushed to Bug553_LinShan at mrlan/EnglishPal
- 9aa718b236 Simplify the test code, use the Edge WebDriver
- 230e8e92dc Merge branch 'Bug553_LinShan' of http://118.25.96.118:3000/mrlan/EnglishPal into Bug553_LinShan
- e8fbccdcf7 README.md: do not forget to run launch the web app first before running the test
- 64b9c51fab Define a fixture that restarts flask app for each test run
- 77a3adb546 Define fixture 'restore_sqlite_database' that will be automatically used to restore the database before starting each test
- Compare 10 commits »
mrlan commented on pull request mrlan/EnglishPal#104
Bug553_LinShan@linshan 有道理。可以试用一下 `pytest.mark.parametrize` 这个装饰器。 例子 https://docs.pytest.org/en/7.3.x/how-to/parametrize.html
mrlan commented on pull request mrlan/EnglishPal#105
Bug544-TangXinyuan@tangxinyuan
mrlan pushed to Alpha-snapshot20230621 at mrlan/EnglishPal
- e8fbccdcf7 README.md: do not forget to run launch the web app first before running the test
mrlan pushed to Alpha-snapshot20230621 at mrlan/EnglishPal
- 64b9c51fab Define a fixture that restarts flask app for each test run
mrlan commented on pull request mrlan/EnglishPal#104
Bug553_LinShan@linshan 谢谢 请将 test_file.json 中的内容放入 test_bug553_LinShan.py,然后删除 test_file.json。 这样可以少管理一个文件。而且更容易理解。不然测试…
mrlan commented on pull request mrlan/EnglishPal#105
Bug544-TangXinyuan@tangxinyuan Thanks 请将测试脚本的文件名改为 **test_bug544_tangxinyuan.py** 另外,请与 Appha-snapshot20230621 分支同步一下。我已经更新了该分支中的…
mrlan pushed to Alpha-snapshot20230621 at mrlan/EnglishPal
- 77a3adb546 Define fixture 'restore_sqlite_database' that will be automatically used to restore the database before starting each test
mrlan pushed to Alpha-snapshot20230621 at mrlan/EnglishPal
- 4f91659713 How to run pytest
- 083cbfd040 Ignore app/test/assets
- 0dc253bc19 Ignore pytest_report.html
- Compare 3 commits »
mrlan pushed to Alpha-snapshot20230621 at mrlan/EnglishPal
- a4608db424 Correct code comments
mrlan pushed to Alpha-snapshot20230621 at mrlan/EnglishPal
- 0a63c5354a Make test_add_word.py work again
mrlan commented on pull request mrlan/EnglishPal#103
Bug528-TangJiao@tangjiao 不错。 测试文件名请用 test_bug528_tangjiao.py 三个测试文件合并为一个。一个 py 文件中可以定义多个测试用例的。
mrlan pushed to Alpha-snapshot20230621 at mrlan/EnglishPal
- 7d5b1c0ed4 Fix ImportError: cannot import name 'url_quote'