This mock test measures the amount of code the test covers using Pytest's coverage.py plugin. It simultaneously runs the test on a cloud grid.
Coverage_demo
├─ .gitignore
├─ locators
│ ├─ locator.py
│
├─ plain_tests
│ ├─ plain_tests.py
│
├─ run_coverage
│ ├─ run_coverage.py
| ├─ .env
├─ setup
│ ├─ setup.py
│
└─ testscenario
├─ scenarioRun.py
cd run_coverage
Then run:
pytest