A Test Path Generation Approach for Component Testing based on UML State Diagram

Y. Ma, J. Lu, and R. Zhao (PRC)


Component testing, Extended Finite State Machine, UML state diagram, Branch cutting method


Component-based software engineering is increasingly being adopted for software development. Component testing plays an important role in guaranteeing component quality and reliability. This paper presents a test path generation approach for component testing based on UML state diagram. The UML state diagram corresponding to component is transformed to an Extended Finite State Machine (EFSM), test paths are generated by applying Branch cutting method to traverse the EFSM, and then test cases are designed to check the component. Experimental results show that this approach is effective and promising. The test cases developed can remarkably reveal the requirement faults and functional defects in components.

Important Links:

Go Back