论文部分内容阅读
Following development of computer software, which provides great facility, but complexity increase exponentially. Modern development of software requires great groups to cooperate each other. Problem become more complex and difficulty to correct. So with software testing being attached more important gradually, and developed from creating of software , the special group would be founded. Through the two period of software testing, which just are the testing of module software and testing of Object Oriented software, the system info of software testing become more perfect gradually. With development of components becoming the trend of software engineering development, The theory of testing software just is fresh field of software testing.Component require strict encapsulation and have binary code reusing peculiarity, which make the software development of based components more advantage, but bring a series of trouble including analyzing designing implement and maintenance and so on. Now, there is no special instrument to test component, The instrument of module software testing and object oriented testing continue to be used on Software component testing.The model of probe could solve better the trouble of interaction. The theory show that during the testing, the probe will be inserted in component program, in order to solve the difficulty data interaction and no way to access the attribute and method of component.According to component testing, the paper study on how to build the model of dynamic interaction with component, how to use the traditional technique on component testing, and how to combine the traditional technique with the probe model effectually. According as the theory of probe model based on JavaBeen, the paper achieve the COM component testing based probe model.Aim at the shortcoming of existence probe model, on which the paper present the improvement that adding trigger to solve recursion of calling between probe and component; coding the standard probe to improve probe reusing; simplifying the data type of probe; adding message sender to help conner to watch dynamic outcome of component testing; code the format data to simplify coding and decoding.