@article{(Open Science Index):https://publications.waset.org/pdf/11472, title = {Automating the Testing of Object Behaviour: A Statechart-Driven Approach}, author = {Dong He Nam and Eric C. Mousset and David C. Levy}, country = {}, institution = {}, abstract = {The evolution of current modeling specifications gives rise to the problem of generating automated test cases from a variety of application tools. Past endeavours on behavioural testing of UML statecharts have not systematically leveraged the potential of existing graph theory for testing of objects. Therefore there exists a need for a simple, tool-independent, and effective method for automatic test generation. An architecture, codenamed ACUTE-J (Automated stateChart Unit Testing Engine for Java), for automating the unit test generation process is presented. A sequential approach for converting UML statechart diagrams to JUnit test classes is described, with the application of existing graph theory. Research byproducts such as a universal XML Schema and API for statechart-driven testing are also proposed. The result from a Java implementation of ACUTE-J is discussed in brief. The Chinese Postman algorithm is utilised as an illustration for a run-through of the ACUTE-J architecture. }, journal = {International Journal of Computer and Information Engineering}, volume = {1}, number = {11}, year = {2007}, pages = {3700 - 3704}, ee = {https://publications.waset.org/pdf/11472}, url = {https://publications.waset.org/vol/11}, bibsource = {https://publications.waset.org/}, issn = {eISSN: 1307-6892}, publisher = {World Academy of Science, Engineering and Technology}, index = {Open Science Index 11, 2007}, }