arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.23142cs.SE
收藏

语言模型能否通过软件测试认证考试?一项案例研究

Can Language Models Pass Software Testing Certification Exams? a case study

Luxembourg Institute of Science and Technology (LIST)(卢森堡科学与技术研究所);University of Luxembourg(卢森堡大学)

Fitash Ul Haq, Jordi Cabot

AI总结:

研究评估了60种语言模型在ISTQB认证考试中的表现,探讨LLM在软件测试任务中的能力及考试设计改进建议。

摘要:

大型语言模型(LLMs)在学术研究和广泛应用中扮演关键角色。LLMs越来越多地用于软件测试活动,如测试用例生成、选择和修复。然而,仍存在几个重要问题:(1)LLMs是否具备足够的软件测试原理知识以有效执行软件测试任务?(2)LLMs是否具备足够的软件测试概念理解,以在元变换下回答软件测试问题?(3)软件测试问题的某些属性是否影响LLMs的表现?为回答这些问题,本研究评估了60种多模态语言模型,使用ISTQB的30种不同类型的样本考试(核心基础、核心高级、专业和专家)来评估人类测试人员的能力。总计每个模型评估了1,171个问题。此外,为了确保足够的概念理解,模型还被测试了使用上下文保持元变换技术转换的考试问题。两个模型通过了所有认证,得分在所有30个认证考试中均达到65%以上,商业模型通常优于开源模型。我们分析了错误答案的原因,并提供了改进软件测试认证考试设计的建议。

英文摘要:

Large Language Models (LLMs) play a pivotal role in both academic research and broader societal applications. LLMs are increasingly used in software testing activities such as test case generation, selection, and repair. However, several important questions remain: (1) do LLMs possess enough information about software testing principles to perform software testing tasks effectively? (2) do LLMs possess sufficient conceptual understanding of software testing to answer software testing questions under metamorphic transformations? and (3) do certain properties of software testing questions influence the performance of LLMs? To answer these questions, this study evaluates 60 multimodal language models from both commercial vendors and the open-source community. The evaluation is performed using 30 sample exams of different types (core foundation, core advanced, specialist, and expert) from the International Software Testing Qualifications Board (ISTQB), which are used to assess the competence of human testers. In total, each model is evaluated on 1,171 questions. Furthermore, to ensure sufficient conceptual understanding, the models are also tested on exam questions transformed using context-preserving metamorphic techniques. Two models passed all the certifications by scoring at least 65% in all of the 30 certification exams, with commercial models generally outperforming open-source ones. We analyze the reasons behind incorrect answers and provide recommendations for improving the design of software testing certification exams.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