How rajabharathit/ai_testcase_generator works
This is a Streamlit Jira test-case generator: users select Jira work, generate AI-assisted test cases using similar stored work as context, review them, and retain test data for traceability. Separate import workflows bring existing story and Xray test data into ChromaDB; a viewer supports inspecting and deleting stored records. The graph preserves these distinct capabilities and the Jira, Xray, and Azure OpenAI integrations. Evidence is limited to the provided excerpts and source index; uncertain runtime links are dashed.
Main entry points: jira_service.py Jira service · app.py Streamlit app · xray_client.py Xray client · ai_workflow.py AI workflow
Components 14
User interface
- Streamlit app
app.py - Storage viewer
pages/ChromaDB_Viewer.py
Test workflows
- AI workflow
ai_workflow.py - AI test generator
ai_test_generator.py - Story import
story_import_workflow.py - Epic bulk import
epic_bulk_import.py
Integration services
- Jira service
jira_service.py - Xray client
xray_client.py - Configuration
config.py
Context and storage
- ChromaDB storage
chroma_storage.py
Other components
- Tester
- Jira Cloud
- Xray Cloud
- Azure OpenAI
Connections 24
- Tester → Streamlit app: uses
- Tester → Storage viewer: inspects data
pages/ChromaDB_Viewer.py - Streamlit app → AI workflow: starts generation
app.py - AI workflow → Jira service: fetches story
ai_workflow.py - AI workflow → ChromaDB storage: searches context
ai_workflow.py - AI workflow → AI test generator: requests drafts
ai_workflow.py - AI test generator → Azure OpenAI: generates drafts
- AI workflow → ChromaDB storage: stores results
ai_workflow.py - Streamlit app → Story import: starts import
app.py - Story import → Jira service: fetches story
story_import_workflow.py - Story import → Xray client: fetches tests
story_import_workflow.py - Story import → ChromaDB storage: stores imported data
story_import_workflow.py - Streamlit app → Epic bulk import: starts bulk import
app.py - Epic bulk import → Jira service: retrieves stories
epic_bulk_import.py - Epic bulk import → Xray client: retrieves tests
epic_bulk_import.py - Epic bulk import → ChromaDB storage: records import
epic_bulk_import.py - Streamlit app → Jira service: uses Jira service
app.py - Streamlit app → Xray client: uses Xray client
app.py - Jira service → Jira Cloud: calls REST API
jira_service.py - Xray client → Xray Cloud: calls GraphQL API
xray_client.py - Xray client → Jira service: resolves issue
xray_client.py - Jira service → Configuration: reads settings
jira_service.py - Xray client → Configuration: reads settings
xray_client.py - Storage viewer → ChromaDB storage: reads and deletes
pages/ChromaDB_Viewer.py