CN108694119A - 软件测试用例的构建方法 - Google Patents
软件测试用例的构建方法 Download PDFInfo
- Publication number
- CN108694119A CN108694119A CN201710233204.3A CN201710233204A CN108694119A CN 108694119 A CN108694119 A CN 108694119A CN 201710233204 A CN201710233204 A CN 201710233204A CN 108694119 A CN108694119 A CN 108694119A
- Authority
- CN
- China
- Prior art keywords
- software test
- level
- item
- test case
- compliance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3676—Test management for coverage analysis
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Debugging And Monitoring (AREA)
Abstract
本发明涉及软件测试领域,公开了一种软件测试用例的构建方法,包括以下步骤:S1、将软件测试过程中的质量模型进行列表,获得质量模型列表,所述质量模型包括软件测试的功能性、可靠性、易用性、效率、维护性及可移植性中的至少一种;S2、根据软件测试需求,按质量模型列表生成软件测试用例;S3、输出软件测试用例。本发明的软件测试用例的构建方法步骤简单,对软件测试覆盖面广,降低了用例设计时遗漏的风险。
Description
技术领域
本发明涉及软件测试领域,更具体地说,涉及一种软件测试用例的构建方法。
背景技术
测试用例是将软件测试的行为活动做一个科学化的组织归纳,目的是能够将软件测试的行为转化成可管理的模式,同时测试用例也是将测试具体量化的方法之一。在软件测试用例的构建过程中,最容易出现用例覆盖不全的情况,即构建用例时会出现遗漏的风险。
因此,需要一种新的软件测试用例的构建方法,实现用例构建覆盖全面。
发明内容
本发明的目的在于提供一种软件测试用例的构建方法,解决现有软件测试用例构建过程中用例覆盖不全的问题。
本发明提供了一种软件测试用例的构建方法,包括以下步骤:
S1、将软件测试过程中的质量模型进行列表,获得质量模型列表,所述质量模型包括软件测试的功能性、可靠性、易用性、效率、维护性及可移植性中的至少一种;
S2、根据软件测试需求,按质量模型列表生成软件测试用例;
S3、输出软件测试用例。
进一步地,所述步骤S2包括以下步骤:
S21、将所述质量模型进行分解,得二级分解项,将软件测试过程中的二级分解项进行列表,获得二级分解项列表;所述功能性的二级分解项包括实用性、准确性、互操作性、保密安全性、及功能的依从性中的至少一种;所述可靠性的二级分解项包括成熟性、容错性、易恢复性、及可靠性的依从性中的至少一种;所述易用性的二级分解项包括易理解性、易学性、易操作性、易吸引性、及易用性的依从性中的至少一种;所述效率的二级分解项包括时间特性,资源利用性,及效率依从性中的至少一种;所述维护性的二级分解项包括易分析性、易改变性、稳定性、易测试性、及维护性的依从性中的至少一种;所述可移植性的二级分解项包括适应性、易安装性、共存性、易替换性、及可移植性的依从性中的至少一种;
S22、根据软件测试需求,按二级分解项列表生成软件测试用例。
进一步地,所述步骤S22完成后还包括以下步骤:
S23、对生成的软件测试用例进行复审,去除重复的二级分解项。
本发明软件测试用例的构建方法,通过设计包括功能性、可靠性、易用性、效率、维护性、可移植性的质量模型,针对具体需求按质量模型构建软件测试用例,从而使得软件测试用例设计覆盖全面,大大降低了用例设计时遗漏的风险。
具体实施方式
为了使本发明的目的、技术方案及优点更加清楚明白,以下对本发明进行进一步详细说明。
本发明第一实施例,提出了一种网站用户注册的软件测试用例构建方法,如表1所示,包括以下步骤:将质量模型的二级分解项列表,其中质量模型包括软件测试的功能性、可靠性、易用性、效率、维护性及可移植性;功能性可包括适合性、互操作习惯和保密安全性;可靠性包括成熟性、容错性;易用性包括易理解性、易操作性;效率包括时间特性和资源利用性;维护性包括易分析性、易改变性和稳定性,可移植性包括适应性;根据列表进行具体的用例构建;输出软件测试用例。
表1 一种网站用户注册软件测试用例的构建列表
。
本发明提出了第二实施例,本实施例中质量模型的二级分解项分别如下:功能性的二级分解项包括实用性、准确性、互操作性、保密安全性、以及功能的依从性;可靠性的二级分解项包括成熟性、容错性、易恢复性、以及可靠性的依从性;易用性的二级分解项包括易理解性、易学性、易操作性、易吸引性、以及易用性的依从性;效率的二级分解项包括时间特性,资源利用性,以及效率依从性;维护性的二级分解项包括易分析性、易改变性、稳定性、易测试性、以及维护性的依从性;可移植性的二级分解项包括适应性、易安装性、共存性、易替换性、可移植性的依从性。
在构建软件测试用例的过程中,可以根据需求对上述质量模型选择性使用。
在生成软件测试用例后,对生成的软件测试用例进行复审,去掉重复的二级分解项后,输出软件测试用例。
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。
Claims (3)
1.一种软件测试用例的构建方法,其特征在于,包括以下步骤:
S1、将软件测试过程中的质量模型进行列表,获得质量模型列表,所述质量模型包括软件测试的功能性、可靠性、易用性、效率、维护性及可移植性中的至少一种;
S2、根据软件测试需求,按质量模型列表生成软件测试用例;
S3、输出软件测试用例。
2.根据权利要求1所述的软件测试用例的构建方法,其特征在于,所述步骤S2包括以下步骤:
S21、将所述质量模型进行分解,得二级分解项,将软件测试过程中的二级分解项进行列表,获得二级分解项列表;所述功能性的二级分解项包括实用性、准确性、互操作性、保密安全性、及功能的依从性中的至少一种;所述可靠性的二级分解项包括成熟性、容错性、易恢复性、及可靠性的依从性中的至少一种;所述易用性的二级分解项包括易理解性、易学性、易操作性、易吸引性、及易用性的依从性中的至少一种;所述效率的二级分解项包括时间特性,资源利用性,及效率依从性中的至少一种;所述维护性的二级分解项包括易分析性、易改变性、稳定性、易测试性、及维护性的依从性中的至少一种;所述可移植性的二级分解项包括适应性、易安装性、共存性、易替换性、及可移植性的依从性中的至少一种;
S22、根据软件测试需求,按二级分解项列表生成软件测试用例。
3.根据权利要求2所述的软件测试用例的构建方法,其特征在于,所述步骤S22完成后还包括以下步骤:
S23、对生成的软件测试用例进行复审,去除重复的二级分解项。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710233204.3A CN108694119A (zh) | 2017-04-11 | 2017-04-11 | 软件测试用例的构建方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710233204.3A CN108694119A (zh) | 2017-04-11 | 2017-04-11 | 软件测试用例的构建方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108694119A true CN108694119A (zh) | 2018-10-23 |
Family
ID=63843529
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710233204.3A Pending CN108694119A (zh) | 2017-04-11 | 2017-04-11 | 软件测试用例的构建方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108694119A (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115344504A (zh) * | 2022-10-19 | 2022-11-15 | 广州软件应用技术研究院 | 基于需求规格说明书的软件测试用例自动生成方法及工具 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060048082A1 (en) * | 2004-08-30 | 2006-03-02 | International Business Machines Corporation | Test-cases for functional verification of system-level interconnect |
CN101520746A (zh) * | 2008-02-29 | 2009-09-02 | 兰雨晴 | 一种用于多种软件形态的质量评估方法及系统 |
CN101604288A (zh) * | 2009-07-10 | 2009-12-16 | 北京航空航天大学 | 一种基于测试数据的软件质量评价方法 |
-
2017
- 2017-04-11 CN CN201710233204.3A patent/CN108694119A/zh active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060048082A1 (en) * | 2004-08-30 | 2006-03-02 | International Business Machines Corporation | Test-cases for functional verification of system-level interconnect |
CN101520746A (zh) * | 2008-02-29 | 2009-09-02 | 兰雨晴 | 一种用于多种软件形态的质量评估方法及系统 |
CN101604288A (zh) * | 2009-07-10 | 2009-12-16 | 北京航空航天大学 | 一种基于测试数据的软件质量评价方法 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115344504A (zh) * | 2022-10-19 | 2022-11-15 | 广州软件应用技术研究院 | 基于需求规格说明书的软件测试用例自动生成方法及工具 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108694119A (zh) | 软件测试用例的构建方法 | |
TW200634630A (en) | A method and an apparatus for using code written in a language that is not native to the computer system to invoke a procedure written in a programming language that is native to the computer system | |
Motl et al. | Introducing Flow-er: A hydrodynamics code for relativistic and Newtonian flows | |
CN107608659A (zh) | 应用于响应多任务的LabVIEW的软件架构的设计方法 | |
Harbola et al. | Universal nature of different methods of obtaining the exact Kohn-Sham exchange-correlation potential for a given density | |
Yeung et al. | An examination of effects of finite resolution and sampling uncertainties in large-scale direct numerical simulations of turbulence | |
Zago et al. | Versatility of the SPH method in the simulation of lava-environment interactions | |
Gervais et al. | Programming a Detector Emulator on NI's FlexRIO Platform | |
Meurice | Tensorial tools for quantum computing | |
Desai et al. | Global MHD/test particle simulations of radiation belt dynamics during extreme space weather events | |
Wei et al. | Amplified uncertainty in the terrestrial carbon cycle from CMIP5 to CMIP6 | |
Selman et al. | Can the CESM Large Ensemble Reliably Recreate ENSO Precursors? | |
Maxfield et al. | Investigation of scale-dependent dynamic alignment in the solar wind using WIND data | |
Sills et al. | Guilford County Solution to the Opioid Problem (GCSTOP): A Model for University/Community Partnerships | |
Pfannerstill et al. | A framework for the verification of process dynamics with temporal parameter sensitivity analysis | |
Abood et al. | US Forest Service National Riparian Areas. | |
Panzik et al. | Analysis of Geomagnetic Field Geometry Technique Consistency Using Geodynamo Simulations | |
Brazickas et al. | Search for signatures of Littlest Higgs with T-parity dijet final states with the ATLAS detector | |
Evans et al. | Structure of Inert Gases Adsorbed in MCM-41 | |
Newton et al. | CO 2-adapted legumes ameliorate but do not prevent the negative effect of elevated CO 2 on nitrogen fixation | |
Steinkamp et al. | Multi-centennial ecosystem modelling in northeastern America at the species level | |
Cancio et al. | Visualizing the Kohn-Sham kinetic energy density in molecules | |
Gori-Giorgi | The Lieb-Oxfourd bound and the exchange-correlation kernel from the strictly-correlated electrons functional | |
Katsman et al. | Meridional Overturning Circulation, Ocean Heat Content and Regional Sea Level in a Warming Climate: an Analysis of a Suite of Climate Model Simulations | |
Millholland et al. | Magnetic Field Modeling of Complex, Flare Productive Active Regions |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Longgang District of Shenzhen City, Guangdong province 518116 Longgang Street Community 6 new road bridge Baolong Baolong Industrial Park building B building 1-3 floor Applicant after: Shenzhen meimeimeichuangyi Medical Technology Co., Ltd Address before: Longgang District of Shenzhen City, Guangdong province 518116 Longgang Street Community 6 new road bridge Baolong Baolong Industrial Park building B building 1-3 floor Applicant before: MEHOW INNOVATIVE Ltd. |
|
CB02 | Change of applicant information | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20181023 |
|
WD01 | Invention patent application deemed withdrawn after publication |