Test agent for LLM-powered software testing
Top 53.9% on sourcepulse
Test-Agent is an open-source project aiming to integrate Large Language Models (LLMs) into software testing workflows, targeting quality assurance engineers and developers. It provides specialized LLM capabilities for test case generation and assertion completion, enhancing test suite quality and efficiency.
How It Works
Test-Agent leverages a fine-tuned LLM, TestGPT-7B, built upon CodeLlama-7B. This model is specifically trained for tasks like multi-language test case generation (Java, Python, JavaScript) and automatic assertion completion for existing test cases. The project also includes an engineering framework for rapid local deployment and interaction via a ChatBot interface, prioritizing data privacy and local execution.
Quick Start & Requirements
cd
into it, and run pip install -r requirements.txt
.mps
), Intel XPU (xpu
), Huawei NPU (npu
), or CPU.python3 -m chat.server.controller
), model worker (python3 -m chat.server.model_worker --model-path models/TestGPT-7B --device mps
), and web service (python3 -m chat.server.gradio_testgpt
). Access the UI at http://0.0.0.0:7860
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project is actively under development, with plans for future language support and features. Performance metrics are provided for specific tasks and languages, and users should verify suitability for their specific testing needs.
1 year ago
1 week