摘要
TBrun提供完全自动的单元测试解决方案,它可以使开发人员和测试人员在单元级应用LDRA工具套件强大的源码分析器。本文用实际例子阐述了TBrun在单元测试中的应用,介绍了三种技术管理测试用例的创建、四种常用例子的解析以及使用TBrun来计算三种覆盖率(SC、DC、MC/DC)。
TBrun provides a completely automatic unit test solution, It can make the developers and testers use the powerful source code analyzer of the LDAR tool suite in unit level. In this paper, We use the practical examples to expatiate that the application of TBrun to unit test, introduce three kinds of technology management to create test case and four kinds of common example analysis and how to calculate three coverage(sc,dc,mc/dc) by using Tbrun.