GReaTest: Growing Readable Software Tests
GReaTest: Growing Readable Software Tests
批准号:
EP/N023978/1
负责人:
Gordon Fraser
金额:
$65.86万
依托单位:
依托单位国家:
英国
项目类别:
Research Grant
财政年份:
2016
资助国家:
英国
项目状态:
已结题
起止时间:
2016 至 --
中文摘要
点击翻译按钮获取中文摘要
英文摘要
Testing is a crucial part of any software development process. Testing is also very expensive: Common estimations list the effort of software testing at 50% of the average budget. Recent studies suggest that 77% of the time that software developers spend with testing is used for reading tests. Tests are read when they are generated, when they are updated, fixed, or refactored, when they serve as API usage examples and specification, or during debugging. Reading and understanding tests can be challenging, and evidence suggests that, despite the popularity of unit testing frameworks and test-driven development, the majority of software developers do not practice testing actively. Automatically generated tests tend to be particularly unreadable, severely inhibiting the widespread use of automated test generation in practice. The effects of insufficient testing can be dramatic, with large economic damage, and the potential to harm people relying on software in safety critical applications.Our proposed solution to address this problem is to improve the effectiveness and efficiency of testing by improving the readability of tests. We will investigate which syntactic and semantic aspects make tests readable, such that we can make readability measurable by modelling it. This, in turn, will allow us to provide techniques that guide manual or automatic improvement of the readability of software tests. This is made possible by a unique combination of machine learning, crowd sourcing, and search-based testing techniques. The GReaTest project will provide tools to developers that help them to identify readability problems, to automatically improve readability, and to automatically generate readability optimised test suites. The importance of readability and the usefulness of readability improvement will be evaluated with a range of empirical studies in conjunction with our industrial collaborators Microsoft, Google, and Barclays, investigating the relation of test readability to fault finding effectiveness, developer productivity, and software quality.Automated analysis and optimisation of test readability is novel, and traditional analyses only focused on easily measurable program aspects, such as code coverage. Improving readability of software tests has a direct impact on industry, where testing is a major economic and technical factor: More readable tests will reduce the costs of testing and increase effectiveness, thus improving software quality. Readability optimisation will be a key enabler for automated test generation in practice. Once readability of software tests is understood, this opens the doors to a new research direction on analysis and improvement of other software artefacts based on human understanding and performance.
期刊论文(10)
专著(0)
科研奖励(0)
会议论文
登录
查看更多内容
DOI:
10.1145/3092703.3092727
发表时间:
2017-07
期刊:
Proceedings of the 26th ACM SIGSOFT International Symposium on Software Testing and Analysis
影响因子:
--
作者:
[Ermira Daka;J. Rojas;G. Fraser]
通讯作者:
Ermira Daka;J. Rojas;G. Fraser
Unit Test Generation During Software Development: EvoSuite Plugins for Maven, IntelliJ and Jenkins
软件开发期间的单元测试生成:适用于 Maven、IntelliJ 和 Jenkins 的 EvoSuite 插件
DOI:
10.1109/icst.2016.44
发表时间:
2016
期刊:
影响因子:
--
作者:
[Arcuri A]
通讯作者:
Arcuri A
DOI:
10.1016/j.infsof.2018.08.010
发表时间:
2018-12
期刊:
Inf. Softw. Technol.
影响因子:
--
作者:
[José Campos;Yan Ge;Nasser M. Albunian;G. Fraser;M. Eler;Andrea Arcuri]
通讯作者:
José Campos;Yan Ge;Nasser M. Albunian;G. Fraser;M. Eler;Andrea Arcuri
DOI:
10.1145/2897010.2897020
发表时间:
2016-05
期刊:
2016 IEEE/ACM 9th International Workshop on Search-Based Software Testing (SBST)
影响因子:
--
作者:
[G. Fraser;Andrea Arcuri]
通讯作者:
G. Fraser;Andrea Arcuri
DOI:
10.1109/icst.2017.19
发表时间:
2017-03
期刊:
2017 IEEE International Conference on Software Testing, Verification and Validation (ICST)
影响因子:
--
作者:
[Andrea Arcuri;G. Fraser;René Just]
通讯作者:
Andrea Arcuri;G. Fraser;René Just
共 8 条
GReaTest: Growing Readable Software Tests
-
批准号:EP/N023978/2
-
项目类别:Research Grant
-
资助金额:$25.49万
-
财政年份:2018
-
负责人:Gordon Fraser
-
依托单位:
Explorative Test Oracle Generation
-
批准号:EP/K030353/1
-
项目类别:Research Grant
-
资助金额:$11.81万
-
财政年份:2014
-
负责人:Gordon Fraser
-
依托单位:
海外基金