Understanding the Test Automation Culture of App Developers

Smartphone applications (apps) have gained popularity recently. Millions of smartphone applications (apps) are available on different app stores which gives users plethora of options to choose from, however, it also raises concern if these apps are adequately tested before they are released for publ...

Full description

Saved in:
Bibliographic Details
Main Authors: KOCHHAR, Pavneet Singh, THUNG, Ferdian., NAGAPPAN, Nachiappan, ZIMMERMANN, Thomas, LO, David
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2015
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/2847
https://ink.library.smu.edu.sg/context/sis_research/article/3847/viewcontent/kochhar_icst_TestAutoCultureAppDev_2015.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-3847
record_format dspace
spelling sg-smu-ink.sis_research-38472018-07-13T04:15:04Z Understanding the Test Automation Culture of App Developers KOCHHAR, Pavneet Singh THUNG, Ferdian. NAGAPPAN, Nachiappan ZIMMERMANN, Thomas LO, David Smartphone applications (apps) have gained popularity recently. Millions of smartphone applications (apps) are available on different app stores which gives users plethora of options to choose from, however, it also raises concern if these apps are adequately tested before they are released for public use. In this study, we want to understand the test automation culture prevalent among app developers. Specifically, we want to examine the current state of testing of apps, the tools that are commonly used by app developers, and the problems faced by them. To get an insight on the test automation culture, we conduct two different studies. In the first study, we analyse over 600 Android apps collected from F- Droid, one of the largest repositories containing information about open-source Android apps. We check for the presence of test cases and calculate code coverage to measure the adequacy of testing in these apps. We also survey developers who have hosted their applications on GitHub to understand the testing practices followed by them. We ask developers about the tools that they use and ''pain points'' that they face while testing Android apps. For the second study, based on the responses from Android developers, we improve our survey questions and resend it to Windows app developers within Microsoft. We conclude that many Android apps are poorly tested - only about 14% of the apps contain test cases and only about 9% of the apps that have executable test cases have coverage above 40%. Also, we find that Android app developers use automated testing tools such as JUnit, Monkeyrunner, Robotium, and Robolectric, however, they often prefer to test their apps manually, whereas Windows app developers prefer to use in-house tools such as Visual Studio and Microsoft Test Manager. Both Android and Windows app developers face many challenges such as time constraints, compatibility issues, lack of exposure, cumbersome tools, etc. We give suggestions to improve the test automation culture in the growing app community. 2015-04-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/2847 info:doi/10.1109/ICST.2015.7102609 https://ink.library.smu.edu.sg/context/sis_research/article/3847/viewcontent/kochhar_icst_TestAutoCultureAppDev_2015.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Android App Developers Microsoft Test Automation Culture smartphones Computer Sciences Databases and Information Systems
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Android
App Developers
Microsoft
Test Automation Culture
smartphones
Computer Sciences
Databases and Information Systems
spellingShingle Android
App Developers
Microsoft
Test Automation Culture
smartphones
Computer Sciences
Databases and Information Systems
KOCHHAR, Pavneet Singh
THUNG, Ferdian.
NAGAPPAN, Nachiappan
ZIMMERMANN, Thomas
LO, David
Understanding the Test Automation Culture of App Developers
description Smartphone applications (apps) have gained popularity recently. Millions of smartphone applications (apps) are available on different app stores which gives users plethora of options to choose from, however, it also raises concern if these apps are adequately tested before they are released for public use. In this study, we want to understand the test automation culture prevalent among app developers. Specifically, we want to examine the current state of testing of apps, the tools that are commonly used by app developers, and the problems faced by them. To get an insight on the test automation culture, we conduct two different studies. In the first study, we analyse over 600 Android apps collected from F- Droid, one of the largest repositories containing information about open-source Android apps. We check for the presence of test cases and calculate code coverage to measure the adequacy of testing in these apps. We also survey developers who have hosted their applications on GitHub to understand the testing practices followed by them. We ask developers about the tools that they use and ''pain points'' that they face while testing Android apps. For the second study, based on the responses from Android developers, we improve our survey questions and resend it to Windows app developers within Microsoft. We conclude that many Android apps are poorly tested - only about 14% of the apps contain test cases and only about 9% of the apps that have executable test cases have coverage above 40%. Also, we find that Android app developers use automated testing tools such as JUnit, Monkeyrunner, Robotium, and Robolectric, however, they often prefer to test their apps manually, whereas Windows app developers prefer to use in-house tools such as Visual Studio and Microsoft Test Manager. Both Android and Windows app developers face many challenges such as time constraints, compatibility issues, lack of exposure, cumbersome tools, etc. We give suggestions to improve the test automation culture in the growing app community.
format text
author KOCHHAR, Pavneet Singh
THUNG, Ferdian.
NAGAPPAN, Nachiappan
ZIMMERMANN, Thomas
LO, David
author_facet KOCHHAR, Pavneet Singh
THUNG, Ferdian.
NAGAPPAN, Nachiappan
ZIMMERMANN, Thomas
LO, David
author_sort KOCHHAR, Pavneet Singh
title Understanding the Test Automation Culture of App Developers
title_short Understanding the Test Automation Culture of App Developers
title_full Understanding the Test Automation Culture of App Developers
title_fullStr Understanding the Test Automation Culture of App Developers
title_full_unstemmed Understanding the Test Automation Culture of App Developers
title_sort understanding the test automation culture of app developers
publisher Institutional Knowledge at Singapore Management University
publishDate 2015
url https://ink.library.smu.edu.sg/sis_research/2847
https://ink.library.smu.edu.sg/context/sis_research/article/3847/viewcontent/kochhar_icst_TestAutoCultureAppDev_2015.pdf
_version_ 1770572639091294208