Skip to content

Latest commit

 

History

History
executable file
·
51 lines (36 loc) · 1.89 KB

execution_commands.md

File metadata and controls

executable file
·
51 lines (36 loc) · 1.89 KB

Local Commands

--environment={staging, prod} --browser={local_chrome, local_firefox}
py.cleanup -p && py.test --environment=staging --browser=local_chrome --alluredir ExecutionReports/
py.cleanup -p && py.test --environment=prod --browser=local_firefox --alluredir ExecutionReports/

Run Test Suites (Mark your test cases with test suites)

py.cleanup -p && py.test -m smoke --environment=staging --browser=local_chrome --alluredir ExecutionReports/
py.cleanup -p && py.test -m regression --environment=staging --browser=local_chrome --alluredir ExecutionReports/

Grid Specific Commands

--environment={staging, prod} --browser={chrome, firefox, safari}
MAC
py.cleanup -p && py.test --platform=MAC --browser=chrome --environment=staging --alluredir ExecutionReports/
py.cleanup -p && py.test --platform=MAC --browser=safari --environment=staging --alluredir ExecutionReports/
py.cleanup -p && py.test --platform=MAC --browser=firefox --environment=staging --alluredir ExecutionReports/
WINDOWS
py.cleanup -p && py.test --platform=WINDOWS --browser=chrome --environment=staging --alluredir ExecutionReports/
py.cleanup -p && py.test --platform=WINDOWS --browser=edge --environment=staging --alluredir ExecutionReports/
py.cleanup -p && py.test --platform=WINDOWS --browser=firefox --environment=staging --alluredir ExecutionReports/

Cloud Grid Specific Commands

--environment={staging, prod} --browser={sauce, browserstack_mobile, browserstack_web}
py.cleanup -p && py.test --browser=sauce --environment=staging --alluredir ExecutionReports/
py.cleanup -p && py.test --browser=browserstack_mobile --environment=staging --alluredir ExecutionReports/
py.cleanup -p && py.test --browser=browserstack_web --environment=staging --alluredir ExecutionReports/

Trigger Allure Reports

allure serve ExecutionReports