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 条
  • [41] TESTING FOR UNIT ROOTS - AN EMPIRICAL-INVESTIGATION
    DOWNES, AS
    LEON, H
    ECONOMICS LETTERS, 1987, 24 (03) : 231 - 235
  • [42] Electrocardiogram monitoring system based on Android smartphone and microcontroller unit
    Shalihah, Ariefah
    Alhafid, Fahmi
    Subekti, Nanda Yudi Shofi
    Utomo, Trio Pambudi
    Nuryani, Nuryani
    9TH INTERNATIONAL CONFERENCE ON PHYSICS AND ITS APPLICATIONS (ICOPIA), 2019, 1153
  • [43] Performance Analysis of Spotify® for Android with Model-Based Testing
    Rosario Espada, Ana
    del Mar Gallardo, Maria
    Salmeron, Alberto
    Merino, Pedro
    MOBILE INFORMATION SYSTEMS, 2017, 2017
  • [44] Testing for Handover Performance based on Android Intelligent Mobile Equipment
    Gong, Yujing
    Yu, Hewei
    2015 THIRD INTERNATIONAL CONFERENCE ON TECHNOLOGICAL ADVANCES IN ELECTRICAL, ELECTRONICS AND COMPUTER ENGINEERING (TAEECE), 2015, : 112 - 117
  • [45] Monitoring system for Android devices sensor performance
    Gota, Dan-Ioan
    Puscasiu, Adela
    Fanca, Alexandra
    Neag, Dumitru-Bogdan
    Hulea, Mihai
    Miclea, Liviu
    Valean, Honoriu
    2021 25TH INTERNATIONAL CONFERENCE ON SYSTEM THEORY, CONTROL AND COMPUTING (ICSTCC), 2021, : 461 - 466
  • [46] System-level attacks against android by exploiting asynchronous programming
    Chen, Ting
    Li, Xiaoqi
    Luo, Xiapu
    Zhang, Xiaosong
    SOFTWARE QUALITY JOURNAL, 2018, 26 (03) : 1037 - 1062
  • [47] System-level attacks against android by exploiting asynchronous programming
    Ting Chen
    Xiaoqi Li
    Xiapu Luo
    Xiaosong Zhang
    Software Quality Journal, 2018, 26 : 1037 - 1062
  • [48] The performance investigation of a temperature cascaded cogeneration system equipped with adsorption desalination unit
    Myat, Aung
    Thu, Kyaw
    Kim, Young Deuk
    Choon, Ng Kim
    DESALINATION AND WATER TREATMENT, 2013, 51 (7-9) : 1900 - 1907
  • [49] Tuning Deep Learning Performance for Android Malware Detection
    Booz, Jarrett
    McGiff, Josh
    Hatcher, William G.
    Yu, Wei
    Nguyen, James
    Lu, Chao
    2018 19TH IEEE/ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING AND PARALLEL/DISTRIBUTED COMPUTING (SNPD), 2018, : 140 - 145
  • [50] An Investigation on Fragility of Machine Learning Classifiers in Android Malware Detection
    Rafiq, Husnain
    Aslam, Nauman
    Issac, Biju
    Randhawa, Rizwan Hamid
    IEEE INFOCOM 2022 - IEEE CONFERENCE ON COMPUTER COMMUNICATIONS WORKSHOPS (INFOCOM WKSHPS), 2022,