Skip to content

NazarYermolenko/ui-python-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Python + Pytest + Selenium + Allure automation test project

  • Created some tests
  • Created tests configuration
  • Enabled allure reporter

To integrate PyCharm with PyTest

Preferences -> Tools -> Default test runner -> PyCharm

To run marked tests

For example: you have tests @pytest.mark.uitest that execute them you need to:
pytest -m uitest

To rerun tests

For rerun failed tests:
pytest --reruns 2

To run tests in paralell

pytest /tests -n 3

To generate HTML report:

pytest --html=report.html

To generate allure report

pytest --alluredir ./my-allure

allure generate ./my-allure

About

Simple Python Automation project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages