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 条
  • [31] Investigation of Android Malware Using Deep Learning Approach
    Raymond, V. Joseph
    Raj, R. Jeberson Retna
    INTELLIGENT AUTOMATION AND SOFT COMPUTING, 2022, 35 (02): : 2413 - 2429
  • [32] Investigation of Android Malware Using Deep Learning Approach
    Raymond, V. Joseph
    Raj, R. Jeberson Retna
    INTELLIGENT AUTOMATION AND SOFT COMPUTING, 2023, 35 (02): : 2413 - 2429
  • [33] Mimic: UI Compatibility Testing System for Android Apps
    Ki, Taeyeon
    Park, Chang Min
    Dantu, Karthik
    Ko, Steven Y.
    Ziarek, Lukasz
    2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2019), 2019, : 246 - 256
  • [34] Performance and programming effort trade-offs of android persistence frameworks
    Song, Zheng Jason
    Pu, Jing
    Cheng, Junjie
    Tilevich, Eli
    JOURNAL OF SYSTEMS AND SOFTWARE, 2018, 146 : 99 - 111
  • [35] OAT: An Optimized Android Testing Framework Based on Reinforcement Learning
    Du, Mengjun
    Li, Peiyang
    Song, Lian
    Chan, W. K.
    Jiang, Bo
    THEORETICAL ASPECTS OF SOFTWARE ENGINEERING, TASE 2023, 2023, 13931 : 38 - 58
  • [36] A Reinforcement Learning Based Approach to Automated Testing of Android Applications
    Thi Anh Tuyet Vuong
    Takada, Shingo
    PROCEEDINGS OF THE 9TH ACM SIGSOFT INTERNATIONAL WORKSHOP ON AUTOMATING TEST CASE DESIGN, SELECTION, AND EVALUATION (A-TEST '18), 2018, : 31 - 37
  • [37] A machine learning-based domestic violence prediction and Android application-based domestic violence prevention assistance system
    Rasel, Sheikh
    Chowdhury, Mahfuzulhoq
    INTERNATIONAL JOURNAL OF APPLIED MANAGEMENT SCIENCE, 2024, 16 (01) : 68 - 88
  • [38] Design and evaluation of a hierarchical distributed system for programming exercise assistance
    Kitanti Inst of Technology, Kitami, Japan
    Syst Comput Jpn, 1 (34-45):
  • [39] Agent-based unit testing environment for extreme programming
    Lin, Yong-Feng
    Huang, Ming-Wei
    Chen, Jason Jen-Yen
    JOURNAL OF COMPUTATIONAL METHODS IN SCIENCES AND ENGINEERING, 2006, 6 (5-6) : S1 - S8
  • [40] Agent-based unit testing environment for extreme programming
    Department of Computer Science and Information Engineering, National Central University, Chung-Li, Taiwan
    J. Comput. Methods Sci. Eng., 2006, 5-6 (S1-S8):