arXiv:2508.16025cs.SEcs.AI2025-08被引 2

用AI把需求自动转成测试用例,还能自我优化,提升检测效率。

Breaking Barriers in Software Testing: The Power of AI-Driven Automation

  • 通过NLP和强化学习将自然语言需求转为可执行测试
  • 缺陷检测率提升,测试耗时减少,发布周期更快
  • 适合需要快速迭代的复杂系统开发团队

软件测试对保障可靠性至关重要,但传统方法效率低、成本高且覆盖不全。本文提出一种基于AI的自动化框架,结合自然语言处理(NLP)、强化学习(RL)与预测模型,嵌入策略驱动的信任与公平性模型,将自然语言需求自动转化为可执行测试,通过持续学习优化测试用例,并利用实时分析验证结果,有效缓解偏见问题。案例研究显示,该方法显著提升缺陷检测能力,降低测试工作量,缩短发布周期。框架解决了集成与可扩展性挑战,推动测试从被动人工流程转向主动自适应体系,显著增强复杂环境下的软件质量。

原文摘要 · Abstract (English)

Software testing remains critical for ensuring reliability, yet traditional approaches are slow, costly, and prone to gaps in coverage. This paper presents an AI-driven framework that automates test case generation and validation using natural language processing (NLP), reinforcement learning (RL), and predictive models, embedded within a policy-driven trust and fairness model. The approach translates natural language requirements into executable tests, continuously optimizes them through learning, and validates outcomes with real-time analysis while mitigating bias. Case studies demonstrate measurable gains in defect detection, reduced testing effort, and faster release cycles, showing that AI-enhanced testing improves both efficiency and reliability. By addressing integration and scalability challenges, the framework illustrates how AI can shift testing from a reactive, manual process to a proactive, adaptive system that strengthens software quality in increasingly complex environments.

AI测试自动化NLP

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。