Nowadays, computer-assisted learning (CAL) has experienced a significant increase in demand for self-learning purposes with the mechanism of automated assistance to facilitate assessments and provide instant feedback to learners. Using automatic testing, test cases can be executed repeatedly, providing informative feedback to assist students in correcting the written code referring to the assignment specifications. This research experiences an automated testing mechanism in an Android programming self-learning system to serve several important functions for learning experience enhancement. By adopting the TDD method and utilizing automatic software testing tools, the testing process combines unit testing with JUnit and integration testing with Robolectric. It ensures the quality and functionality of the application under test based on learning assignment's specifications. Utilizing the assertion methods realizes the code verification referring to expected behavior and potentially produces informative feedback that can be captured to provide automated assistance. Evaluation through the test code implementation in the Basic Application learning topic shows that automatic testing tools cover the automated assistance feature in the validations of project configuration and UI components. © 2023 IEEE.
Author Keywords
Index Keywords