robot-azure-sync


Namerobot-azure-sync JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/fabiorisantosquispe/robot_azure_sync
SummarySynchronization functionalities for Azure-related tasks.
upload_time2024-03-29 05:07:40
maintainerNone
docs_urlNone
authorFábio Ribeiro dos Santos Quispe
requires_pythonNone
licenseMIT
keywords sync synchronization robot framework azure
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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 **(`robot_azure_sync_get.py`)**, to update Azure Test Cases **(`robot_azure_sync_patch.py`)**, and to run Robot Framework tests with specific tags.

## Installation

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

```bash
pip install robot_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:

```bash
git clone https://github.com/fabiorisantosquispe/robot_azure_sync.git
```

2. Navigate to the project directory:

```bash
cd robot_azure_sync
```
3. Use the provided scripts

- sync_utils.py: Contains utility functions for synchronization.
- robot_azure_sync_get.py: Script to get data from Azure Test Cases.
- robot_azure_sync_patch.py: Script to patch data to Azure Test Cases.
- robot_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:

```bash
#Run synchronize_get and synchronize_patch
robot_azure_sync

#Just run sync_get
robot_azure_sync get

#Run sync_patch only
robot_azure_sync patch
```

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

```bash
# Run synchronize_get and synchronize_patch
python robot_azure_sync.py

# Just run sync_get
python robot_azure_sync.py get

# Run sync_patch only
python robot_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'**:
```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": ""
     }
}
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/fabiorisantosquispe/robot_azure_sync",
    "name": "robot-azure-sync",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "SYNC, SYNCHRONIZATION, ROBOT FRAMEWORK, AZURE",
    "author": "F\u00e1bio Ribeiro dos Santos Quispe",
    "author_email": "fabiorisantos1981@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/73/6c/639c438bb1c3d4c829b23bb57eefe6f5014c609730b3127f5d73c4cfccad/robot_azure_sync-1.0.0.tar.gz",
    "platform": null,
    "description": "# Robot Framework Azure Sync \n\n## Overview\n\nThe **Robot Framework Azure Sync** package provides synchronization capabilities for Azure-related tasks. It includes scripts to retrieve data from Azure Test Cases **(`robot_azure_sync_get.py`)**, to update Azure Test Cases **(`robot_azure_sync_patch.py`)**, and to run Robot Framework tests with specific tags.\n\n## Installation\n\nTo install `robot_azure_sync`, you can use `pip`. Open a terminal and run:\n\n```bash\npip install robot_azure_sync\n```\n\n## Using the project source code\n\nAlternatively, you can download the project source code from the repository and use it directly. You will need to have Python installed on your system.\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/fabiorisantosquispe/robot_azure_sync.git\n```\n\n2. Navigate to the project directory:\n\n```bash\ncd robot_azure_sync\n```\n3. Use the provided scripts\n\n- sync_utils.py: Contains utility functions for synchronization.\n- robot_azure_sync_get.py: Script to get data from Azure Test Cases.\n- robot_azure_sync_patch.py: Script to patch data to Azure Test Cases.\n- robot_azure_sync.py: Main script for synchronization and running Robot Framework tests.\n\n\n# Usage\n## Using the installed package\nIf you installed the package via pip, you can use the following commands:\n\n```bash\n#Run synchronize_get and synchronize_patch\nrobot_azure_sync\n\n#Just run sync_get\nrobot_azure_sync get\n\n#Run sync_patch only\nrobot_azure_sync patch\n```\n\n## Using the project source code\nIf you are using the project source code directly, you can execute the scripts using Python:\n\n```bash\n# Run synchronize_get and synchronize_patch\npython robot_azure_sync.py\n\n# Just run sync_get\npython robot_azure_sync.py get\n\n# Run sync_patch only\npython robot_azure_sync.py patch\n```\n\n# Configuration\nThe package requires a configuration file **'sync_config.json'** with Azure-related settings. If the file is not found, it will be created interactively.\n\nExample **'sync_config.json'**:\n```JSON\n{\n     \"path\": \"tests\",\n     \"credentials\": {\n       \"personal_access_token\": \"your_azure_personal_access_token\",\n       \"organization_name\": \"your_organization_name\",\n       \"project_name\": \"your_project_name\"\n     },\n     \"tag_config\": {\n       \"test_case\": \"TC\",\n       \"user_story\": \"US\",\n       \"bug\": \"Bug\",\n       \"title\": \"Title\",\n       \"TestedBy-Reverse\": \"\",\n       \"IterationPath\": \"\",\n       \"AutomationStatus\": \"\",\n       \"ignore_sync\": \"\",\n       \"System.Tags\": \"\",\n       \"Priority\": \"\"\n     },\n     \"constants\": {\n       \"System.AreaPath\": \"\",\n       \"System.TeamProject\": \"\",\n       \"settings_section\": \"\",\n       \"test_cases_section\": \"\"\n     }\n}\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Synchronization functionalities for Azure-related tasks.",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/fabiorisantosquispe/robot_azure_sync"
    },
    "split_keywords": [
        "sync",
        " synchronization",
        " robot framework",
        " azure"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "afadaac356c3effcb939d62f36302bd04a8ad7865d1ffb1d78275167ef0e067e",
                "md5": "df494e152f703e5a3e66530a17023272",
                "sha256": "621b1ebb00033a66003bc2f4a0a4452efb8a9d4cfd8bac0bee263c35d0a0906f"
            },
            "downloads": -1,
            "filename": "robot_azure_sync-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "df494e152f703e5a3e66530a17023272",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 14506,
            "upload_time": "2024-03-29T05:07:38",
            "upload_time_iso_8601": "2024-03-29T05:07:38.562429Z",
            "url": "https://files.pythonhosted.org/packages/af/ad/aac356c3effcb939d62f36302bd04a8ad7865d1ffb1d78275167ef0e067e/robot_azure_sync-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "736c639c438bb1c3d4c829b23bb57eefe6f5014c609730b3127f5d73c4cfccad",
                "md5": "468e8b2cce9a2c321c57db0478f11765",
                "sha256": "74ba63670e5c3c82cfb8fc96962ce26f4a141667d1f14dd11d716afe0d323651"
            },
            "downloads": -1,
            "filename": "robot_azure_sync-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "468e8b2cce9a2c321c57db0478f11765",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 12865,
            "upload_time": "2024-03-29T05:07:40",
            "upload_time_iso_8601": "2024-03-29T05:07:40.096764Z",
            "url": "https://files.pythonhosted.org/packages/73/6c/639c438bb1c3d4c829b23bb57eefe6f5014c609730b3127f5d73c4cfccad/robot_azure_sync-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-29 05:07:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "fabiorisantosquispe",
    "github_project": "robot_azure_sync",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "robot-azure-sync"
}
        
Elapsed time: 2.52263s