IEEE 1008-1987【现行】IEEE Standard for Software Unit Testing
- 中文题名:IEEE软件单元测试标准
- 纸或电子(待定):英语/询价购买该标准暂无价格等信息,可通过提交询价单,请求人工报价。询价标准不能保证全部有货。人工报价后,有货的标准自动加入购物车,可以同其他标准一起结算。
软件单元测试是一个过程,包括测试计划的执行、测试集的获取,以及测试单元对其需求的度量。测量需要使用样本数据来运行机组,并将机组的实际行为与机组要求文件中规定的要求行为进行比较。
本标准定义了系统化和文件化单元测试的综合方法。除了单元需求之外,该方法还使用单元设计和单元实现信息来确定测试的完整性。
本标准描述了由阶段、活动和任务的层次结构组成的测试过程,并定义了每个活动的最低任务集。其他任务可能会添加到任何活动中。
本标准要求每项活动的绩效。对于活动中的每项任务,本标准要求要么执行任务,要么提供以前的结果并重新发布-
已证实的本标准还要求编制ANSI/IEEE Std 829-1983[2]1中规定的两份文件。这些文件是测试设计规范和测试总结报告。
一般单元测试计划应在总体测试计划期间进行。本标准涵盖了一般单元测试规划活动,尽管整体测试规划过程的平衡不在本标准的范围内。
本标准适用于任何数字计算机软件或固件的单元测试。然而,本标准没有规定必须应用的任何软件或固件类别,也没有规定必须进行单元测试的任何软件或固件类别。本标准适用于新开发和改造单元的测试。
无论单元测试人员是否也是开发人员,本标准均适用。
Software unit testing is a process that includes the performance of test planning, the acquisition of a test set, and the measurement of a test unit against its requirements. Measuring entails the use of sample data to exercise the unit and the comparison of the unit's actual behavior with its required behavior as specified in the unit's requirements documentation. This standard defines an integrated approach to systematic and documented unit testing. The approach uses unit design and unit implementation information, in addition to unit requirements, to determine the completeness of the testing. This standard describes a testing process composed of a hierarchy of phases, activities, and tasks and defines a minimum set of tasks for each activity. Additional tasks may be added to any activity. This standard requires the performance of each activity. For each task within an activity, this standard requires either that the task be performed, or that previous results be available and be re-verified. This standard also requires the preparation of two documents specified in ANSI/IEEE Std 829-1983 [2] 1. These documents are the Test Design Specification and the Test Summary Report. General unit test planning should occur during overall test planning. This general unit test planning activity is covered by this standard, although the balance of the overall test planning process is outside the scope of this standard. This standard may be applied to the unit testing of any digital computer software or firmware. However, this standard does not specify any class of software or firmware to which it must be applied, nor does it specify any class of software or firmware that must be unit tested. This standard applies to the testing of newly developed and modified units. This standard is applicable whether or not the unit tester is also the developer.
起 草 人:
归口单位:
