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.)
  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

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.1.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.

File details

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

File metadata

File hashes

Hashes for atlassian_auto_test_case_manager-0.2.1.tar.gz
Algorithm Hash digest
SHA256 39caaa33219a912cb79681c17136a102342476005bc5dc3b5a1b7652841d1f95
MD5 2ae7a7ad6289dae7f2ab35e9b2e01fa0
BLAKE2b-256 4128486376c5b74577102c4040ee6331aefbdb7efc65cb781aae869a8fcc5924

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for atlassian_auto_test_case_manager-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d28e5d68f32d9d1a78eef481efde52cc629dec895430ef050574c76b3813e550
MD5 a6995f42c87f353d8cfa0f34877f48b2
BLAKE2b-256 dd658aa07e22cd7210e51944940329485e8f37f05155ae33dfae430b5f9a7b5c

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