Skip to main content

Synchronization functionalities for Azure-related tasks.

Project description

Robot Framework Azure Sync

Overview

The Robot Framework Azure Sync package provides synchronization capabilities for Azure-related tasks. It includes scripts to retrieve data from Azure Test Cases (rf_azure_sync_get.py), to update Azure Test Cases (rf_azure_sync_patch.py), and to run Robot Framework tests with specific tags.

Installation

To install rf_azure_sync, you can use pip. Open a terminal and run:

pip install rf-azure-sync

Using the project source code

Alternatively, you can download the project source code from the repository and use it directly. You will need to have Python installed on your system.

  1. Clone the repository:
git clone https://github.com/fabiorisantosquispe/rf_azure_sync.git
  1. Navigate to the project directory:
cd rf_azure_sync
  1. Use the provided scripts
  • sync_utils.py: Contains utility functions for synchronization.
  • rf_azure_sync_get.py: Script to get data from Azure Test Cases.
  • rf_azure_sync_patch.py: Script to patch data to Azure Test Cases.
  • rf_azure_sync.py: Main script for synchronization and running Robot Framework tests.

Usage

Using the installed package

If you installed the package via pip, you can use the following commands:

#Run synchronize_get and synchronize_patch
rf_azure_sync

#Just run sync_get
rf_azure_sync get

#Run sync_patch only
rf_azure_sync patch

Using the project source code

If you are using the project source code directly, you can execute the scripts using Python:

# Run synchronize_get and synchronize_patch
python rf_azure_sync.py

# Just run sync_get
python rf_azure_sync.py get

# Run sync_patch only
python rf_azure_sync.py patch

Configuration

The package requires a configuration file 'sync_config.json' with Azure-related settings. If the file is not found, it will be created interactively.

Example 'sync_config.json':

{
     "path": "tests",
     "credentials": {
       "personal_access_token": "your_azure_personal_access_token",
       "organization_name": "your_organization_name",
       "project_name": "your_project_name"
     },
     "tag_config": {
       "test_case": "TC",
       "user_story": "US",
       "bug": "Bug",
       "title": "Title",
       "TestedBy-Reverse": "",
       "IterationPath": "",
       "AutomationStatus": "",
       "ignore_sync": "",
       "System.Tags": "",
       "Priority": ""
     },
     "constants": {
       "System.AreaPath": "",
       "System.TeamProject": "",
       "settings_section": "",
       "test_cases_section": ""
     }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rf_azure_sync-1.0.1.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rf_azure_sync-1.0.1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file rf_azure_sync-1.0.1.tar.gz.

File metadata

  • Download URL: rf_azure_sync-1.0.1.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for rf_azure_sync-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c5ac8c34d6aa79b2fa62bfdb03e23e6571934f104318bf2a723b835b5a1eecdf
MD5 75e75940a6e7bb23e809a593524a05ba
BLAKE2b-256 1755a2cdd819a17cf3a9a32e3d00ea3971b5ab55c2e31591c2d4782e1de8c923

See more details on using hashes here.

File details

Details for the file rf_azure_sync-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: rf_azure_sync-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for rf_azure_sync-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dc2ff78e04a9ba7c3403af0fed5497a48b29efef0c887b9b959c4e39dec34c04
MD5 51767bde551c069465890b364179d763
BLAKE2b-256 af918f3635868f7b6768af6d526bfbef76b33eb020d8ee89aa31d061cdaea59c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page