Test case selection method and device applied to distributed storage system and medium
A distributed storage and test case technology, applied in software testing/debugging, version control, software maintenance/management, etc., can solve the problems of large subjective factors in test regression range, reduced test efficiency, and time-consuming, etc., to reduce Dependence on human experience, improving test reliability, and reducing workload
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0037] Such as figure 1 As shown, the present embodiment provides a method for selecting test cases applied to a distributed storage system, comprising the following steps: obtaining a code change function list of the software code of the version to be tested relative to the software code of the reference version; based on the code change function list And software information generates version change information, and software information includes file ID, module ID, CPU type, network type and author etc.; With described version change information as the input of a trained test case scoring model, obtain preset test case concentration The confidence level of each test case is to calculate the probability that each function that undergoes code changes will affect the results of the preset test cases. Specifically, the test case scoring model obtains software change characteristics based on the version change information, And obtain the use case characteristics of each test in t...
test Embodiment ID
[0048] Historical defect data has fields such as test case ID, software historical version, and defect level.
[0049] Format in data: FunctionID::CaseID::Rating
[0050] In this embodiment, Rating is the target to be learned by the test case scoring model.
[0051] 2. Data preprocessing
[0052] In this embodiment, different data preprocessing is performed on data in different fields:
[0053] FunctionID, FileID, ModuleID and AuthorID do not change.
[0054] Gender field: Need to convert 'F' and 'M' into 0 and 1.
[0055] CPU field: According to the actual situation of the system, it supports three types of CPUs: Intel, AMD, and ARM, and convert them into three consecutive numbers 0~2.
[0056] Network field: According to the actual situation of the system, it supports three types of networks: Ethernet, RDMA, and RoCE, and converts them into three consecutive numbers 0-2.
[0057] Genres field: It is a categorical field, which needs to be converted into a number. In the...
Embodiment 2
[0071] This embodiment provides a test case selection device applied to a distributed storage system, including one or more processors, memory and one or more programs stored in the memory, the one or more programs include Execute the instructions of the test case selection method applied to the distributed storage system as described in Embodiment 1.
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