中文
相关论文

相关论文: Automated Support for Unit Test Generation: A Tuto…

200 篇论文

Proof-oriented programs mix computational content with proofs of program correctness. However, the human effort involved in programming and proving is still substantial, despite the use of Satisfiability Modulo Theories (SMT) solvers to…

Unit testing is an essential component of software testing, with the assert statements playing an important role in determining whether the tested function operates as expected. Although research has explored automated test case generation,…

软件工程 · 计算机科学 2024-08-01 Han Wang , Han Hu , Chunyang Chen , Burak Turhan

Unit testing plays a pivotal role in software development, improving software quality and reliability. However, generating effective test cases manually is time-consuming, prompting interest in unit testing research. Recently, Large…

软件工程 · 计算机科学 2024-12-24 Ye Shang , Quanjun Zhang , Chunrong Fang , Siqi Gu , Jianyi Zhou , Zhenyu Chen

Their highly adaptive nature and the combinatorial explosion of possible configurations makes testing context-oriented programs hard. We propose a methodology to automate the generation of test scenarios for developers of feature-based…

软件工程 · 计算机科学 2021-09-27 Pierre Martou , Kim Mens , Benoît Duhoux , Axel Legay

This paper investigates current software testing systems and explores how artificial intelligence, specifically Generative AI, can be integrated to enhance these systems. It begins by examining different types of AI systems and focuses on…

软件工程 · 计算机科学 2026-03-03 Tanish Singla , Qusay H. Mahmoud

Software testing is essential to ensure system quality, but it remains time-consuming and error-prone when performed manually. Although recent advances in Large Language Models (LLMs) have enabled automated test generation, most existing…

软件工程 · 计算机科学 2025-10-02 Elvis Júnior , Alan Valejo , Jorge Valverde-Rebaza , Vânia de Oliveira Neves

Software testing is a core discipline in software engineering where a large array of research results has been produced, notably in the area of automatic test generation. Because existing approaches produce test cases that either can be…

软件工程 · 计算机科学 2023-10-11 Laura Plein , Wendkûuni C. Ouédraogo , Jacques Klein , Tegawendé F. Bissyandé

Context: Machine learning (ML) may enable effective automated test generation. Objective: We characterize emerging research, examining testing practices, researcher goals, ML techniques applied, evaluation, and challenges. Methods: We…

软件工程 · 计算机科学 2023-04-18 Afonso Fontes , Gregory Gay

Unmanned aerial systems (UAS) rely on various avionics systems that are safety-critical and mission-critical. A major requirement of international safety standards is to perform rigorous system-level testing of avionics software systems.…

软件工程 · 计算机科学 2024-08-05 Hassan Sartaj , Asmar Muqeet , Muhammad Zohaib Iqbal , Muhammad Uzair Khan

In computer science education, test cases are an integral part of programming assignments since they can be used as assessment items to test students' programming knowledge and provide personalized feedback on student-written code. The goal…

计算与语言 · 计算机科学 2024-02-13 Nischal Ashok Kumar , Andrew Lan

Artificial Intelligence (AI) is making a significant impact in multiple areas like medical, military, industrial, domestic, law, arts as AI is capable to perform several roles such as managing smart factories, driving autonomous vehicles,…

软件工程 · 计算机科学 2022-01-17 Zubair Khaliq , Sheikh Umar Farooq , Dawood Ashraf Khan

Writing software tests is laborious and time-consuming. To address this, prior studies introduced various automated test-generation techniques. A well-explored research direction in this field is unit test generation, wherein artificial…

Automated software testing involves the execution of test scripts by a machine instead of being manually run. This significantly reduces the amount of manual time & effort needed and thus is of great interest to the software testing…

软件工程 · 计算机科学 2018-09-26 Anurag Dwarakanath , Neville Dubash , Sanjay Podder

In this paper, we propose to use production executions to improve the quality of testing for certain methods of interest for developers. These methods can be methods that are not covered by the existing test suite, or methods that are…

软件工程 · 计算机科学 2021-09-10 Deepika Tiwari , Long Zhang , Martin Monperrus , Benoit Baudry

Context: The rise of Artificial Intelligence (AI) in software engineering has led to the development of AI-powered test automation tools, promising improved efficiency, reduced maintenance effort, and enhanced defect-detection. However, a…

Software defects heavily affect software's functionalities and may cause huge losses. Recently, many AI-based approaches have been proposed to detect defects, which can be divided into two categories: software defect prediction and…

软件工程 · 计算机科学 2024-12-03 Xin Yin , Chao Ni , Xiaodan Xu , Xiaohu Yang

Unit tests play a key role in ensuring the correctness of software. However, manually creating unit tests is a laborious task, motivating the need for automation. Large Language Models (LLMs) have recently been applied to this problem,…

软件工程 · 计算机科学 2023-12-12 Max Schäfer , Sarah Nadi , Aryaz Eghbali , Frank Tip

Unit tests are an important artifact that supports the software development process in several ways. For example, when a test fails, its name can provide the first step towards understanding the purpose of the test. Unfortunately, unit…

软件工程 · 计算机科学 2020-05-20 Jianwei Wu , James Clause

We describe a novel approach to automating unit test generation for Java methods using large language models (LLMs). Existing LLM-based approaches rely on sample usage(s) of the method to test (focal method) and/or provide the entire class…

Learning basic programming with Scratch can be hard for novices and tutors alike: Students may not know how to advance when solving a task, teachers may face classrooms with many raised hands at a time, and the problem is exacerbated when…

软件工程 · 计算机科学 2021-05-13 Florian Obermüller , Ute Heuer , Gordon Fraser