Robotazuresync

Latest version: v1.0.0

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.0

In this version, we carried out code refactoring with improvements in operation and synchronization log.

v.0.1.2-alpha
Overview

This Python package provides synchronization capabilities for Azure-related tasks. Includes scripts to get test case data from Azure (rf_azure_sync_get.py) to Azure (rf_azure_sync_patch.py) and to run Robot Framework tests with specific tags.

Usage
Synchronization
To sync data to Azure, you can use the following commands:

To create test cases in the todo_organize.robot file with Azure test cases that do not exist in the repository, update the existing test cases in the repository in Azure and run the Robot test cases with the 'Automation_Status Automated' tag, simply run:

bash
rf_azure_sync


To just update the Test Cases in Azure with data from the local repository, simply run

bash
rf_azure_sync patch


To just download the Azure Test Cases to the todo_organize.robot file, just run:
bash
rf_azure_sync get


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

Example **'sync_config.json'**:
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": ""
}
}

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.