A Test Case Generator for Java Swing

碩士 === 國立中正大學 === 資訊工程所 === 96 === Software testing aims to ensure the quality of applications. Graphical User Interfaces occupy a large part of the code in current. Hence, the testing of Graphical User Interfaces is very important. Most testing techniques for Graphical User Interfaces user record-p...

Full description

Bibliographic Details
Main Authors: Tsung-Chi Cheng, 鄭宗其
Other Authors: Nai-Wei Lin
Format: Others
Language:zh-TW
Published: 2008
Online Access:http://ndltd.ncl.edu.tw/handle/93255329733011081798
Description
Summary:碩士 === 國立中正大學 === 資訊工程所 === 96 === Software testing aims to ensure the quality of applications. Graphical User Interfaces occupy a large part of the code in current. Hence, the testing of Graphical User Interfaces is very important. Most testing techniques for Graphical User Interfaces user record-playback techniques and require heavy involvement of human. This thesis implements a test case generator for Java Swing using an alternative technique based on UML use case diagrams and activity diagrams. This tool consists of three components. First, the UML Diagram Reader reads the use case diagrams and the activity diagrams. Second, the Test Case Generator generates test paths by traversing the diagrams based on three coverage criteria. Third, the Test Program Generator generates test programs according to the test paths and corresponding test data.