Skip to content

IvanGrigoriev11/gitea_tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitea Test Scenario

This repository contains test scenario for Gitea service. The scenario relies that the tests are executed sequentially.

Setting up

  1. Install python 3.10 (instructions below for Mac OS).
    1. Install Homebrew Official page - Homebrew.
      1. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)".
    2. Install pyenv. PyEnv - Documentation on GitHub.
      1. brew install pyenv.
      2. Add to your profile (e.g. ~/.zshrc) eval "$(pyenv init -)" to turn on pyenv.
    3. Install Python 3.10.0.
      1. pyenv install 3.10.0.
    4. Install pyenv-virtualenv.
      1. brew install pyenv-virtualenv.
    5. Create a new virtual environment.
      1. pyenv virtualenv 3.10.0 gitea.
  2. Install the requirements: pip install -r requirements.txt.
  3. Install Docker from the Docker official page.

Launching the tests

  1. Ensure docker desktop is running.
  2. cd <repo_root>
  3. pytest .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages