Abstract
AbstractAutomatically generating test cases for software has been an active research topic for many years. While current tools can generate powerful regression or crash-reproducing test cases, these are often kept separately from the maintained test suite. In this paper, we leverage the developer’s familiarity with test cases amplified from existing, manually written developer tests. Starting from issues reported by developers in previous studies, we investigate what aspects are important to design a developer-centric test amplification approach, that provides test cases that are taken over by developers into their test suite. We conduct 16 semi-structured interviews with software developers supported by our prototypical designs of a developer-centric test amplification approach and a corresponding test exploration tool. We extend the test amplification tool DSpot, generating test cases that are easier to understand. Our IntelliJ plugin TestCube"Image missing"
empowers developers to explore amplified test cases from their familiar environment. From our interviews, we gather 52 observations that we summarize into 23 result categories and give two key recommendations on how future tool designers can make their tools better suited for developer-centric test amplification.
Funder
Nederlandse Organisatie voor Wetenschappelijk Onderzoek
Publisher
Springer Science and Business Media LLC
Cited by
13 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Shaken, Not Stirred: How Developers Like Their Amplified Tests;IEEE Transactions on Software Engineering;2024-05
2. Mind the Gap: What Working With Developers on Fuzz Tests Taught Us About Coverage Gaps;Proceedings of the 46th International Conference on Software Engineering: Software Engineering in Practice;2024-04-14
3. Understandable Test Generation Through Capture/Replay and LLMs;Proceedings of the 2024 IEEE/ACM 46th International Conference on Software Engineering: Companion Proceedings;2024-04-14
4. Exploring the Connection between the TDD Practice and Test Smells—A Systematic Literature Review;Computers;2024-03-18
5. When to Let the Developer Guide: Trade-offs Between Open and Guided Test Amplification;2023 IEEE 23rd International Working Conference on Source Code Analysis and Manipulation (SCAM);2023-10-02