Skip to main content

Atlassian AutoTestCase Manager (atlas-atc-manager)

org license author python pypi Star on GitHub

Extract test cases from automation code and sync them to Jira Xray — without manual copy-pasting!


This open-source CLI tool is developed and maintained by Will Shi @ TMAN Consulting, with the goal of bridging the gap between automated test code and Jira-based test management.

It helps QA and DevOps engineers extract test cases directly from Python, Java, or Robot Framework code and auto-create structured test cases in Jira Xray (both Cloud and Data Center editions).


🚀 What's Next: TMAN AutoTestCase Extractor (Jira Cloud Plugin)

We’re building a native Jira Cloud plugin, based on this CLI engine but designed for remote Git repositories, no local installation, and seamless integration with GitHub / GitLab / Bitbucket via API.

🎯 No installation. No CLI. Just connect your repo and sync test cases — all inside Jira.

🔔 Sign up for early access: Google Forms


⭐ Love this tool?

If you find this project helpful:

  • 🌟 Please star the repo to support further development
  • 👀 Follow the repo or enable “Watch” to get notified about major updates
  • 🧪 Try it in your test projects and open issues/feedback
  • 📢 Share it with your team or in your community

Your encouragement helps this project (and the upcoming plugin) grow stronger 💪


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

✨ Key Features

  • ✅ Auto-detect and parse test cases from Python (pytest, unittest), Java (JUnit-style), or Robot Framework files
  • ✅ Create or update corresponding test cases in Jira (Xray) Cloud or Data Center
  • ✅ Add source code or docstrings as structured test steps
  • ✅ CLI-based, easy to integrate into CI/CD pipelines
  • ✅ Configurable via command-line arguments or persistent credential 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 artifacts
  • Empower your QA/dev team to focus on testing, not on syncing

🎯 Roadmap

Feature CLI (atlas-atc-manager) Jira Cloud Plugin (TMAN AutoTestCase Extractor)
Local test code parsing ✅ Supported 🚫 Not applicable
Remote Git integration 🚫 ✅ GitHub / GitLab / Bitbucket
UI-based management 🚫 ✅ Jira-native interface
OAuth/token authentication 🚫 ✅ Planned
Incremental sync 🚫 ✅ Planned
CI/CD integration ✅ CLI-friendly ✅ Native webhook support

We aim to support teams who want:

  • Traceability from test code to Jira
  • No manual duplication of test cases
  • Scalable test management for QA + DevOps

⚡️ 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.)
  extract-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.

extract-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 --jira-plugin xray --jira-project QA --jira-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

Metadata

Release files for atlassian-auto-test-case-manager 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for atlassian-auto-test-case-manager 0.2.2
File Size Uploaded Provenance
atlassian_auto_test_case_manager-0.2.2.tar.gz 22.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for atlassian-auto-test-case-manager 0.2.2
File Interpreter ABI Platform
atlassian_auto_test_case_manager-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 46.2 kB

Release files / atlassian_auto_test_case_manager-0.2.2.tar.gz

Download URL atlassian_auto_test_case_manager-0.2.2.tar.gz
Size 22.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e9494504224180b7eaa93f2c04d0824e2abfda37c6406edf0c2fd53ce5464014
BLAKE2b-256 checksum
How to use checksums
8855fc7db6d9a5104288f5eea76a97170312e2e69e471b5242ba66fbfc42e58e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / atlassian_auto_test_case_manager-0.2.2-py3-none-any.whl

Download URL atlassian_auto_test_case_manager-0.2.2-py3-none-any.whl
Size 23.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9c672e0db164800468bd92dd88c8242372ea7a481b5f2a30c8fc1555a4e3dbc
BLAKE2b-256 checksum
How to use checksums
ee996923a289d6bf2314c80c230b218f19bce16fb1bc3eff6044e47c74378499
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Security for atlassian-auto-test-case-manager 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page