1. Clone this repo and run the following command. (Installing with -e
flag.)
git clone https://github.com/magicedy/Poco-pytest-allure.git
pip install -e Poco-pytest-allure
2. Download the demo game from Poco, e.g. 'C:\com.netease.poco.u3d.tutorial.apk'
- demo game android
- demo game windows
- params in pocopytest\testcase\utils\util_define.py, e.g. SetupDefine.PLAT
3. Connect Device and run the script.
cd Poco-pytest-allure
pytest
4. Check the test results with allure2.
* Download the latest version as zip archive from bintray.
* Unpack the archive to allure-commandline directory.
* Navigate to bin directory.
* Use allure.bat for Windows and allure for other Unix platforms.
* Add allure to system PATH.
allure serve allure_pytest_results -p 9090
* Running on http://127.0.0.1:9090/ (Press CTRL+C to quit)
Drag the Bookmarklet like this: Expand All
javascript:void((() => {document.querySelectorAll('.step__title_hasContent,.attachment-row').forEach(el => el.click())})())