Skip to main content

Extract test cases from your codebase and push them into Jira with a single command.

Project description

Atlassian AutoTestCase Manager

Brought to you by TMAN Consulting

   ___ ________   ___   ____  ___ ___________  __  ___
  / _ /_  __/ /  / _ | / __/ / _ /_  __/ ___/ /  |/  /__ ____  ___ ____ ____ ____
 / __ |/ / / /__/ __ |_\ \  / __ |/ / / /__  / /|_/ / _ `/ _ \/ _ `/ _ `/ -_) __/
/_/ |_/_/ /____/_/ |_/___/ /_/ |_/_/  \___/ /_/  /_/\_,_/_//_/\_,_/\_, /\__/_/
                                                                  /___/          

Seamlessly connect your test automation code with Jira (Xray, Zephyr Scale) — extract test cases from your codebase and push them into Jira with a single command.

org license author python pypi


🚀 Key Features

  • Auto-detect and parse test cases from Python (pytest, unittest), Java (JUnit-style), or Robot Framework scripts
  • Create or update corresponding test cases in Jira (Xray, Zephyr Scale)
  • Convert test functions and docstrings into structured test steps in Jira
  • Command-line interface (CLI) ready for CI/CD pipeline integration
  • Supports Git-based repositories, configurable via CLI flags or persistent auth file

🔧 Why Use This Tool?

  • Reduce manual overhead of copying test cases to Jira
  • Keep your test documentation and automation always in sync
  • Enhance traceability between code and Jira (Xray, Zephyr Scale) artifacts
  • Empower your QA/dev team to focus on testing, not on syncing

⚡️ Quick Start

🏗 Check preconditions

📦 Install atlas-atc-manager tool

pip install atlassian-auto-test-case-manager
atlas-atc-manager show-version

🧰 Usage

Available Commands

Usage: atlas-atc-manager [COMMAND] [OPTIONS]

Commands:
  show-version        display version info for this tool and your Python runtime
  show-variables      show all supported environment variables
  show-config         show config
  config-cred         set and save Jira credentials/config (project, token, etc.)
  sync-case           extract test cases from code and sync them to Jira (Xray, Zephyr Scale, etc.)

Use 'atlas-atc-manager <command> --help' for more info on a specific command.

sync-case

Usage: atlas-atc-manager extract-case --test-path <TEST_CODE_PATH> [options]

Options:
  --test-path <TEST_CODE_PATH>
                        Path to a test file or folder (supports .py, .java, .robot)
  --jira-plugin <xray>  Target test management tool on Jira : xray
  --jira-project <PROJECT_KEY>
                        Jira project key (e.g. "TEST")
  --jira-hosting <cloud|dc>
                        Jira hosting type (supports cloud, data-center) : cloud | dc
  --jira-site <URL>     Jira site URL (e.g. https://yourcompany.atlassian.net)
  --jira-user <USERNAME>
                        Specify the Jira username for authentication
  --jira-token <TOKEN>  Jira API token for authentication
  --xray-client-id <CLIENT_ID>
                        XRAY Cloud client id for authentication
  --xray-client-secret <CLIENT_SECRET>
                        XRAY Cloud client secret for authentication
  -h, --help            Show this help message and exit

🧪 Example

atlas-atc-manager extract-case \
  --test-path ./tests/ \
  --jira-plugin xray \
  --jira-project QA \
  --jira-hosting dc \
  --jira-site https://jira.mycompany.com \
  --jira-token xxxx-xxxx-xxxx

config-cred

Save frequently used configuration to a local file (~/.atlas_atc_manager/credential.conf), so you don’t need to pass everything each time.

atlas-atc-manager config-cred --platform xray --project QA --hosting dc --jira-site https://jira.company.com --jira-token xxxx

Re-run with --overwrite to update.


🛠 Supported Test Formats

Language Framework File Type Auto-detect?
Python pytest, unittest .py ✅ Yes
Java JUnit-style .java ✅ Yes
Robot Robot Framework .robot ✅ Yes

📌 Notes

  • Current version supports Xray for Jira Data Center and Xray for Jira Cloud.
  • The tool works best in Git-tracked repos, as it uses the repo name to organize test set paths.

🌍 License

Apache License 2.0

LICENSE


📒 Credits

Developed by Will Shi at TMAN Consulting Designed to help teams move faster by connecting code with Jira.


📚 References

XRAY

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

atlassian_auto_test_case_manager-0.2.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

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

atlassian_auto_test_case_manager-0.2-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file atlassian_auto_test_case_manager-0.2.tar.gz.

File metadata

File hashes

Hashes for atlassian_auto_test_case_manager-0.2.tar.gz
Algorithm Hash digest
SHA256 86ea9522e61374766a0a650731d8e0fad8574367d7e266dc3a4cd712cb853e41
MD5 05bbe36de3b38cd7e2fb5dfb0e659bb1
BLAKE2b-256 062331c92fe730603760e3eb6e3d74ee25014f8f84892201e63a8b6af599520b

See more details on using hashes here.

File details

Details for the file atlassian_auto_test_case_manager-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for atlassian_auto_test_case_manager-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 97c59c93ab9d0dfeb565f48c593469d33bb21697fde4bb2b20918ad5fa449299
MD5 53cc812f5942a70f5a339d44052ad78b
BLAKE2b-256 83fc5d3cbd182a758fd1d4517a9535f2e8b3a86e45a87a6954536c3c3154f26b

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