Name | rf-azure-sync JSON |
Version | 1.0.1 JSON |
download | |
home_page | |
Summary | Synchronization functionalities for Azure-related tasks. |
upload_time | 2024-02-15 23:23:42 |
maintainer | |
docs_url | None |
author | |
requires_python | |
license | |
keywords | azure synchronization robotframework |
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 **(`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: ```bash 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: ```bash git clone https://github.com/fabiorisantosquispe/rf_azure_sync.git ``` 2. Navigate to the project directory: ```bash cd rf_azure_sync ``` 3. 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: ```bash #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: ```bash # 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'**: ```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": "" } } ```
{ "_id": null, "home_page": "", "name": "rf-azure-sync", "maintainer": "", "docs_url": null, "requires_python": "", "maintainer_email": "", "keywords": "Azure,synchronization,robotframework", "author": "", "author_email": "F\u00e1bio Ribeiro dos Santos Quispe <fabiorisantos1981@gmail.com>", "download_url": "https://files.pythonhosted.org/packages/17/55/a2cdd819a17cf3a9a32e3d00ea3971b5ab55c2e31591c2d4782e1de8c923/rf_azure_sync-1.0.1.tar.gz", "platform": null, "description": "# Robot Framework Azure Sync \r\n\r\n## Overview\r\n\r\nThe **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.\r\n\r\n## Installation\r\n\r\nTo install `rf_azure_sync`, you can use `pip`. Open a terminal and run:\r\n\r\n```bash\r\npip install rf-azure-sync\r\n```\r\n\r\n## Using the project source code\r\n\r\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.\r\n\r\n1. Clone the repository:\r\n\r\n```bash\r\ngit clone https://github.com/fabiorisantosquispe/rf_azure_sync.git\r\n```\r\n\r\n2. Navigate to the project directory:\r\n\r\n```bash\r\ncd rf_azure_sync\r\n```\r\n3. Use the provided scripts\r\n\r\n- sync_utils.py: Contains utility functions for synchronization.\r\n- rf_azure_sync_get.py: Script to get data from Azure Test Cases.\r\n- rf_azure_sync_patch.py: Script to patch data to Azure Test Cases.\r\n- rf_azure_sync.py: Main script for synchronization and running Robot Framework tests.\r\n\r\n\r\n# Usage\r\n## Using the installed package\r\nIf you installed the package via pip, you can use the following commands:\r\n\r\n```bash\r\n#Run synchronize_get and synchronize_patch\r\nrf_azure_sync\r\n\r\n#Just run sync_get\r\nrf_azure_sync get\r\n\r\n#Run sync_patch only\r\nrf_azure_sync patch\r\n```\r\n\r\n## Using the project source code\r\nIf you are using the project source code directly, you can execute the scripts using Python:\r\n\r\n```bash\r\n# Run synchronize_get and synchronize_patch\r\npython rf_azure_sync.py\r\n\r\n# Just run sync_get\r\npython rf_azure_sync.py get\r\n\r\n# Run sync_patch only\r\npython rf_azure_sync.py patch\r\n```\r\n\r\n# Configuration\r\nThe package requires a configuration file **'sync_config.json'** with Azure-related settings. If the file is not found, it will be created interactively.\r\n\r\nExample **'sync_config.json'**:\r\n```JSON\r\n{\r\n \"path\": \"tests\",\r\n \"credentials\": {\r\n \"personal_access_token\": \"your_azure_personal_access_token\",\r\n \"organization_name\": \"your_organization_name\",\r\n \"project_name\": \"your_project_name\"\r\n },\r\n \"tag_config\": {\r\n \"test_case\": \"TC\",\r\n \"user_story\": \"US\",\r\n \"bug\": \"Bug\",\r\n \"title\": \"Title\",\r\n \"TestedBy-Reverse\": \"\",\r\n \"IterationPath\": \"\",\r\n \"AutomationStatus\": \"\",\r\n \"ignore_sync\": \"\",\r\n \"System.Tags\": \"\",\r\n \"Priority\": \"\"\r\n },\r\n \"constants\": {\r\n \"System.AreaPath\": \"\",\r\n \"System.TeamProject\": \"\",\r\n \"settings_section\": \"\",\r\n \"test_cases_section\": \"\"\r\n }\r\n}\r\n```\r\n", "bugtrack_url": null, "license": "", "summary": "Synchronization functionalities for Azure-related tasks.", "version": "1.0.1", "project_urls": null, "split_keywords": [ "azure", "synchronization", "robotframework" ], "urls": [ { "comment_text": "", "digests": { "blake2b_256": "af918f3635868f7b6768af6d526bfbef76b33eb020d8ee89aa31d061cdaea59c", "md5": "51767bde551c069465890b364179d763", "sha256": "dc2ff78e04a9ba7c3403af0fed5497a48b29efef0c887b9b959c4e39dec34c04" }, "downloads": -1, "filename": "rf_azure_sync-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "51767bde551c069465890b364179d763", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14789, "upload_time": "2024-02-15T23:23:40", "upload_time_iso_8601": "2024-02-15T23:23:40.451964Z", "url": "https://files.pythonhosted.org/packages/af/91/8f3635868f7b6768af6d526bfbef76b33eb020d8ee89aa31d061cdaea59c/rf_azure_sync-1.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "1755a2cdd819a17cf3a9a32e3d00ea3971b5ab55c2e31591c2d4782e1de8c923", "md5": "75e75940a6e7bb23e809a593524a05ba", "sha256": "c5ac8c34d6aa79b2fa62bfdb03e23e6571934f104318bf2a723b835b5a1eecdf" }, "downloads": -1, "filename": "rf_azure_sync-1.0.1.tar.gz", "has_sig": false, "md5_digest": "75e75940a6e7bb23e809a593524a05ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13324, "upload_time": "2024-02-15T23:23:42", "upload_time_iso_8601": "2024-02-15T23:23:42.179124Z", "url": "https://files.pythonhosted.org/packages/17/55/a2cdd819a17cf3a9a32e3d00ea3971b5ab55c2e31591c2d4782e1de8c923/rf_azure_sync-1.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "upload_time": "2024-02-15 23:23:42", "github": false, "gitlab": false, "bitbucket": false, "codeberg": false, "lcname": "rf-azure-sync" }