{"id":22116146,"url":"https://github.com/blacksujit/testcraftai","last_synced_at":"2025-07-21T20:32:30.705Z","repository":{"id":256370271,"uuid":"854585048","full_name":"Blacksujit/TestCraftAI","owner":"Blacksujit","description":"This project provides a web-based interface to generate test instructions using Visual Question Answering (VQA). Upload screenshots or images, provide an optional context, and let the model do the rest!","archived":false,"fork":false,"pushed_at":"2024-10-26T18:46:44.000Z","size":197,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-26T20:35:54.046Z","etag":null,"topics":["llm","llmtuner","multimodel","task-runner","test-automation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Blacksujit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-09T12:43:14.000Z","updated_at":"2024-10-26T18:46:48.000Z","dependencies_parsed_at":"2024-10-26T20:35:55.740Z","dependency_job_id":null,"html_url":"https://github.com/Blacksujit/TestCraftAI","commit_stats":null,"previous_names":["blacksujit/multimodel_llm_tool","blacksujit/testcraftai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blacksujit%2FTestCraftAI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blacksujit%2FTestCraftAI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blacksujit%2FTestCraftAI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blacksujit%2FTestCraftAI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Blacksujit","download_url":"https://codeload.github.com/Blacksujit/TestCraftAI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245216275,"owners_count":20579134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["llm","llmtuner","multimodel","task-runner","test-automation"],"created_at":"2024-12-01T12:19:33.083Z","updated_at":"2025-03-24T05:30:38.151Z","avatar_url":"https://github.com/Blacksujit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧪 TestCraftAI\n\n\n## Automated Test Instruction Generator 🌟\n\n\n### Empowering test automation with AI 🌟\n\n\n![Python](https://img.shields.io/badge/Python-3.11-blue?style=flat-square\u0026logo=python) ![Flask](https://img.shields.io/badge/Flask-2.3.2-green?style=flat-square\u0026logo=flask) ![Hugging Face](https://img.shields.io/badge/Hugging%20Face-Transformers-orange?style=flat-square\u0026logo=hugging-face)\n\n### Problem statement :\n\nGenerate automated test instructions for your software or application features using images and optional context with the power of Hugging Face's ViLT model!\n\n## 📋 Project Overview\n\nThis project provides a web-based interface to generate test instructions using Visual Question Answering (VQA). Upload screenshots or images, provide an optional context, and let the model do the rest!\n\n## 🚀 Features\n\n- **Visual Question Answering:** Automatically generate test instructions based on uploaded images.\n- **Context-Aware:** Include optional text context to refine the instructions.\n- **Dynamic Interface:** Simple and user-friendly web interface for easy interaction.\n- **Scalable:** Easily extendable with more models or features.\n\n## 🏗️ Project Structure\n\n``` \n\n├── app/\n│   ├── app.py                  # Main Flask application\n│   ├── uploads/                # Directory for uploaded images\n│   └── utils/\n│       └── llm.py              # LLM utilities (model inference functions)\n├── templates/\n│   └── index.html              # HTML template for the web form\n├── static/\n│   └── css/\n│       └── styles.css          # Custom CSS for styling\n├── README.md                   # Project documentation\n├── requirements.txt            # Python dependencies\n└── .gitignore                  # Files and directories to ignore in Git\n\n```\n\n# Project View :\n\n\n![image](https://github.com/user-attachments/assets/0f00eb25-11db-4748-a1f1-133e96f82862)\n\n\n\n## ⚙️ Setup Instructions:\n\n### Prerequisites:\n\n1.) Python 3.7+: Ensure you have Python installed.\n\n2.) Pip: Make sure pip is installed to manage dependencies.\n\n## Installation:\n\n1. Clone the Repository:\n\n```\ngit clone https://github.com/Blacksujit/TestCraftAI.git\n```\n\n```\n\ncd app\n```\n\n2. Create a Virtual Environment:\n\n```\npython -m venv venv\n```\n\n```\n\nOn Windows: venv\\Scripts\\activate\n\n```\n\n3. Install Dependencies:\n\n```\npip install -r requirements.txt\n \n```\n\n4. Download the Model:\n\n```\ntransformers-cli download dandelin/vilt-b32-finetuned-vqa\n\n```\n\n5. Run the Application:\n\n\n```\npython app.py\n```\n\n6. Access the Application:\n\nOpen your web browser and go to: http://127.0.0.1:5000\n\n\n## 🖥️ Usage:\n\n1.) Upload Images: Click on the upload button and select the images/screenshots you want to use for generating test instructions.\n\n2.) Add Context: (Optional) Provide context to make the instructions more specific.\n\n3.) Generate Instructions: Click the \"Generate\" button to receive your test instructions.\n \n## 🛠️ Development:\n\nFeel free to contribute by forking the repository, making changes, and submitting a pull request!\n\n## To Do:\n \n1.) Add support for multiple languages.\n\n2.) Integrate more advanced models.\n\n3.) Improve UI/UX for better interaction.\n\n## 📝 Contributing:\n\nContributions are welcome! Please read the CONTRIBUTING.md for more details.\n\n## 📜 License:\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## 🙏 Acknowledgements:\n\n1.) **Hugging Face for the ViLT model**.\n\n2.) **Flask for providing the web framework.**\n\n3.) **Community contributors for their continuous support.**\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacksujit%2Ftestcraftai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblacksujit%2Ftestcraftai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacksujit%2Ftestcraftai/lists"}