Skip to content

CodeLinkIO/codelink-screenpy

Repository files navigation

Voltron Automation Test

The Automation Test project allows automating test cases for UI and API.

Content

  1. Description
  2. Project Setup
  3. Links

Description

Automation Project with screenpy and allure.

Project Setup

  • Install python 3.10
  • Install allure commandline
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
irm get.scoop.sh | iex
scoop install allure
  • Clone this repo to your local machine
  • Open the project
  • Open terminal on IDE at project folder
  • Install virtualenv:
py -m pip install --user virtualenv
  • Create a virtual environment:
py -m venv venv
  • Activate your virtual environment:
./venv/Scripts/activate
  • Install dependencies:
pip install -r requirements.txt

Running tests

  • Run tests in a directory
pytest <path to test>
  • Run tests by keyword expressions
pytest -k "keywork or test case name"

Example:

pytest --alluredir report  --window-size 1920,950  -k test_youtube_hub

Generating report

allure serve <path of report>

Example:

allure serve report

Links

Pytest

ScreenPy

Selenium Python

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages