ai-testcase-generator
AI-driven CLI toolkit that generates and manages Jira Zephyr Scale test cases using HuggingFace/Ollama — generate, import, update, link, and report.
Install / Use
claude mcp add VenkateshDoijode -- npx -y github:VenkateshDoijode/ai-testcase-generatorIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AI & Machine LearningSupported Platforms
Our assessment of ai-testcase-generator
ai-testcase-generator scores 77/100 on our quality scale, 811th of 933 AI & Machine Learning skills we index.
Its MCP Server is 9.9 KB long, well organised into 29 sections with 19 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 5 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 78/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
ai-testcase-generator compared with similar skills
All 4 of these similar skills score higher than ai-testcase-generator; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| ai-testcase-generator (this skill)by VenkateshDoijode | 77 | 3 | 5mo ago | MCP Server |
| claude-memby thedotmack | 100 | 110.9k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 108.1k | 2d ago | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 90.0k | 8d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.7k | today | CLAUDE.md |
Frequently asked questions
- How do I install ai-testcase-generator?
- Run
claude mcp add VenkateshDoijode -- npx -y github:VenkateshDoijode/ai-testcase-generator. The install tabs above show the steps for each supported agent. - Which AI agents does ai-testcase-generator work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is ai-testcase-generator safe to use?
- It declares no license and scores 78/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is ai-testcase-generator still maintained?
- The repository was last updated about 5 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHub🧪 AITestCaseGen
AI-powered test case management toolkit for Jira Zephyr Scale
Generate, import, update, link, and report on test cases — fully automated, with or without cloud AI.
</div>🚀 Why AITestCaseGen?
Writing test cases manually from requirements is one of the biggest time sinks in QA. AITestCaseGen reads your requirements — from Jira, Confluence, documents, or plain text — and generates structured positive, negative, and edge-case test cases, then pushes them directly into Zephyr Scale.
It's not just a generator. It's a full test case lifecycle CLI:
| | | |---|---| | 🧠 Generate | Create test cases from Jira issues, Confluence pages, docs, or text | | 📥 Import | Push generated cases directly into Zephyr Scale | | ✏️ Update | Bulk-edit existing test cases | | 🔗 Link | Connect test cases to Jira issues | | 🗑️ Delete | Remove test cases (with dry-run safety) | | 📤 Export | Pull existing cases out of Zephyr | | 🔄 Test Cycles | Update execution results in bulk |
🤖 AI Engine Priority
The script automatically picks the best available engine — zero config required:
| Priority | Engine | Condition |
|---|---|---|
| 1 | HuggingFace | transformers installed + model downloadable |
| 2 | Ollama | Ollama installed and running locally |
| 3 | Rule-based | Always works — no AI needed |
This means the tool never hard-fails — even with no internet, no API key, and no GPU.
✨ Why This Is Different
Most "AI test case generator" tools are tightly coupled to a single cloud provider — if your API key expires or your org blocks external LLM calls, the tool stops working entirely. AITestCaseGen is built around graceful degradation:
- No hard dependency on a paid API — HuggingFace models run via your Artifactory mirror or locally, Ollama runs fully offline, and the rule-based engine guarantees the script keeps working even with zero AI infrastructure.
- Enterprise-friendly by default — designed for locked-down environments with no access to OpenAI/Anthropic APIs; works fully air-gapped.
- End-to-end lifecycle, not just generation — generates and imports, updates, deletes, links, exports, and updates test cycle executions directly via the Zephyr Scale REST API.
- Multi-source input — Jira issues, Confluence pages, document folders (
.docx/.pdf/.txt), or raw text all feed the same pipeline.
📊 Comparison with Similar Approaches
| Capability | AITestCaseGen | ChatGPT / Copy-Paste | Commercial Zephyr AI Add-ons | |---|---|---|---| | Works offline / air-gapped | ✅ Ollama or local model | ❌ Cloud API required | ❌ Usually cloud-only | | No paid API key required | ✅ Rule-based fallback | ❌ Subscription needed | ❌ License cost | | Direct Zephyr Scale integration | ✅ Full API pipeline | ❌ Manual copy-paste | ✅ Vendor UI only | | Multi-source input | ✅ Jira, Confluence, docs, text | ⚠️ One source at a time | ⚠️ Often limited | | Bulk test cycle updates | ✅ CSV/Excel bulk update | ❌ Not supported | ⚠️ Vendor-dependent | | Open source & customizable | ✅ Edit anything | N/A | ❌ Closed source | | CI/CD friendly | ✅ Pure CLI | ❌ Manual workflow | ⚠️ Varies | | Cost | Free | Subscription | License/subscription |
The core differentiator: AI generation is just one stage of a connected pipeline — generation, Jira/Zephyr sync, and execution reporting all flow together instead of ending at "here's some text, paste it yourself."
📁 Project Structure
AITestCaseGen/
├── resources/
│ ├── config.ini # Jira credentials and settings
│ ├── import_test_case.xlsx # Input for import / output of AI generator
│ ├── update_test_case.xlsx # Input for update script
│ ├── delete_Test_case.xlsx # Input for delete script
│ └── update_test_cycle.xlsx # Input for test cycle update
├── src/
│ ├── main/
│ │ ├── config.py # Reads config.ini
│ │ └── jira_client.py # Jira / Zephyr Scale REST API client
│ └── test/
│ ├── generate_tc_via_AI.py # AI test case generator
│ ├── import_testcases.py # Import test cases to Zephyr Scale
│ ├── update_testcases.py # Update existing test cases
│ ├── delete_testcases.py # Delete test cases
│ ├── link_testcases_to_jira.py # Link test cases to Jira issues
│ ├── export_test_cases.py # Export test cases from Zephyr
│ ├── project_info.py # Display Jira project information
│ ├── update_test_cycle.py # Update test cycle execution results
│ └── create_excel_templates.py # Generate blank Excel input templates
└── requirements.txt
⚙️ Prerequisites
- Python 3.10+
- Install dependencies:
pip3 install -r requirements.txt
pip3 install transformers accelerate huggingface_hub
🔧 Configuration
Edit resources/config.ini:
[jira]
base_url = https://your-jira-instance.com
jira_token = YOUR_JIRA_PAT_TOKEN
project_key = YOUR_PROJECT_KEY
project_id = YOUR_PROJECT_ID
[testcase]
owner_account_id = YOUR_ACCOUNT_ID
test_cycle = YOUR_CYCLE_KEY
[ai]
hf_token = YOUR_HUGGINGFACE_API_TOKEN
hf_endpoint = https://your-artifactory-host/artifactory/api/huggingfaceml/huggingface
[defaults]
type_of_test = Regression Test
automation_status = Manual
🔒
config.iniis in.gitignore— credentials are never committed to git.
🧩 Setup — HuggingFace (Primary)
Step 1 — Install dependencies
pip3 install transformers accelerate huggingface_hub
Step 2 — Configure HuggingFace Token
- Get your HuggingFace or Artifactory identity token
- Add it to
resources/config.ini:
[ai]
hf_token = your-artifactory-identity-token
Step 3 — First Run (model download ~300MB)
The model downloads automatically on first run from your configured hf_endpoint.
Default model: google/flan-t5-base
| Model | Size | Speed |
|---|---|---|
| google/flan-t5-small | ~80MB | Fastest |
| google/flan-t5-base | ~300MB | Default |
| google/flan-t5-large | ~800MB | Most accurate |
🦙 Setup — Ollama (Optional Fallback)
If HuggingFace is unavailable, install Ollama for fully local AI generation:
- Download: https://ollama.com/download/windows
- Run
OllamaSetup.exe - Pull a model:
ollama pull llama3.2
No code changes needed — the script detects Ollama automatically.
📝 Generating Test Cases
From a folder of documents (.docx / .pdf / .txt)
python -m test.generate_tc_via_AI --input-folder "C:\path\to\docs" --folder "/Generated" --count 10
From a Jira issue key
python -m test.generate_tc_via_AI --issue PROJECT-1234 --folder "/Generated" --count 5
From a Jira issue + documents folder (combined)
python -m test.generate_tc_via_AI --issue PROJECT-1234 --input-folder "C:\path\to\docs" --folder "/Generated" --count 10
From a single file
python -m test.generate_tc_via_AI --file resources/requirements.txt --folder "/Generated"
From a Confluence page
python -m test.generate_tc_via_AI --confluence 123456789 --folder "/Generated" --count 10
Pass the page ID (numeric) or the full page URL:
python -m test.generate_tc_via_AI --confluence "https://your-jira.com/wiki/spaces/PROJECT/pages/123456789" --count 10
Multiple pages (comma-separated):
python -m test.generate_tc_via_AI --confluence "123456789,987654321" --folder "/Generated"
How to get the Confluence page ID: Open the page → click
...(More actions) → Page Information → ID is in the URL:.../pages/<pageId>/...
From inline text
python -m test.generate_tc_via_AI --text "User should be able to login with valid credentials" --count 5
All CLI Options
| Argument | Description | Default |
|---|---|---|
| --issue | Jira issue key (e.g. PROJECT-1234) | — |
| --input-folder | Folder containing .docx / .pdf / .txt files | — |
| --file | Single requirements file path | — |
| --text | Inline requirement text | — |
| --confluence | Confluence page ID or URL (comma-separated) | — |
| --model | HuggingFace or Ollama model name | google/flan-t5-base |
| --count | Number of test cases to generate per source | 5 |
| --folder | Zephyr Scale folder path | /Generated |
| --output | Output .xlsx file path | resources/import_test_case.xlsx |
📤 Import Generated Test Cases to Jira
python -m test.import_testcases --file ..\resources\import_test_case.xlsx
🛠️ Other Scripts
Update existing test cases
python -m test.update_testcases --file ..\resources\update_test_case.xlsx
Delete test cases — dry run first, then live
python -m test.delete_testcases --file ..\resources\delete_Test_case.xlsx --dry-run
python -m test.delete_testcases --file ..\resources\delete_Test_case.xlsx
Link test cases to a Jira issue
python -m test.link_testcases_to_jira --file ..\resources\update_test_case.xlsx
Update test cycle execution results
python -m test.update_test_cycle --file ..\resources\update_test_cycle.xlsx
🤝 Contributing
Issues, feature requests, and PRs are welcome. If AITestCaseGen saves you time, consider giving it a ⭐ — it helps others discover the project.
📜 License
MIT License — see LICENSE for details.
Related Skills
claude-mem
110.9kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
108.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Understand-Anything
90.0kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
78.7kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
