Abstract

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 client-side 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.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.