中文
相关论文

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

200 篇论文

Test Driven Development (TDD) is one of the major practices of Extreme Programming for which incremental testing and refactoring trigger the code development. TDD has limited adoption in the industry, as it requires more code to be…

软件工程 · 计算机科学 2025-01-15 Moritz Mock , Jorge Melegati , Barbara Russo

Writing and maintaining UI tests for mobile apps is a time-consuming and tedious task. While decades of research have produced automated approaches for UI test generation, these approaches typically focus on testing for crashes or…

In this paper we present a novel algorithm for automatic performance testing that uses an online variant of the Generative Adversarial Network (GAN) to optimize the test generation process. The objective of the proposed approach is to…

软件工程 · 计算机科学 2021-04-23 Ivan Porres , Hergys Rexha , Sébastien Lafond

Unit tests (UTs) play an instrumental role in assessing code correctness as well as providing feedback to large language models (LLMs), motivating automated test generation. However, we uncover a trade-off between generating unit test…

软件工程 · 计算机科学 2025-08-22 Archiki Prasad , Elias Stengel-Eskin , Justin Chih-Yao Chen , Zaid Khan , Mohit Bansal

Recently, generative AIs like ChatGPT have become available to the wide public. These tools can for instance be used by students to generate essays or whole theses. But how does a teacher know whether a text is written by a student or an…

计算与语言 · 计算机科学 2023-11-14 Lorenz Mindner , Tim Schlippe , Kristina Schaaff

Formal methods for verification of programs are extended to testing of programs. Their combination is intended to lead to benefits in reliable program development, testing, and evolution. Our geometric theory of testing is intended to serve…

软件工程 · 计算机科学 2022-06-07 Bernhard Moller , Tony Hoare , Zhe Hou , Jin Song Dong

Unit testing is a vital part of the software development process and involves developers writing code to verify or assert production code. Furthermore, to help comprehend the test case and troubleshoot issues, developers have the option to…

软件工程 · 计算机科学 2023-03-02 Taryn Takebayashi , Anthony Peruma , Mohamed Wiem Mkaouer , Christian D. Newman

Frequent modifications of unit test cases are inevitable due to software's continuous underlying changes in source code, design, and requirements. Since manually maintaining software test suites is tedious, timely, and costly, automating…

机器学习 · 计算机科学 2023-10-06 Mosab Rezaei , Hamed Alhoori , Mona Rahimi

Ensuring resource isolation at the hardware level is a crucial step towards more security inside the Internet of Things. Even though there is still no generally accepted technique to generate appropriate tests, it became clear that tests…

硬件体系结构 · 计算机科学 2024-03-28 Philippe Ledent , Radu Mateescu , Wendelin Serwe

Live testing is performed in the production environment ideally without causing unacceptable disturbance to the production traffic. Thus, test activities have to be orchestrated properly to avoid interferences with the production traffic. A…

软件工程 · 计算机科学 2025-11-13 Oussama Jebbar , Ferhat Khendek , Maria Toeroe

Fuzz Testing is a largely automated testing technique that provides random and unexpected input to a program in attempt to trigger failure conditions. Much of the research conducted thus far into Fuzz Testing has focused on developing…

软件工程 · 计算机科学 2019-07-30 Matthew Kelly , Christoph Treude , Alex Murray

Test bots are automated testing tools that autonomously and periodically run a set of test cases that check whether the system under test meets the requirements set forth by the customer. The automation decreases the amount of time a…

软件工程 · 计算机科学 2020-04-22 Linda Erlenhov , Francisco Gomes de Oliveira Neto , Martin Chukaleski , Samer Daknache

The prevalence of software systems has become an integral part of modern-day living. Software usage has increased significantly, leading to its growth in both size and complexity. Consequently, software development is becoming a more…

软件工程 · 计算机科学 2023-06-07 Tiago Dias , Arthur Batista , Eva Maia , Isabel Praça

Ensemble methods are powerful machine learning algorithms that combine multiple models to enhance prediction capabilities and reduce generalization errors. However, their potential to generate effective test cases for fault detection in a…

软件工程 · 计算机科学 2024-09-10 Sheikh Md. Mushfiqur Rahman , Nasir U. Eisty

The size and complexity of software applications is increasing at an accelerating pace. Source code repositories (along with their dependencies) require vast amounts of labor to keep them tested, maintained, and up to date. As the…

软件工程 · 计算机科学 2024-06-14 Ivan R. Ivanov , Joachim Meyer , Aiden Grossman , William S. Moses , Johannes Doerfert

In this paper, we present Coyote C++, a fully automated white-box unit testing tool for C and C++. Whereas existing tools have struggled to realize unit test generation for C++, Coyote C++ is able to produce high coverage results from unit…

编程语言 · 计算机科学 2024-01-05 Sanghoon Rho , Philipp Martens , Seungcheol Shin , Yeoneo Kim

Software testing is an essential part of the software lifecycle and requires a substantial amount of time and effort. It has been estimated that software developers spend close to 50% of their time on testing the code they write. For these…

软件工程 · 计算机科学 2020-02-20 Cody Watson , Michele Tufano , Kevin Moran , Gabriele Bavota , Denys Poshyvanyk

Property-based testing (PBT) is a technique for validating code against an executable specification by automatically generating test-data. We present a proof-theoretical reconstruction of this style of testing for relational specifications…

计算机科学中的逻辑 · 计算机科学 2025-01-22 Dale Miller , Alberto Momigliano

Automatic code generation is to generate the program code according to the given natural language description. The current mainstream approach uses neural networks to encode natural language descriptions, and output abstract syntax trees…

软件工程 · 计算机科学 2022-02-16 Maosheng Zhong , Gen Liu , Hongwei Li , Jiangling Kuang , Jinshan Zeng , Mingwen Wang

As an important way of assuring software quality, software testing generates and executes test cases to identify software failures. Many strategies have been proposed to guide test-case generation, such as source-code-based approaches and…

软件工程 · 计算机科学 2025-05-08 Zhenzhen Yang , Rubing Huang , Chenhui Cui , Nan Niu , Dave Towey