CN101030163A - Method for deciding human-machine interface testing covering rate - Google Patents

Method for deciding human-machine interface testing covering rate Download PDF

Info

Publication number
CN101030163A
CN101030163A CN 200610008094 CN200610008094A CN101030163A CN 101030163 A CN101030163 A CN 101030163A CN 200610008094 CN200610008094 CN 200610008094 CN 200610008094 A CN200610008094 A CN 200610008094A CN 101030163 A CN101030163 A CN 101030163A
Authority
CN
China
Prior art keywords
man
machine interface
test
information
logical path
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
CN 200610008094
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.)
Li Ruoyang
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 200610008094 priority Critical patent/CN101030163A/en
Publication of CN101030163A publication Critical patent/CN101030163A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

A method for judging test coverage rate of man-machine boundary includes obtaining man-machine boundary information used in product, seizing and identifying man-machine boundary information of actual product by inserting man-machine boundary information seizure-identification interface in man-machine boundary software module, executing man-machine boundary test on product and recording test state then counting up test state for obtaining test result containing test coverage rate.

Description

A kind of method of judging the man-machine interface test coverage
Technical field
The present invention relates to field tests, especially a kind of method of measuring the man-machine interface test coverage.
Background technology
At present, the man-machine interface test is a kind of main means of testing in the product Black-box Testing, and the measurement of test coverage in known man-machine interface test is to realize by the ratio of product problem in the problem complete or collected works that found that the collection contrast feeds back.Perhaps before the test implementation and after implementing, rely on the test case that contrast planned and the test case of execution, and draw test coverage.After test implementation, having a certain amount of potential problems can't find in test process, and this part problem will flow in client's hand along with product.That is to say that the problem that the client feeds back is many more, the order of severity of problem is high more, show product early stage tested degree and test coverage not enough all the more, product quality is poor more.The method of such measurement test coverage can't be reflected timely in the research and development of products stage.And, then directly depend on the objectivity and the adequacy of plan by contrasting the method for the test case of planning and implementing.Therefore, the method for general measurement test coverage can't accomplish that the quality of product can't obtain the control of science timely and effectively for the research and development of products process provides timely and objective data.
Summary of the invention
Can not be timely in order to overcome existing measurement products Black-box Testing coverage rate method, the problem in the real test process of objective reflection and the deficiency of test mass, this method has utilized the indicative resource in the man-machine interface to exist as demand in research and development of products, with in actual product, understand as the user, use the characteristics of the key factor of product, a kind of test coverage measuring method is provided, this method can be in the process of research and development of products in time, reflect the man-machine interface coverage rate objectively, thereby reach the purpose of further measurement Black-box Testing coverage rate and test mass.
The technical solution adopted for the present invention to solve the technical problems is: the user is by understanding the content in the product man-machine interface when using product, and then operation or use this product.Before specific product is realized, various elements in the man-machine interface are the resource requirement that pre-defines, it is preserved with file or other forms and links up the developer who gives specific product, and research and development of products person utilizes these man-machine interface content resources to carry out the research and development of specific product.In the man-machine interface content resource,, when the user uses product, be the indicative resources such as icon, literal, figure, image, symbol in the operation man-machine interface with the indication as the function of expressing product such as icon, literal, figure, image, symbol.Indicative resource in the actual man-machine interface that utilization of the present invention is obtained in test process and research and development of products person used man-machine interface content resource when realizing product compares, thereby draws test coverage.The present invention comprises following steps:
A. in research and development of products and demand stage, obtain the man-machine interface information that to use in the product.
B. on product, carry out man-machine interface detection, the record test status.
C. statistical test situation draws and comprises test coverage in interior test result.
The man-machine interface information of wherein said a in the step comprises: the indicative resource information of man-machine interface, man-machine interface logical path information etc.The indicative resource of man-machine interface specifically comprises: icon, literal, symbol, figure, image; Beacon information, the man-machine interface logical path information of the indicative resource of man-machine interface are stored with file mode.
The described b test status in the step comprises: the operated indicative resource beacon information of man-machine interface, the information such as man-machine interface logical path of operating in the test process.
The described c test result in the step comprises: the man-machine interface element of the test dynamics of the man-machine interface element of testing, the man-machine interface logical path of testing, each man-machine interface element and man-machine interface logical path and repetition degree, the man-machine interface element of not testing, the man-machine interface logical path of not testing, emphasis and man-machine interface logical path, man-machine interface element, man-machine interface logical path sum, test coverage to be tested; Test coverage comprises: information such as man-machine interface element coverage rate, man-machine interface logical path coverage rate, the man-machine interface information acquisition in the step by contrast test situation and a.
The present invention is according to the man-machine interface information that will use in the test status contrast product that obtains in the test process, thereby obtains concrete test coverage in time.Analyze the coverage rate statistics, to testing progress, test mass carry out in time, objective assessment.
The appraisal procedure of the test coverage that the present invention introduces in field tests, can whether fully provide important evidence for estimating product test, and the method can dynamically obtain the software test coverage rate in the research and development of products process, and then provides timely, scientific and effective feedback for controlling product quality.It has following advantage:
1. provide a quantized data for passing judgment on product test adequacy and integrality.
2. can be used for instructing structure test plan, test case, improve test mass.
3. avoid the man-machine interface test to omit.
4. in time, the reflection test makes progress objectively, for the project scheduling, production assurance provide the tolerance foundation.Describe the present invention in detail below in conjunction with accompanying drawing and instantiation.
Description of drawings
Fig. 1 is the product man-machine interface testing process synoptic diagram of simplifying;
Fig. 2 is the process flow diagram of method described in the invention;
Embodiment
The man-machine interface test is a kind of method of Black-box Testing, is requisite means of testing in the research and development of products.What the user directly faced is the man-machine interface of product, and the man-machine interface of product has directly reflected the ease for use of product, important attribute such as functional.Therefore software man-machine interface test, direct modeling the user use the behavior of product, man-machine interface test coverage particularly, represented the user to use the degree of this product, and then the realization that reflects product meets the degree of requirement definition, with range, the degree of depth of test, be the key that guarantees product quality.
As shown in Figure 1, be the man-machine interface testing process synoptic diagram of a simplification in the research and development of products process.Obtain from demand, generate test plan and test case,, arrive assessment product quality and test mass again, the final products listing to test execution.In this R﹠D process, assessment product quality and test mass become key one ring whether the decision product goes on the market.If evaluation process can not truly reflect the actual mass and the test mass of product objectively, product will be with defective to be distributed to the final user.
This embodiment has been described a kind of method of judging software man-machine interface test coverage, specifically comprises following steps:
1. in research and development of products and demand stage, obtain the man-machine interface information that to use in the product.
Promptly at product demand stage and research and development initial stage, acquisition is about to be implemented in the man-machine interface information on the product.Its function is exactly the complete information that is used for weighing software man-machine interface test execution situation, and this is to judge the standard of product to wrong and testing adequacy, integrality.
2. on product, in the executive software test, write down test status.
Promptly in the human interface software module, insert man-machine interface information capture recognition interface, or the mode to make a video recording, to take a picture, in test process, monitor measurand, its function is exactly to catch and discern the man-machine interface information of actual product.In measuring executing process, information such as the man-machine interface element that the output test is traveled through, man-machine interface logical path write file with it.
3. statistical test situation draws and comprises test coverage in interior test result.
Promptly read the man-machine interface information that is write down in the file that from above-mentioned steps, is generated, add up then, analyze, draw man-machine interface element information that this test process covers, man-machine interface logical path information etc.Can be clear that in this man-machine interface test the test dynamics and the repetition degree of the man-machine interface element of testing, man-machine interface logical path, each man-machine interface element and man-machine interface logical path; And then and the first step in man-machine interface information relatively, can see man-machine interface element, the man-machine interface logical path do not tested, with those man-machine interface element of attaching most importance to and man-machine interface logical path, man-machine interface element to be tested, man-machine interface logical path sum and test coverage.Test coverage is man-machine interface element sum, the man-machine interface logical path sum that traveled through in this test process and needs the man-machine interface element sum of test, the percent value of man-machine interface logical path sum accordingly.
As shown in Figure 2, utilize and analyze resulting test coverage data, testing progress, test mass are assessed, thereby revise, improve and test, further improve the quality of products.

