/python_and_gitlab

Examples of gitlab-ci jobs, pytest slack integration, pylint-check jobs, gitlab-artifacts, parametrization-tests, multithread execution for methods, sitemap checking links status. Mirrored from gitlab.

Primary LanguagePythonApache License 2.0Apache-2.0

Python and GitLabCI for test automation (QA)

GitHub statistics GitHub views GitHub views per week GitHub clones GitHub clones per week

Hello! Here you can find examples of

  • Code quality checking jobs
  • GitLabCI: jobs with pytest execution
  • GitLabCI: slack integration
  • GitLabCI: Selenium in Docker test execution
  • Pytest: slack integration
  • Pytest: test parametrization
  • Allure: logger messages as steps
  • Allure: log each "requests" lib action
  • Multi-thread method execution examples
  • Sitemap checkers
  • Azure pipeline pytest execution

Installation

Must have python 3.7+

pip3 install -r requirements.txt

Allure reports

Type this in your project console:

pytest --alluredir=reports src\test

and after test execution type allure serve reports then your browser will open reports.