Location: /Users/macsho/Programming/Python_Selenium_Framework
If the browser was updated and the chromedriver is not supporting the browser version run the following command to update the chrome driver using the ChromeDriverManager pip install -r requirements.txt
- pip install -r requirements.txt
- python -m unittest tests/test_showcase.py
-
pytest -v --tb=long --capture=no tests/test_showcase.py
-
Run all test files with reports pytest tests/ --html=reports/report.html --self-contained-html --capture=no -v
-
Run all with reports one line pytest --html=reports/full_report.html --self-contained-html -v
-
Run all with reports test location Python_Selenium_Framework/showcase_framework pytest tests/ \
--html=reports/report.html
--self-contained-html
--capture=no
-v -
this will generate a report in a new folder with the date
-
Adding a dev branch