arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2607.12223cs.SE

TestMiner:针对GitHub仓库的软件测试分析

TestMiner: Software Testing Analysis for GitHub Repositories

Andre Hora, José Miguel Rojas, Romain Robbes

首次发表
浏览论文内容

中文总结 AI 辅助

研究针对软件系统测试特性差异带来的理解困难,提出TestMiner工具,可提供项目测试实践概述。通过本科课程中50名学生使用该工具探索真实仓库测试实践,学生反馈良好,此为其主要贡献。

中文摘要 AI 辅助

软件系统具有独特的测试特性。一些项目注重单元测试,另一些则侧重于端到端测试。测试组织在不同生态系统中存在差异,如Python和Java项目测试通常置于专用文件夹,Go和Rust项目则常将测试与源代码共置。这使得理解项目的测试方式变得困难。本文介绍了TestMiner,一个用于探索GitHub仓库中软件测试的工具。它能提供项目测试实践的概述,包括测试统计、位置、跨版本测试指标及测试相关依赖。在本科软件测试课程中,50名学生使用该工具探索真实GitHub仓库的测试实践,学生反馈良好,能够批判性地探索多种测试实践。TestMiner的相关链接可通过给定的https网址获取。

英文摘要

Software systems have unique testing characteristics. Some projects can emphasize unit tests, while others may focus on end-to-end testing. Test organization may vary across ecosystems: in languages like Python and Java, tests are typically placed in dedicated folders, whereas Go and Rust projects commonly co-locate tests with source code. These distinctions make it harder to understand how a project approaches testing. In this paper, we present TestMiner, a tool for exploring software testing in GitHub repositories. TestMiner provides an overview of a project's testing practices, including test statistics, test location, test metrics across releases, and dependencies related to testing. We used TestMiner in an undergraduate Software Testing course, where 50 students explored the testing practices of real-world GitHub repositories. Overall, students expressed positive feedback regarding TestMiner. They were able to critically explore a variety of testing practices, including test organization, test evolution, test fixtures, mocking, and edge-case testing. TestMiner is available at: https://andrehora.github.io/testminer. Screencast: https://youtu.be/w1sBgLTq-7Y.

补充信息

↑