py.test -v [path to folder]
or run py.test -v
command in derictory with test-scripts
To run separate test run py.test -v [path to test]
- Run all tests and store in report folder
py.test -v --alluredir=report [path to test-script or folder with tests]
- generate html report from 'report' folder to 'report-html' folder
allure generate --clean -o report-html report
- open reports from 'report-html' folder
allure open report-html