Research on the Testing of Component Functional Behavior
The component features such as information encapsulating and high evolution bring great challenges to component user when validating if the component function is consistent with user requirement.We use interface automata to model the behavior of component and to study the testing of functional behavior.First,the test criteria based on simple operation is defined,and then the generation algorithm of simple operation sequences is introduced for deriving behavior sequences,after that,the approach is illustrated by an example and compared with the related methods.With the proposed approach we could test the whole behavior of component at system level,moreover,the testing sequences can be generated automatically,therefore facilitate component validation and testing.