In the paper a new approach to automating unit testing in software engineering is described. It is based on the use of a rule-based specification of a module. This specification is then used to automatically generate test cases, thus simplifying the testing process. The paper discusses the application of decision tables to capture the specification of the system. The tables are described in a formalized way using a design method for rule-based expert systems. They are then used to generate test cases for the JUnit software. This intelligent technique can speedup, automate and improve the software testing process.
展开▼