ISO/IEC/IEEE 29119-5:2024 软件和系统工程.软件测试 第5部分:关键词驱动测试

标准编号:ISO/IEC/IEEE 29119-5:2024

中文名称:软件和系统工程.软件测试 第5部分:关键词驱动测试

英文名称:Software and systems engineering - Software testing - Part 5: Keyword-driven testing

发布日期:2024-12-19

标准范围

本文档通过以下方式为关键字驱动测试定义了高效且一致的解决方案:-介绍关键字驱动测试;-提供实施关键字驱动测试的参考方法;-定义关键字驱动测试框架的要求,使测试人员能够共享他们的工作项目,如测试用例、测试数据、关键字或完整的测试规范;-定义支持关键字驱动测试的工具的需求;这些要求适用于任何支持关键字驱动方法的工具(例如,测试自动化、测试设计和测试管理工具);-定义接口和通用数据交换格式,以确保来自不同供应商的工具可以交换其数据(例如测试用例、测试数据和测试结果);-定义分级关键字的级别,并建议使用分级关键字;这包括描述特定类型的关键字(例如,用于导航或用于检查值的关键字)以及何时使用“扁平”结构化关键字;-提供示例性通用技术(低级)关键字的初始列表,诸如“inputData”或“checkValue”;这些关键字可以用于在技术级别上指定测试用例,并且可以根据需要组合起来创建业务级别的关键字。本文档适用于所有想要创建关键字驱动的测试规范,创建相应的框架,或者基于关键字构建测试自动化的人。

This document defines an efficient and consistent solution for keyword-driven testing by:

giving an introduction to keyword-driven testing;

providing a reference approach to implement keyword-driven testing;

defining requirements on frameworks for keyword-driven testing to enable testers to share their work items, such as test cases, test data, keywords, or complete test specifications;

defining requirements for tools that support keyword-driven testing; these requirements are applicable to any tool that supports the keyword-driven approach (e.g. test automation, test design and test management tools);

defining interfaces and a common data exchange format to ensure that tools from different vendors can exchange their data (e.g. test cases, test data and test results);

defining levels of hierarchical keywords, and advising use of hierarchical keywords; this includes describing specific types of keywords (e.g. keywords for navigation or for checking a value) and when to use "flat" structured keywords;

providing an initial list of example generic technical (low-level) keywords, such as "inputData" or "checkValue"; these keywords can be used to specify test cases on a technical level and can be combined to create business-level keywords as required.

This document is applicable to all those who want to create keyword-driven test specifications, create corresponding frameworks, or build test automation based on keywords.

标准预览图


立即下载标准文件