paper-with-me

Papers

Automated Support for Unit Test Generation: A Tutorial Book Chapter

2021-10-26 · Afonso Fontes, Gregory Gay, Francisco Gomes de Oliveira Neto, Robert Feldt

Unit testing is a stage of testing where the smallest segment of code that can be tested in isolation from the rest of the system - often a class - is tested. Unit tests are typically written as executable code, often in a format provided by a unit testing framework such as pytest for Python. Creating unit tests is a time and effort-intensive process with many repetitive, manual elements. To illustrate how AI can support unit testing, this chapter introduces the concept of search-based unit test generation. This technique frames the selection of test input as an optimization problem - we seek a set of test cases that meet some measurable goal of a tester - and unleashes powerful metaheuristic search algorithms to identify the best possible test cases within a restricted timeframe. This chapter introduces two algorithms that can generate pytest-formatted unit tests, tuned towards coverage of source code statements. The chapter concludes by discussing more advanced concepts and gives pointers to further reading for how artificial intelligence can support developers and testers when unit testing software.

📄 PDF Abstract BibTeX arXiv:2110.13575

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Test 설명 없음

Similar Papers 제목 키워드 기반

A Study on the Improvement of Code Generation Quality Using Large Language Models Leveraging Product Documentation

2025-03-22 · Takuro Morimoto, Harumi Haraguchi

Research on using Large Language Models (LLMs) in system development is expanding, especially in automated code and test generation. While E2E testing is vital for ensuring application quality, most test generation resea…

Code Generation

Text-to-Image Generative AI for Modeling and Simulation: Methods, Opportunities, and Applications

2026-06-18 · Philippe J. Giabbanelli arxiv

Text-to-image generation is a form of generative artificial intelligence (GenAI) that converts textual descriptions into images. Most applications of GenAI in modeling and simulation (M&S) have focused on large language …

Text-to-Image Generation

Level Up Your Tutorials: VLMs for Game Tutorials Quality Assessment

2024-08-15 · Daniele Rege Cambrin, Gabriele Scaffidi Militone, Luca Colomba, Giovanni Malnati 외

Designing effective game tutorials is crucial for a smooth learning curve for new players, especially in games with many rules and complex core mechanics. Evaluating the effectiveness of these tutorials usually requires …

LLMs for Automated Unit Test Generation and Assessment in Java: The AgoneTest Framework

2025-11-25 · Andrea Lops, Fedelucio Narducci, Azzurra Ragone, Michelantonio Trizio 외 arxiv

Unit testing is an essential but resource-intensive step in software development, ensuring individual code units function correctly. This paper introduces AgoneTest, an automated evaluation framework for Large Language M…

Prompt Engineering

Cedalion Tutorial: A Python-based framework for comprehensive analysis of multimodal fNIRS & DOT from the lab to the everyday world

2026-01-09 · E. Middell, L. Carlton, S. Moradi, T. Codina 외 arxiv

Functional near-infrared spectroscopy (fNIRS) and diffuse optical tomography (DOT) are rapidly evolving toward wearable, multimodal, and data-driven, AI-supported neuroimaging in the everyday world. However, current anal…

Image ReconstructionData Augmentation