Claims (9)

1. a method of judging the man-machine interface test coverage is characterized in that, this method comprises following steps:
A. in research and development of products and demand stage, obtain the man-machine interface information that to use in the product.
B. on product, carry out man-machine interface detection, the record test status.
C. statistical test situation draws and comprises test coverage in interior test result.
2. a kind of method of judging the man-machine interface test coverage as claimed in claim 1 is characterized in that, the man-machine interface information among the described step a comprises: the indicative resource information of man-machine interface, man-machine interface logical path information.The beacon information of the indicative resource of man-machine interface is stored with file mode.
3. a kind of method of judging the man-machine interface test coverage as claimed in claim 1 is characterized in that described step a further comprises: the indicative resource of man-machine interface specifically comprises: icon, literal, symbol, figure, image.
4. a kind of method of judging the man-machine interface test coverage as claimed in claim 1 is characterized in that described step a further comprises: beacon information, the man-machine interface logical path information of the indicative resource of man-machine interface are stored with file mode.
5. a kind of method of judging the man-machine interface test coverage as claimed in claim 1, it is characterized in that the record test status among the described step b comprises: note down the indicative resource beacon information of man-machine interface operated in the test process, the man-machine interface logical path information that recording operation is crossed.
6. a kind of method of judging the man-machine interface test coverage as claimed in claim 1 is characterized in that described step b further comprises: the man-machine interface information that will test is exported by interface.
7 a kind of methods of judging the man-machine interface test coverage as claimed in claim 1 is characterized in that described step b further comprises: the man-machine interface information capture recognition interface that inserts in the human interface software module.
8. a kind of method of judging the man-machine interface test coverage as claimed in claim 1, it is characterized in that, described step b further comprises: in the mode of shooting, photograph, monitor measurand in test process, catch and discern the man-machine interface information of actual product.
9. a kind of method of judging the man-machine interface test coverage as claimed in claim 1, it is characterized in that the test result among the described step c comprises: the man-machine interface element of testing, the man-machine interface logical path of testing, the test dynamics of each man-machine interface element and man-machine interface logical path and repetition degree, the man-machine interface element of not testing, the man-machine interface logical path of not testing, the man-machine interface element of emphasis and man-machine interface logical path, man-machine interface element to be tested, man-machine interface logical path sum, man-machine interface element test coverage rate, man-machine interface logical path test coverage.
CN 200610008094 2006-03-01 2006-03-01 Method for deciding human-machine interface testing covering rate Pending CN101030163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610008094 CN101030163A (en) 2006-03-01 2006-03-01 Method for deciding human-machine interface testing covering rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610008094 CN101030163A (en) 2006-03-01 2006-03-01 Method for deciding human-machine interface testing covering rate

