UTHM Institutional Repository

Back to basic: generating test cases from source codes

Ibrahim, Rosziati and Tiu, Kian Yong (2007) Back to basic: generating test cases from source codes. In: AsiaMS '07: Proceedings of the IASTED Asian Conference on Modelling and Simulation, 8-10 October 2007, Beijing, China.

Full text not available from this repository.


Through the years, the complexity and the size of a system are growing. Thus, to perform a testing with manual creation of test cases is very time consuming. This is because developer or tester will need to manually look into the source codes, line by line, to define the test cases. Moreover, manual creation of test cases does not increase reliability of testing the source codes. For example, tester may perhaps miss or fail to define some of the possible test cases if they are not aware of it. Furthermore, manual creation of test cases based on source codes is also high costing. This paper discusses a system that generates test cases automatically based on program source codes. This system is able to scan the program source codes, line by line, and check the syntaxes of the source codes. Then, the codes are parsed using the parser to generate the test cases based on detected tokens. The purpose of generating test cases automatically is to reduce the cost of testing the system.

Item Type: Conference or Workshop Item (Paper)
Uncontrolled Keywords: parser; software testing; source codes; test cases; token
Subjects: Q Science > QA Mathematics > QA76 Computer software
Divisions: Faculty of Computer Science and Information Technology > Department of Software Engineering
Depositing User: Normajihan Abd. Rahman
Date Deposited: 15 Nov 2015 07:53
Last Modified: 15 Nov 2015 07:53
URI: http://eprints.uthm.edu.my/id/eprint/3594
Statistic Details: View Download Statistic

Actions (login required)

View Item View Item