Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A distributed automated software testing method and system

A software testing method, software testing technology, applied in software testing/debugging, error detection/correction, instruments, etc., to achieve the effect of easy analysis and solution

Active Publication Date: 2021-01-01
INST OF SOFTWARE - CHINESE ACAD OF SCI
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditional automated software testing does not support this scenario

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
  • A distributed automated software testing method and system
  • A distributed automated software testing method and system
  • A distributed automated software testing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The present invention will be further described by examples below, but the scope of the present invention is not limited in any way.

[0039] Set the following test scenarios: one server, one server; four clients, namely client1, client2, client3, and client4; the use case test table has 5 detection items, which are case1, case2, case3, case4, and case5, 5 tests The specific content of the item is shown in Table 1:

[0040] Table 1 is the description of the 5 cases

[0041] Case name describe Case1 Test the btrfs file system based on ltp Case2 Test the scheduling performance of CPU based on ltp Case3 Test for inter-process management based on ltp Case4 Test memory management based on ltp Case5 Test system calls based on ltp

[0042] A copy of expected test result data is already stored in the database of the server.

[0043] The implementation steps are as follows:

[0044] 1) Server-side system initialization: load ...

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 present invention discloses a distributed automatic software testing method and system. The method is as follows that: 1) a server loads the software test task list and a configuration file of each client, checks the state of each client, establishes a client state table, and selects two to-be-tested algorithms of A and B with same functions; 2) each client carries out environment deployment according to the algorithm A, and the server selects an unexecuted test task from the software test task list and sends the test tasks to a selected client; 3) the client executes the received test task and sends a test result to the server; 4) the clients update the environment deployment according to the algorithm B, and repeating steps 1) to 3); and 5) the server determines whether two test results corresponding to each test task are different, for the test task with performance degradation, test is carried out based on the dichotomy, and the patch leading to performance degradation of the tested module is automatically positioned finally. According to the method and system disclosed by the present invention, the developer can analyze and solve the corresponding problem in a facilitated manner.

Description

technical field [0001] The invention belongs to the technical field of computer software, relates to the scene of performing software testing on multiple computers at one time, and proposes a distributed automatic software testing method and system. Background technique [0002] Software testing (or software testing) is a process used to identify the correctness, integrity, security and quality of software. Software testing is a review or comparison process between the actual output and the expected output. The purpose is to operate the program under specified conditions to find program errors, measure software quality, and evaluate whether it can meet the design requirements. process. Software testing arose along with the production of software, which was completed by software developers themselves in the early days, and now it is completed by specialized testers. [0003] At present, the functions of large-scale software are becoming more and more complex, and the corres...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3688G06F11/3692
Inventor 侯朋朋于佳耕孙瑞光董博南邹玲杨骁
Owner INST OF SOFTWARE - CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products