家电科技 ›› 2022, Vol. 0 ›› Issue (6): 50-55.doi: 10.19784/j.cnki.issn1672-0172.2022.06.007

• 论文 • 上一篇    下一篇

智能家居场景功能测试用例设计方法研究

杨文全1,2,3, 田云龙1,2,3, 马晓玉4, 时雨4   

  1. 1.青岛海尔科技有限公司 山东青岛 266101;
    2.数字化家电国家重点实验室 山东青岛 266101;
    3.青岛海尔智能家电科技有限公司 山东青岛 266101;
    4.中家院(北京)检测认证有限公司 北京 100053
  • 出版日期:2022-12-01 发布日期:2023-01-10
  • 作者简介:杨文全,本科学历。研究方向:人工智能及智慧家庭。地址:山东省青岛市崂山区海尔路1号海尔工业园内中央研究院。E-mail:yang_wenquan@haier.com,18805322729@163.com。
  • 基金资助:
    国家重点研发计划项目“基于人工智能的健康居住环境测-评-控技术与产品研究”(项目编号:2022YFC3803202)

Research on design method of smart home scenario function test case

YANG Wenquan1,2,3, TIAN Yunlong1,2,3, MA Xiaoyu4, SHI Yu4   

  1. 1. Qingdao Haier Technology Co., Ltd. Qingdao 266101;
    2. State Key Laboratory of Digital Household Appliances Qingdao 266101;
    3. Qingdao Haier Intelligent Home Appliance Technology Co., Ltd. Qingdao 266101;
    4. CHEARI (Beijing) Certification & Testing Co., Ltd. Beijing 100053
  • Online:2022-12-01 Published:2023-01-10

摘要: 随着信息技术不断发展,智能家居尤其是智能家居场景在人们的家庭生活中越来越普及,人们对智能家居场景的要求也越来越高,用户使用场景时其功能缺陷严重影响使用体验,场景功能测试过程中也存在测试维度不完善、用例设计不科学的情况。为提高智能家居行业场景功能测试的质量,提出了完善场景测试维度和科学设计测试用例的方法,并以归家场景为例,分析在功能测试过程中充分考虑的功能的完备性、正确性、适合性以及依从性,将场景法、等价类划分法、边界值分析法等技术有序、高效地融合在设计测试用例过程中。阐明了场景功能测试用例设计方法,可以有序、有效地设计出一组可靠性高、执行性强的功能测试用例,从而提高测试效率,保证智能家居场景功能的置信度和软件质量。

关键词: 智能家居, 场景测试, 功能测试, 用例设计, 等价类划分

Abstract: With the continuous development of information technology, smart home, especially smart home scenes, has become more and more popular in people's family life, people have higher requirements for smart home scenes, when users use scenarios, their functional defects seriously affect the experience. In the process of scenario function testing, there are some situations of imperfect test dimensions and unscientific case design. To improve the quality of scene function test in smart home industry. Proposes a method to improve scenario test dimensions and scientifically design test cases, and takes the home-coming scenario as an example, the analysis fully considers the completeness, correctness, suitability and compliance of functions in the process of functional testing, and integrates scenario method, equivalence class division method, boundary value analysis method and other technologies into the process of designing test cases in an orderly and efficient manner. Illustrates the method of scenario function test case design, which can effectively and orderly design a group of functional test cases with high reliability and strong execution, thus improving the test efficiency and ensuring the confidence of smart home scenario function and software quality.

Key words: Smart home, Scene test, Function test, Use case design, Equivalence class division

中图分类号: