Journal of Applied Sciences

• Articles • Previous Articles     Next Articles

Test of Software Component Using Data Flow Testing

ZENG Hong-wei, ZHOU Jian-yun   

  1. School of Computer Engineering and Science, Shanghai University, Shanghai 200072 China
  • Received:2006-11-07 Revised:2007-07-19 Online:2007-11-30 Published:2007-11-30

Abstract: Component state machine (CSM) is used to model the behavior of component under test. We design an algorithm transforming CSM into a component flow graph that describes control and data flows among states, transitions, and guards of transitions in the CSM. We then propose a data flow graph-based approach to test component. The du-path set of a component flow graph can be generated automatically according to all-use criterion for data flow testing.

Key words:

component state machine, data flow testing, component flow graph,, the shortest du-path