Performance Investigation of Unit Testing in Android Programming Learning Assistance System

被引:0
|
作者
Syaifudin, Yan Watequlis [1 ]
Funabiki, Nobuo [1 ]
Wijaya, Devany C. [2 ]
Mu'aasyiqiin, Ikhlaashul [2 ]
机构
[1] Okayama Univ, Dept Elect & Commun Engn, Okayama, Japan
[2] State Polytech Malang, Dept Informat Techol, Malang, Indonesia
关键词
Android application; unit testing; APLAS; JUnit; Robolectric; performance investigation;
D O I
10.1109/LIFETECH52111.2021.9391971
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
With increasing demands for Android application programmers, we have developed the Android Programming Learning Assistant System (APLAS) to provide a self-learning platform in Android programming. In APLAS, unit testing takes the essential role to confirm the validity of satisfying the required specifications in the answer source code from a student. However, JUnit and Robolectric, the unit testing tools adopted in APLAS, require high CPU loads and take long execution time because of the complex procedure of testing the source codes for human-interactive applications. In the previous studies, we have implemented the unit testing function in both the clientside and the server-side of the web-based online platform. In this paper, we present the performance investigations of the two unit testing tools at the validation process under various PC hardware and test case specifications. The results show that the hardware specifications, the initialization process by Gradle, and the number of test cases in a test code have significant impacts on the validation time, and the JUnit-based test code is much faster than the Robolectric-based test code.
引用
收藏
页码:153 / 157
页数:5
相关论文
共 50 条
  • [21] Android Based Student Learning System
    Singh, Vineet
    2015 2ND ASIA-PACIFIC WORLD CONGRESS ON COMPUTER SCIENCE AND ENGINEERING (APWC ON CSE 2015), 2015,
  • [22] Aspect-oriented Programming Techniques in Unit Testing
    Voesgen, Matthias
    Sokenou, Dehla
    COMPUTER SCIENCE-RESEARCH AND DEVELOPMENT, 2005, 20 (1-2): : 57 - 71
  • [23] Performance Measurement System, Organizational Learning and Business Unit Performance in Islamic Banks
    Hudayati, Ataina
    Auzair, Sofiah Md
    PROCEEDINGS OF THE INTERNATIONAL MANAGEMENT ACCOUNTING CONFERENCE V, 2009, : 354 - 377
  • [24] Performance Measurement System, Organisational Learning and Business Unit Performance in Islamic Banks
    Hudayati, Ataina
    Auzair, Sofiah Md
    ASIAN JOURNAL OF ACCOUNTING AND GOVERNANCE, 2011, 2 : 1 - 13
  • [25] Towards Unit Testing of User Interface Code for Android Mobile Applications
    Sadeh, Ben
    Orbekk, Kjetil
    Eide, Magnus M.
    Gjerde, Njaal C. A.
    Tonnesland, Trygve A.
    Gopalakrishnan, Sundar
    SOFTWARE ENGINEERING AND COMPUTER SYSTEMS, PT 3, 2011, 181 : 163 - 175
  • [26] Automatic Performance Testing for Image Displaying in Android Apps
    Li, Wenjie
    Jiang, Yanyan
    Ma, Jun
    Xu, Chang
    2021 28TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2021), 2021, : 317 - 326
  • [27] Unit testing performance with Stochastic Performance Logic
    Bulej, Lubomir
    Bures, Tomas
    Horky, Vojtech
    Kotrc, Jaroslav
    Marek, Lukas
    Trojanek, Tomas
    Tuma, Petr
    AUTOMATED SOFTWARE ENGINEERING, 2017, 24 (01) : 139 - 187
  • [28] Assistance System for Personal Learning Environments
    Guettat, Belhassen
    Farhat, Ramzi
    2017 6TH INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION TECHNOLOGY AND ACCESSIBILITY (ICTA), 2017,
  • [29] An Investigation on GIS Technology for Android Embedded System
    Ge, Jingsong
    Wang, Feng
    Deng, Hui
    2013 6TH INTERNATIONAL CONFERENCE ON INTELLIGENT NETWORKS AND INTELLIGENT SYSTEMS (ICINIS), 2013, : 312 - 315
  • [30] Use of Test Doubles in Android Testing: An In-Depth Investigation
    Fazzini, Mattia
    Choi, Chase
    Copiat, Juan Manuel
    Lee, Gabriel
    Kakehit, Yoshiki
    Gorlat, Alessandra
    Orsot, Alessandro
    2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2022), 2022, : 2266 - 2278