Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 555 Bytes

File metadata and controls

28 lines (20 loc) · 555 Bytes

sp_learning

Command to run all test-cases in folder

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]

Allure

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