计算机技术与发展
計算機技術與髮展
계산궤기술여발전
COMPUTER TECHNOLOGY AND DEVELOPMENT
2014年
1期
69-72,76
,共5页
VBA%接口测试%缺陷%测试工具
VBA%接口測試%缺陷%測試工具
VBA%접구측시%결함%측시공구
VBA%interface testing%bug%testing tool
对于软件系统来说,接口是连通所有配置项的桥梁。系统的接口一旦发生异常,轻则导致整个系统的运行不畅,严重的会导致系统无法正常工作,其风险性不言而喻。因此在软件开发阶段尽可能地发现接口缺陷可以大大降低软件成本,并提升软件的稳定性。但是当前针对配置项间的接口测试主要依靠网络上的一些网络口/串口报文收发工具。这些工具虽然能满足基本的报文收发功能,却无法从测试的角度针对各个报文字段灵活地生成正常/异常测试数据并根据测试需要灵活收发。文中探讨了接口测试需求,并在此基础上给出了通过VBA技术实现的工具实例。
對于軟件繫統來說,接口是連通所有配置項的橋樑。繫統的接口一旦髮生異常,輕則導緻整箇繫統的運行不暢,嚴重的會導緻繫統無法正常工作,其風險性不言而喻。因此在軟件開髮階段儘可能地髮現接口缺陷可以大大降低軟件成本,併提升軟件的穩定性。但是噹前針對配置項間的接口測試主要依靠網絡上的一些網絡口/串口報文收髮工具。這些工具雖然能滿足基本的報文收髮功能,卻無法從測試的角度針對各箇報文字段靈活地生成正常/異常測試數據併根據測試需要靈活收髮。文中探討瞭接口測試需求,併在此基礎上給齣瞭通過VBA技術實現的工具實例。
대우연건계통래설,접구시련통소유배치항적교량。계통적접구일단발생이상,경칙도치정개계통적운행불창,엄중적회도치계통무법정상공작,기풍험성불언이유。인차재연건개발계단진가능지발현접구결함가이대대강저연건성본,병제승연건적은정성。단시당전침대배치항간적접구측시주요의고망락상적일사망락구/천구보문수발공구。저사공구수연능만족기본적보문수발공능,각무법종측시적각도침대각개보문자단령활지생성정상/이상측시수거병근거측시수요령활수발。문중탐토료접구측시수구,병재차기출상급출료통과VBA기술실현적공구실례。
For the software system,the interface is the bridge for all the configuration items. In case that the interface of the system is ab-normal,it will cause the operation of the whole system which is not smooth,it will even cause the whole system can't work normally. Its risk is self-evident. Therefore,discovering the bugs of interface in the software development period as much as possible can greatly reduce the cost of the software,and enhance the stability of the software. But the interface of the testing for the configuration items mainly relies on some network ports on the Internet or serial messaging tools. Although these tools can satisfy the basic function of the message receiv-ing and sending,it can't create flexibly the normal or abnormal testing data from the view of testing each message field and it can't re-ceive and send flexibly according to testing needs. It discusses the interface testing requirements and then gives the tool cases through the VBA technology which has practical reference value.