A Survey on Unit Testing Practices and Problems

Software Reliability Engineering(2014)

引用 126|浏览9
暂无评分
摘要
Unit testing is a common practice where developers write test cases together with regular code. Automation frameworks such as JUnit for Java have popularised this approach, allowing frequent and automatic execution of unit test suites. Despite the appraisals of unit testing in practice, software engineering researchers see potential for improvement and investigate advanced techniques such as automated unit test generation. To align such research with the needs of practitioners, we conducted a survey amongst 225 software developers, covering different programming languages and 29 countries, using a global online marketing research platform. The survey responses confirm that unit testing is an important factor in software development, and suggest that there is indeed potential and need for research on automation of unit testing. The results help us to identify areas of importance on which further research will be necessary (e.g., Maintenance of unit tests), and also provide insights into the suitability of online marketing research platforms for software engineering surveys.
更多
查看译文
关键词
program testing,software engineering,JUnit,Java,automated unit test generation,automatic unit test suite execution,global online marketing research platform,programming language,regular code,software development,software engineering survey,test cases,unit testing automation,unit testing practices,survey,test case generation,unit testing
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要