Analyzing the evolution of testing library usage in open source Java projects
Analyzing the evolution of testing library usage in open source Java projects
复制标题
分析开源 Java 项目中测试库使用的演变
DOI:
10.1109/saner.2017.7884645
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
T. Mens
中科院分区:
文献类型:
--
作者:
Ahmed Zerouali;T. Mens
Software development projects frequently rely on testing-related libraries to test the functionality of the software product automatically and efficiently. Many such libraries are available for Java, and developers face a hard time deciding which libraries are most appropriate for their project, or when to migrate to a competing library. We empirically analysed the usage of eight testing-related libraries in 4,532 open source Java projects hosted on GitHub. We studied how frequently specific (pairs of) libraries are used over time. We also identified if and when library usages are replaced by competing ones during a project's lifetime. We found that some libraries are considerably more popular than their competitors, while some libraries become more popular over time. We observed that many projects tend to use multiple libraries together. We also observed permanent and temporary migrations between competing libraries. These findings may pave the way for recommendation tools that allow project developers to choose the most appropriate library for their needs, and to be informed of better alternatives.