CN107491395A - A kind of self-defined test case framework application method - Google Patents

A kind of self-defined test case framework application method Download PDF

Info

Publication number
CN107491395A
CN107491395A CN201710797414.5A CN201710797414A CN107491395A CN 107491395 A CN107491395 A CN 107491395A CN 201710797414 A CN201710797414 A CN 201710797414A CN 107491395 A CN107491395 A CN 107491395A
Authority
CN
China
Prior art keywords
test
module
subframe
test case
demand
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
Application number
CN201710797414.5A
Other languages
Chinese (zh)
Inventor
吴祖顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710797414.5A priority Critical patent/CN107491395A/en
Publication of CN107491395A publication Critical patent/CN107491395A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable

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)
  • Debugging And Monitoring (AREA)

Abstract

A kind of self-defined test case framework application method, comprises the following steps:Web-based management platform is initially set up, builds test case framework;Functional test subframe, demand subframe and system management module are set in test case framework, the functional test subframe includes multiple functional test sub-modules, set by testing subframe stratification, until refineing to the minimum test focus of test case;Include multiple functional requirement sub-modules in the demand subframe, the demand point until specific test case is set by the stratification of demand subframe;Quantity and position further according to software under testing test focus, functional test subframe and minimum test focus, demand subframe and demand point are established into corresponding relation, carry out software test use.The present invention is set by the modularization of test case, so as to the minimum test focus of determination of system and the demand point of test case, improves the service efficiency of test case and the test quality of software.

Description

A kind of self-defined test case framework application method
Technical field
The present invention relates to a kind of method for testing software, more particularly to a kind of self-defined test case framework application method.
Background technology
With developing rapidly for internet industry, the demand of software product also more and more functions and more purposes, it is employed In the every field of society, as software function is stronger and stronger, its complexity also more and more higher, user to software in itself Safety and stability also have higher requirement therewith.In the development process of software product, software test is must can not A few part, and test case is the core of software test, is the basic foundation for performing test.Examined by test case Whether software can realize expected purpose and normal function, therefore the quality and validity of test case, determine to a certain extent The quality of software product.
In the prior art also without for test case rationally, it is efficient set and application method, especially nowadays to one The individual product newly gone out is tested, and is required for spending substantial portion of testing time and substantial amounts of tester substantially to this Product carries out brand-new use-case and write, and the needs of writing of test case are write and used according to certain technological means, with true A whole set of fixed testing process focus, so as to which the possible test point of software product is included in into all functional tests All in framework, to improve the quality of the efficiency of test and test.
As that Chinese patent (Authorization Notice No. CN102722437B) discloses is " a kind of to be surveyed based on the spacecraft of component and script Test system ", including:Test case editing environment module and test case performing environment module.The test case editing environment Module includes test suite storehouse, script function storehouse, test case graphic interface, wherein, the test suite storehouse includes test Component;The script function storehouse includes script function;The test case graphic interface is according to test case by pulling cloth Put described test suite, script function and/or script placeholder;And the test suite of arrangement is carried out parameter setting with And Scripting Edition is carried out to the script placeholder, form test case;The test case performing environment module is to the survey Example on probation is parsed, and forms the executable sequence of test case;And the test case sequence is carried out in test process Perform and complete test.Meanwhile test script is combined and realized to boat by also corresponding method of testing, the present invention with test suite The automatic test of its device.The method of testing, which eliminates test case, stronger specific aim, therefore, still fails to improve well and surveys The service efficiency and quality of example on probation.
The content of the invention
The invention provides a kind of self-defined test case framework application method, for solving to be directed to software in the prior art The problem of test case service efficiency is relatively low and quality is not easy management and control.
The present invention is achieved by the following technical programs:
A kind of self-defined test case framework application method, comprises the following steps:
Web-based management platform is initially set up, builds test case framework;
Functional test subframe, demand subframe and system management module, the function are set in test case framework Test subframe includes multiple functional test sub-modules, is set by testing subframe stratification, until refineing to test case Minimum test focus;
Include multiple functional requirement sub-modules in the demand subframe, set by the stratification of demand subframe until having The demand point of body test case;
Quantity and position further according to software under testing test focus, functional test subframe and minimum test are paid close attention to Point, demand subframe and demand point establish corresponding relation, carry out software test use.
A kind of self-defined test case framework application method as described above, the functional test sub-module include interface friend Good property test module, functional test module, link test module, tolerating measure module, stability test module, traditional performance are surveyed Die trial block, configuration testing module and test of heuristics module.
A kind of self-defined test case framework application method as described above, the functional requirement sub-module include main interface Module, cloud resource management module, cloud service module, cloud security module and intelligent monitored control module.
A kind of self-defined test case framework application method as described above, it is provided with the functional test sub-module more Individual test point.
A kind of self-defined test case framework application method as described above, multiple need are provided with the demand sub-module Ask a little.
Compared with prior art, it is an advantage of the invention that:
The present invention is set by the modularization of test case, and functional test subframe is set in test case framework, is needed Subframe and system management module are asked, the demand point of focus and test case is tested so as to the determination minimum of system, It can preferably ensure homogeneity and normalization in specific software product testing, avoid the omission of test point, improve test and use The service efficiency of example and the test quality of software.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described.
Fig. 1 is the flow chart of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments.
As shown in figure 1, a kind of self-defined test case framework application method of the present embodiment, comprises the following steps:
A web-based management platform is initially set up, builds test case framework;
Functional test subframe, demand subframe and system management module, the function are set in test case framework Test subframe includes multiple functional test sub-modules, is set by testing subframe stratification, until refineing to test case Minimum test focus.Wherein described functional test sub-module includes friendly interface test module, functional test module, chain Test module, tolerating measure module, stability test module, traditional performance test module, configuration testing module and algorithm is connect to survey Die trial block.
Include multiple functional requirement sub-modules in the demand subframe, set by Demand Frame stratification until specific The demand point of test case.The functional requirement sub-module include main interface module, cloud resource management module, cloud service module, Cloud security module and intelligent monitored control module.
Quantity and position further according to software under testing test focus, functional test subframe and minimum test are paid close attention to Point, demand subframe and demand point establish corresponding relation, carry out software test use.
It can specifically say, the present invention, in use, by building web-based management platform;Then built on web-based management platform Functional test subframe, demand subframe;It is newly-built in above-mentioned subframe, modification, test focus is deleted, such as test point 1, surveyed Pilot 2, test point 3 etc., and stamp the labels of related needs, demand point 1, demand point 2, demand point 3 etc. for test point 1;Pin It is corresponding with the testing requirement of software by test case when testing software, it is determined that corresponding demand point and test point, from And test case is facilitated to use.
The present invention is set by the modularization of test case, and functional test subframe is set in test case framework, is needed Subframe and system management module are asked, the demand point of focus and test case is tested so as to the determination minimum of system, It can preferably ensure homogeneity and normalization in specific software product testing, avoid the omission of test point, improve test and use The service efficiency of example and the test quality of software.
The technology contents of the not detailed description of the present invention are known technology.

Claims (5)

1. a kind of self-defined test case framework application method, it is characterised in that comprise the following steps:
Web-based management platform is initially set up, builds test case framework;
Functional test subframe, demand subframe and system management module, the functional test are set in test case framework Subframe includes multiple functional test sub-modules, is set by testing subframe stratification, until refineing to test case most Small test focus;
Include multiple functional requirement sub-modules in the demand subframe, set by the stratification of demand subframe until specific survey The demand point of example on probation;
Quantity and position further according to software under testing test focus, by functional test subframe and minimum test focus, need Ask subframe and demand point to establish corresponding relation, carry out software test use.
2. a kind of self-defined test case framework application method according to claim 1, it is characterised in that the function is surveyed Trying sub-module includes friendly interface test module, functional test module, link test module, tolerating measure module, stability Test module, traditional performance test module, configuration testing module and test of heuristics module.
3. a kind of self-defined test case framework application method according to claim 1, it is characterised in that the function needs Sub-module is asked to include main interface module, cloud resource management module, cloud service module, cloud security module and intelligent monitored control module.
4. a kind of self-defined test case framework application method according to claim 2, it is characterised in that the function is surveyed Multiple test points are provided with examination sub-module.
A kind of 5. self-defined test case framework application method according to claim 3, it is characterised in that the demand point Multiple demand points are provided with module.
CN201710797414.5A 2017-09-06 2017-09-06 A kind of self-defined test case framework application method Pending CN107491395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710797414.5A CN107491395A (en) 2017-09-06 2017-09-06 A kind of self-defined test case framework application method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710797414.5A CN107491395A (en) 2017-09-06 2017-09-06 A kind of self-defined test case framework application method

Publications (1)

Publication Number Publication Date
CN107491395A true CN107491395A (en) 2017-12-19

Family

ID=60651631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710797414.5A Pending CN107491395A (en) 2017-09-06 2017-09-06 A kind of self-defined test case framework application method

Country Status (1)

Country Link
CN (1) CN107491395A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109977017A (en) * 2019-03-28 2019-07-05 北京粉笔蓝天科技有限公司 A kind of system performance testing case screening method and system
CN111309637A (en) * 2020-05-14 2020-06-19 四川新网银行股份有限公司 Software testing and analyzing method based on bank micro-service
CN108228464B (en) * 2018-01-12 2020-12-29 浪潮通用软件有限公司 Mobile application UI (user interface) testing framework based on data driving and implementation method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1873625A (en) * 2005-08-19 2006-12-06 华为技术有限公司 Method for automatic generating random excitation based on percentage of function coverage
CN105302718A (en) * 2015-10-26 2016-02-03 浪潮电子信息产业股份有限公司 Design method of multiplexing software-oriented test model
EP3109763A1 (en) * 2015-06-24 2016-12-28 Tata Consultancy Services Limited Method and system for generating functional test cases for software systems
CN106649085A (en) * 2016-09-23 2017-05-10 郑州云海信息技术有限公司 Cloud computing-based software test system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1873625A (en) * 2005-08-19 2006-12-06 华为技术有限公司 Method for automatic generating random excitation based on percentage of function coverage
EP3109763A1 (en) * 2015-06-24 2016-12-28 Tata Consultancy Services Limited Method and system for generating functional test cases for software systems
CN105302718A (en) * 2015-10-26 2016-02-03 浪潮电子信息产业股份有限公司 Design method of multiplexing software-oriented test model
CN106649085A (en) * 2016-09-23 2017-05-10 郑州云海信息技术有限公司 Cloud computing-based software test system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ROYFANS: ""测试用例编写(功能测试框架)"", 《HTTPS://WWW.CNBLOGS.COM/ROYFANS/ARTICLES/7232207.HTML》 *
XIAOYUWEIRE: ""功能测试需求及案例设计指南"", 《HTTPS://WENKU.BAIDU.COM/VIEW/73D555C82DC58BD63186BCEB19E8B8F67C1CEF9B.HTML》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228464B (en) * 2018-01-12 2020-12-29 浪潮通用软件有限公司 Mobile application UI (user interface) testing framework based on data driving and implementation method thereof
CN109977017A (en) * 2019-03-28 2019-07-05 北京粉笔蓝天科技有限公司 A kind of system performance testing case screening method and system
CN111309637A (en) * 2020-05-14 2020-06-19 四川新网银行股份有限公司 Software testing and analyzing method based on bank micro-service
CN111309637B (en) * 2020-05-14 2020-08-21 四川新网银行股份有限公司 Software testing and analyzing method based on bank micro-service

Similar Documents

Publication Publication Date Title
CN111159049B (en) Automatic interface testing method and system
CN108376061B (en) Method and apparatus for developing unmanned vehicle applications
CN106294179B (en) Analog detection method and server in process of application development
CN106649103B (en) A kind of method and system of Android application program Automated Black Box Testing
CN104717337B (en) A kind of method of batch testing mobile phone application and its equipment used
US9703690B2 (en) Determining test case efficiency
CN107491395A (en) A kind of self-defined test case framework application method
CN105373478B (en) Automated testing method and system
CN102141962A (en) Safety distributed test framework system and test method thereof
CN105912469A (en) Automatic detection method of testing scripts for rail transit vehicle-mounted controller software
CN108459850B (en) Method, device and system for generating test script
CN109298317A (en) A kind of Intelligent test device and its test method of middle low-frequency channel
CN106502898A (en) Method of testing and test driver and test platform
CN111782556A (en) Automatic test method and device
CN105630665A (en) Application program debugging method based on Android system, and terminal equipment
CN107704389A (en) A kind of page method of testing and device
CN108776723B (en) Test system self-checking adapter connection line generation method, device, equipment and storage medium
CN103309807B (en) program testing method and platform
CN111176995A (en) Test method and test system based on big data test case
CN106972983A (en) The automatic test device and method of network interface
CN114564381A (en) Complete machine production and test method for Internet of things equipment
CN105653445B (en) A kind of implementation method for meeting DO 178C test results
CN107566826A (en) The method of testing and device of grating image processor
CN114661615B (en) FPGA software testing method and device
WO2023110478A1 (en) Method for automatically exploring states and transitions of a human machine interface (hmi) device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171219

RJ01 Rejection of invention patent application after publication