A software component must be tested every time it is reused in order to assure quality of component itself and system in which it is to be integrated.So how to increase testability of component has become a key techno...A software component must be tested every time it is reused in order to assure quality of component itself and system in which it is to be integrated.So how to increase testability of component has become a key technology in the software engineering community.Here a method is introduced to increase component testability.And meanings of component testability and relative effective ways to increase testability are summarized.Then definitions of component coupling testing criterion,DU-I(Definition-Use Information) and OP-Vs(Observation-Point Values)are given.Base on these,a definition-use table is introduced,which includes DU-A and OP-Vs item,to help component testers to understand and observe interior details about component under test better.Then a framework of testable component based on above DU-table is given.These facilities provide ways to detect errors,observe state variables by observation-points based monitor mechanism.Moreover,above methods are applied to our application developed by ourselves before,and some test cases are generated.Then our method is compared with Orso method and Kan method using the same example,presenting the comparison results.The results illustrate the validity of our method,effectively generating test cases and killing more mutants.展开更多
当前软件系统开发的一个新趋势是大量使用Commercial Off the Shelf简称为COTS构件产品,文章提出了基于元数据的COTS构件的概念,将构件中属性、行为、约束等以元数据的方式独立出来,而构件专注于实现元数据支持下的业务规则处理,这...当前软件系统开发的一个新趋势是大量使用Commercial Off the Shelf简称为COTS构件产品,文章提出了基于元数据的COTS构件的概念,将构件中属性、行为、约束等以元数据的方式独立出来,而构件专注于实现元数据支持下的业务规则处理,这在一定程度上缓解了这种系统所存在的外部依赖性强、系统演化性不好的问题,最后给出了一个有关的应用实例。展开更多
基金Natural Science Fund of Hubei Province (No2005ABA266)
文摘A software component must be tested every time it is reused in order to assure quality of component itself and system in which it is to be integrated.So how to increase testability of component has become a key technology in the software engineering community.Here a method is introduced to increase component testability.And meanings of component testability and relative effective ways to increase testability are summarized.Then definitions of component coupling testing criterion,DU-I(Definition-Use Information) and OP-Vs(Observation-Point Values)are given.Base on these,a definition-use table is introduced,which includes DU-A and OP-Vs item,to help component testers to understand and observe interior details about component under test better.Then a framework of testable component based on above DU-table is given.These facilities provide ways to detect errors,observe state variables by observation-points based monitor mechanism.Moreover,above methods are applied to our application developed by ourselves before,and some test cases are generated.Then our method is compared with Orso method and Kan method using the same example,presenting the comparison results.The results illustrate the validity of our method,effectively generating test cases and killing more mutants.
文摘当前软件系统开发的一个新趋势是大量使用Commercial Off the Shelf简称为COTS构件产品,文章提出了基于元数据的COTS构件的概念,将构件中属性、行为、约束等以元数据的方式独立出来,而构件专注于实现元数据支持下的业务规则处理,这在一定程度上缓解了这种系统所存在的外部依赖性强、系统演化性不好的问题,最后给出了一个有关的应用实例。