A proposal of test code generation tool for Java programming learning assistant system

Nobuo Funabiki, Ryota Kusaka, Nobuya Ishihara, Wen Chung Kao

研究成果: 書貢獻/報告類型會議論文篇章

6 引文 斯高帕斯(Scopus)

摘要

To advance Java programming educations, we have developed the Java programming learning assistant system (JPLAS) that can verify the correctness of the code from a student automatically using the test-driven development (TDD) method. Then, to register a new assignment in JPLAS, teachers are required to write the test code in addition to the reference source code. Unfortunately, most teachers at schools are not accustomed to writing test codes. In this paper, we propose a test code generation tool that automatically generates the test cases from the reference source code by extracting the outputs for given inputs using functions in JUnit. As assignments for Java novice students, the code that contains standard inputs/outputs is emphasized. For evaluation, we collected 97 codes containing standard inputs/outputs from Java programming text books or Web sites. The experimental result has shown that the proposed tool correctly generated the test codes for them except for one code using a random generator.

原文英語
主出版物標題Proceedings - 31st IEEE International Conference on Advanced Information Networking and Applications, AINA 2017
編輯Tomoya Enokido, Hui-Huang Hsu, Chi-Yi Lin, Makoto Takizawa, Leonard Barolli
發行者Institute of Electrical and Electronics Engineers Inc.
頁面51-56
頁數6
ISBN(電子)9781509060283
DOIs
出版狀態已發佈 - 2017 5月 5
事件31st IEEE International Conference on Advanced Information Networking and Applications, AINA 2017 - Taipei, 臺灣
持續時間: 2017 3月 272017 3月 29

出版系列

名字Proceedings - International Conference on Advanced Information Networking and Applications, AINA
ISSN(列印)1550-445X

其他

其他31st IEEE International Conference on Advanced Information Networking and Applications, AINA 2017
國家/地區臺灣
城市Taipei
期間2017/03/272017/03/29

ASJC Scopus subject areas

  • 一般工程

指紋

深入研究「A proposal of test code generation tool for Java programming learning assistant system」主題。共同形成了獨特的指紋。

引用此