首页> 外文会议>Global Conference on Life Sciences and Technologies >Performance Investigation of Unit Testing in Android Programming Learning Assistance System
【24h】

Performance Investigation of Unit Testing in Android Programming Learning Assistance System

机译:Android编程学习辅助系统的单位测试性能调查

获取原文

摘要

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.
机译:随着Android应用程序员的需求越来越大,我们开发了Android编程学习助理系统(APLA),为Android编程提供自学平台。在APLAS中,单元测试采用基本作用,以确认从学生中满足答案源代码中所需规格的有效性。然而,JUnit和Robolectric是APLA采用的单元测试工具,需要高CPU负载,并且由于测试人类交互式应用程序的源代码的复杂过程而需要长的执行时间。在以前的研究中,我们已经在基于Web的在线平台的客户端和服务器端中实现了单元测试功能。在本文中,我们在各种PC硬件和测试案例规范下介绍了两个单元测试工具的性能调查。结果表明,硬件规格,GEARLE的初始化过程以及测试代码中的测试用例的数量对验证时间产生了重大影响,并且基于JUnit的测试代码比基于Robelectric的测试代码快得多。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号