QAagent: A Multiagent System for Unit Test Generation via Natural Language Pseudocode (Student Abstract)

Abstract

Unit testing is essential for ensuring software quality, but it is often time-consuming and prone to developer oversight. With the rise of large language models (LLMs) in code generation, there is an increasing need for reliable and automated test generation systems. This work presents QAagent, a multi-agent system designed to generate unit tests using natural language pseudocode. QAagent leverages LLMs to create a detailed natural language plan of a function's implementation and then generates a comprehensive suite of test cases covering both base and edge scenarios. Experiments conducted on two widely-used benchmarks, HumanEval and MBPP, show that QAagent consistently outperforms existing frameworks in terms of code coverage, although its accuracy varies across datasets, demonstrating the potential for utilizing natural language pseudocode to to enhance automated test generation in LLM-driven coding environments.

Cite

Text

Deo. "QAagent: A Multiagent System for Unit Test Generation via Natural Language Pseudocode (Student Abstract)." AAAI Conference on Artificial Intelligence, 2025. doi:10.1609/AAAI.V39I28.35246

Markdown

[Deo. "QAagent: A Multiagent System for Unit Test Generation via Natural Language Pseudocode (Student Abstract)." AAAI Conference on Artificial Intelligence, 2025.](https://mlanthology.org/aaai/2025/deo2025aaai-qaagent/) doi:10.1609/AAAI.V39I28.35246

BibTeX

@inproceedings{deo2025aaai-qaagent,
  title     = {{QAagent: A Multiagent System for Unit Test Generation via Natural Language Pseudocode (Student Abstract)}},
  author    = {Deo, Akhil},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2025},
  pages     = {29345-29347},
  doi       = {10.1609/AAAI.V39I28.35246},
  url       = {https://mlanthology.org/aaai/2025/deo2025aaai-qaagent/}
}