Category-Partition is a functional testing technique that is based on the idea that the input domain of the system under test can be divided into sub-domains, with the assumption that inputs that belong to the same sub-domain trigger a similar behaviour and that therefore it is sufficient to select one input from each sub-domain. Category-Partition proceeds in several steps, from the identification of so-called categories and choices, possibly constrained, which are subsequently used to form test frames, i.e., combinations of choices, and eventually test cases. This paper reports on an ongoing attempt to automate as many of those steps as possible, with graphical-user interface tool support. Specifically, the user interface allows the user to specify parameters as well as so-called environment variables, further specify categories and choices with optional constraints. Choices are provided with precise specifications with operations specific to their types (e.g., Boolean, Integer, Real, String). Then, the tool automates the construction of test frames, which are combinations of choices, according to alternative selection criteria, and the identification of input values for parameters and environment variables for these test frames, thereby producing test cases. The paper illustrates the capabilities of the tool with the use of nine different case studies.


翻译:分类划分是一种功能测试技术,其核心思想在于:被测系统的输入域可被划分为若干子域,并假设属于同一子域的输入会触发相似的系统行为,因此从每个子域中选择一个输入即已足够。分类划分测试包含多个步骤:从识别所谓的类别与(可能带有约束的)选项开始,随后利用这些选项构建测试框架(即选项的组合),最终生成测试用例。本文报告了一项旨在通过图形用户界面工具支持,尽可能自动化上述步骤的持续尝试。具体而言,该用户界面允许用户指定参数及所谓的环境变量,进一步定义类别与可选的约束条件。选项通过针对其类型(如布尔型、整型、实数型、字符串型)的特定操作进行精确描述。随后,工具可根据不同的选择标准自动构建测试框架(即选项的组合),并为这些测试框架中的参数和环境变量识别输入值,从而生成测试用例。本文通过九个不同的案例研究展示了该工具的功能。

0
下载
关闭预览

相关内容

《基于分类方法的自动人机对话》
专知会员服务
25+阅读 · 2023年7月18日
Transformer 驱动的图像分类研究进展综述
专知会员服务
55+阅读 · 2023年2月24日
【WWW2021】充分利用层级结构进行自监督分类法扩展
专知会员服务
16+阅读 · 2021年2月7日
【Mila】通用表示Transformer少样本图像分类
专知会员服务
33+阅读 · 2020年9月7日
专栏 | 手把手教你用DGL框架进行批量图分类
机器之心
14+阅读 · 2019年1月29日
超像素、语义分割、实例分割、全景分割 傻傻分不清?
计算机视觉life
19+阅读 · 2018年11月27日
干货 :基于用户画像的聚类分析
数据分析
22+阅读 · 2018年5月17日
人脸表情分类与识别:人脸检测+情绪分类
北京思腾合力科技有限公司
27+阅读 · 2017年12月18日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
9+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
6+阅读 · 2014年12月31日
VIP会员
相关基金
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
9+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
6+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员