Skip to content

qubistlabs/qa-tools

Repository files navigation

QA tools

Setup

  • install docker
  • install docker-compose
  • pip install -r requirement.txt

Environment variables

  • JIRA_NAME - jira email
  • JIRA_PASSWORD - jira cloud API key
  • IS_LOCAL_START - (bool) disable download information from jira when you start any pytest format files
  • DISABLE_SCHEMA_VALIDATOR - (bool) disable validate_type_wrap for api
  • ENV_NAME - develop, stage, production or local
  • ENV_SERVICE_SCOPE_NAME - jticker, coinmena, jibrelcom, jsearch, etc.
  • SSH_PKEY_PATH - path to ssh key with access for connect to bastion service

Other environment variable you can find in qa_tool/settings.py

Setup dockerfile

If you create test image from this base image for you access this environment variable for configure test start. This configuration u can see in run.sh. Examples in Dockerfile

  • ALLURE_DIR
  • TESTS_DIR
  • TEST_THREAD_COUNT
  • TEST_TIMEOUT
  • PYTEST_STOUT

Also for easy start use docker-compose. docker-compose run testing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5