计算机与数字工程
計算機與數字工程
계산궤여수자공정
COMPUTER & DIGITAL ENGINEERING
2014年
6期
930-933,968
,共5页
构件测试%合约检查%客户方%服务方
構件測試%閤約檢查%客戶方%服務方
구건측시%합약검사%객호방%복무방
component testing%contract checking%client%server
构件复用是提高软件开发效率的有效途径,构件测试是保证构件质量的重要手段。针对目前构件测试的现状,对构件测试进行了深入研究,提出了一种合约检查的构件测试方法,将Bertrand Meyer的合约概念引入到构件设计开发测试过程中,从构件开发者和复用者的角度分析构件及构件的测试,违反构件合约时抛出异常信息,快速定位异常位置,提高软件开发的效率。
構件複用是提高軟件開髮效率的有效途徑,構件測試是保證構件質量的重要手段。針對目前構件測試的現狀,對構件測試進行瞭深入研究,提齣瞭一種閤約檢查的構件測試方法,將Bertrand Meyer的閤約概唸引入到構件設計開髮測試過程中,從構件開髮者和複用者的角度分析構件及構件的測試,違反構件閤約時拋齣異常信息,快速定位異常位置,提高軟件開髮的效率。
구건복용시제고연건개발효솔적유효도경,구건측시시보증구건질량적중요수단。침대목전구건측시적현상,대구건측시진행료심입연구,제출료일충합약검사적구건측시방법,장Bertrand Meyer적합약개념인입도구건설계개발측시과정중,종구건개발자화복용자적각도분석구건급구건적측시,위반구건합약시포출이상신식,쾌속정위이상위치,제고연건개발적효솔。
Component reuse is an effective way to improve the efficiency of software development .Component testing is an important way to ensure the quality of components .In view of the present condition of the component testing ,the compo-nent testing conducted in-depth research ,a component testing method is proposed based on contract checking .Bertrand Meyer's contract concept is introduced to component design and development testing process .From the perspective of the component developers and users ,component and component testing are analyzed ,an exception is thrown when the compo-nent contract is violated ,to quickly locate exception position ,improve the efficiency of software development .