Software test case distance calculation method based on attraction degree
A technology of test cases and software testing, applied in software testing/debugging, computing, error detection/correction, etc., to achieve the effects of good formulation, easy quantification, and wide application range
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
test Embodiment c
[0032] For any two test cases c i , c j , the test case distance from IDTC ij It can be formulated as:
[0033]
[0034] or
[0035]
[0036]
[0037] Among them, aspiration ij Attraction for the test case, aspiration ij =1-similarity ij ;similarity ij It is the test case similarity, which is any monotonic function with a value between 0 and 1, namely similarity ij ∈ [0, 1]; nIDTC ij is the normalized form of test case distance. IDTC is the abbreviation of Intimacy-based Distance betweenTest Cases, and nIDTC is the abbreviation of normalized Intimacy-based Distance between Test Cases.
test Embodiment ci
[0038] According to the definition, for test case c i , c j , the greater the test case similarity, the less attractive the test case is, and the test case distance from IDTC ij Larger: Conversely, the smaller the test case similarity, the greater the test case attraction, and the test case distance from IDTC ij smaller. When selecting or sorting test cases, the test case with the smallest distance is preferred.
[0039] The test case similarity is not unique, it can have a variety of mathematical function forms, as long as the function meets the following two conditions: one is that the value is between 0 and 1; the other is a monotone function. Due to the non-uniqueness of similarity, aspiration and test cases are not unique from IDTC, but there is obviously: similarity ij ∈ [0, 1], aspiration ij∈[0,1].IDTC ij ∈[0,∞), nIDTC ij ∈[0,1).
[0040] A set of typical expressions of test case distance IDTC, test case aspiration and test case similarity are given below.
[0...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com