分享一个测试引擎工具的设计概念

本文是我为公司设计和开发一个针对一些C++模块或共享库自动化测试工具而提出的一些设计概念,特此分享.

OverView

The Testing Engine is trying to provide fully automatic API level unit  testingfor all the plugins/shared libraries which share some same specified APIs.
All the values in the supported range or list will be iteratively tested   toverify the handler set/get propertyfunction.
Its target users are software developers.
It will automatically generate test report for the test cases you specified in a XML configuration file.
Software developer can utilize this tool to understand the software status and the development progress .
Easy to Integrate with valgrind to detect   and narrow-down memory leaks.
Easy to detect core dumps for specific library or plugin.

Concept and flow by using the Testing Engine



Testing-DrivenDevelopment practice

Modularized
Unit test  for each module whose code have been finished
R efactor our design to be more testable if necessary
Move to coding for next module once the previous module testing have been successful
Integrate to whole system, so that the software can be valuable to the whole software system.


Key concept of this tool/engine

Testing Configuration Management.

   User can Constructand customize his/hertest cases via standard xml

Testing Execution: Automating the handler tests!

  Refactor our designor add new features if necessary

   Expose many bugs timely to developeratearly stage.

   Improve people’s confidence about the software.

Testing Report Management.

  Usercan get a detailed and accurate test report for each handler.

  User can see the report viaLinux terminal directly: Error logs will be displayed in red.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值