Abstract:In component-based system regression testing, the dependence model of component-based system should be built in order to confirm the part which will be affected by modify. Since high reusability and high complexity, the existing dependence models may not be applicable to component-based systems, a hierarchical dependence model is proposed to describe component-based. Through the forward slicing of modified points in the model, the modified and affected parts can be gotten, then traverse these parts and get affected testing path, thereby regression testing examples can be chosen effectively, the efficiency of regression testing can be improred.