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

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

研究成果

5 被引用数 (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.

本文言語English
ホスト出版物のタイトル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
DOI
出版ステータスPublished - 5月 5 2017
イベント31st IEEE International Conference on Advanced Information Networking and Applications, AINA 2017 - Taipei
継続期間: 3月 27 20173月 29 2017

出版物シリーズ

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

Other

Other31st IEEE International Conference on Advanced Information Networking and Applications, AINA 2017
国/地域Taiwan, Province of China
CityTaipei
Period3/27/173/29/17

ASJC Scopus subject areas

  • 工学一般

フィンガープリント

「A proposal of test code generation tool for Java programming learning assistant system」の研究トピックを掘り下げます。これらがまとまってユニークなフィンガープリントを構成します。

引用スタイル