Sampling method for test cases in clusters

A technology of test cases and cluster sampling, which is applied in the field of verification of software test results, can solve the problems of insufficient inspection of test results, and achieve the effect of saving manpower, time and energy

Inactive Publication Date: 2010-08-25
NANJING UNIV
View PDF2 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The technical problem to be solved by the present invention is: the existing observation-based software testing technology is not comprehensive enough in the inspection of test results, and the existing "adaptive sampli

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Sampling method for test cases in clusters
  • Sampling method for test cases in clusters
  • Sampling method for test cases in clusters

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

The present invention is based on the cluster filtering technology in the observed software testing technology, selects test cases in the cluster for verification, and calculates the credibility of the executed statements according to the verification results of the selected test cases. Pass, the statement is credible, otherwise it is suspicious; calculate the probability of failure of each remaining test case in the cluster according to the statement credibility. The test case with the highest probability, and then recalculate the credibility of each statement according to the verification result of the test case, and calculate the probability of failure of the remaining unverified test cases, and select the next test case; the whole sampling process is repeated in this way , until the failure probability of all remaining test cases in the cluster is 0, that is, the executed statements of the remaining test cases are all credible, then the test cases that have been sampled and ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a stamping method for test cases in clusters, which comprises the following steps of: selecting the test cases in the clusters to test based on a technology for filtrating the clusters in an observed software test technology; computing the reliability of excused sentences according to a test result; judging whether the excused sentences are doubtful sentences, wherein the doubtful sentences form a doubtful sentences set; computing the failure probability of remainder test cases in the clusters according to the doubtful sentences set; selecting the test case with the highest failure probability; testing the result and recomputing the reliability of each sentence; updating the doubtful sentences set; and repeating the step of sampling to the untested test cases till that the failure probability of all remainder test cases in the clusters are 0. As the results of the test cases after sampling do not need to be tested, the method simples the test cases, saves the time and the energy for manually testing the test cases, and guarantees that the failure test cases in the test cases to be sampled has significant proportion and the reliability value of the sentences can be used for helping test persons to perform error locating.

Description

technical field The invention belongs to the field of software testing and relates to the verification of software testing results. Firstly, the test cases are clustered according to the execution path, and then the test cases are extracted from each cluster to allow manual inspection of the test results, and the tests that require manual inspection of the results are reduced. Use case sets to save manpower. The present invention is mainly applied to the scenario where the generation of test input and the execution of test cases can be completed automatically, but the test results need to be manually compared, and it is a clustering and sampling method for test cases. Background technique Traditional software testing methods include three steps: 1) creating test inputs; 2) executing test cases; 3) checking test results. Software testing needs a lot of time and manpower, but it is an important means to ensure software quality. In order to save testing costs, researchers hav...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/36
Inventor 赵志宏严莎莉陈振宇章宸
Owner NANJING UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products