Publications (1)

Publication Number Publication Date
CN101030163A true CN101030163A (en) 2007-09-05

Family

ID=38715531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610008094 Pending CN101030163A (en) 2006-03-01 2006-03-01 Method for deciding human-machine interface testing covering rate

Country Status (1)

Country Link
CN (1) CN101030163A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101231614B (en) * 2008-02-02 2010-06-02 南京大学 Method for locating software unsoundness based on execution track block semblance
WO2011060655A1 (en) * 2009-11-23 2011-05-26 中兴通讯股份有限公司 Statistical method and system for software business functional coverage
CN102236729A (en) * 2010-04-29 2011-11-09 无锡中星微电子有限公司 Method and device for testing functional coverage
CN102486747A (en) * 2010-12-02 2012-06-06 中兴通讯股份有限公司 Statistical method for conventional functions of software system and engineering
CN105629948A (en) * 2015-12-24 2016-06-01 北京新能源汽车股份有限公司 Test case detection method and device
CN113094277A (en) * 2021-04-23 2021-07-09 广州粒子微电子有限公司 Chip test case management method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101231614B (en) * 2008-02-02 2010-06-02 南京大学 Method for locating software unsoundness based on execution track block semblance
WO2011060655A1 (en) * 2009-11-23 2011-05-26 中兴通讯股份有限公司 Statistical method and system for software business functional coverage
CN102236729A (en) * 2010-04-29 2011-11-09 无锡中星微电子有限公司 Method and device for testing functional coverage
CN102236729B (en) * 2010-04-29 2016-06-22 无锡中感微电子股份有限公司 The method of a kind of test function covering and device
CN102486747A (en) * 2010-12-02 2012-06-06 中兴通讯股份有限公司 Statistical method for conventional functions of software system and engineering
CN102486747B (en) * 2010-12-02 2015-06-03 中兴通讯股份有限公司 Statistical method for conventional functions of software system and engineering
CN105629948A (en) * 2015-12-24 2016-06-01 北京新能源汽车股份有限公司 Test case detection method and device
CN113094277A (en) * 2021-04-23 2021-07-09 广州粒子微电子有限公司 Chip test case management method and device

Similar Documents

Publication Publication Date Title
US8589886B2 (en) System and method for automatic hardware and software sequencing of computer-aided design (CAD) functionality testing
JP5586835B2 (en) Clinical diagnostic analyzer performance estimator
US20050144150A1 (en) Remote process capture, identification, cataloging and modeling
Bapst Assessing the effect of time-scaling methods on phylogeny-based analyses in the fossil record
US20200349466A1 (en) Providing performance views associated with performance of a machine learning system
US8396964B2 (en) Computer application analysis
CN101030163A (en) Method for deciding human-machine interface testing covering rate
US20150186248A1 (en) Content recording method and device
CN1658157A (en) Method and system for automatically determining differences in a user interface throughout a development cycle
Eckhardt et al. Challenging incompleteness of performance requirements by sentence patterns
US8825462B2 (en) Method and system for simulating a plurality of devices
US8296737B2 (en) Computer program for tracing impact of errors in software applications
Gao et al. Every pixel counts: Fine-grained UI rendering analysis for mobile applications
CN107562621A (en) The method and apparatus for determining manual test use-case and tested code incidence relation
Palanque et al. A model-based approach for engineering multimodal interactive
Bateman et al. Interactive usability instrumentation
CN108984380A (en) A kind of server test method, device and medium based on linux system
Baker et al. Automated usability testing using HUI analyzer
Macleod An introduction to usability evaluation.
Bucci et al. Metrics and tool for system assessment
Kaur et al. Non-functional requirements research: survey
JP2006059276A (en) Source code evaluating system
Buchholz et al. Model-based usability evaluation–evaluation of tool support
Eloranta et al. TopDocs: using software architecture knowledge base for generating topical documents
CN1940863A (en) Intelligent generating system and method for sensing programm

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20070907

Address after: Brilliance Road, Fengtai District, Beijing, 3B-803

Applicant after: Li Ruoyang

Address before: Brilliance Road, Fengtai District, Beijing, 3B-803

Applicant before: Li Chunfang

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication