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

A Crowdsourced Test Amplification Method Based on Test Slices

A crowdsourcing and slicing technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problems of low test adequacy and poor readability, and achieve the effect of high readability and improved test adequacy

Active Publication Date: 2022-06-17
GUANGZHOU PANYU POLYTECHNIC +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The problem to be solved by the present invention is: the test adequacy of the result code of the crowdsourcing test is low, and the readability is poor; adapting to the crowdsourcing test scene and filling the vacancy of the crowdsourcing test amplification technology

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 Crowdsourced Test Amplification Method Based on Test Slices
  • A Crowdsourced Test Amplification Method Based on Test Slices
  • A Crowdsourced Test Amplification Method Based on Test Slices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Several key technologies involved in the present invention are JGraphT graph operation library; Soot tool for obtaining control flow graph and realizing program slice; Javaparser tool for realizing code transformation; JDart tool for realizing dynamic symbol execution, collecting execution track and path constraint.

[0042] 1. JGraphT graph manipulation library

[0043] JGraphT is a Java third-party library that supports the customization of graph elements and provides a variety of graph algorithms including most path search, loop search, loop determination, and graph traversal. The invention utilizes JGraphT to save the information obtained by dynamic and static program analysis as a graph structure, and realizes operations such as path search, ring search and the like.

[0044] 2. Soot program analysis tool

[0045] Soot is a Java bytecode analysis tool that provides a variety of Java intermediate representations and supports a variety of program analysis algorithms...

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 crowdsourcing test amplification method based on test slices, which includes the following steps: 1) Using static information as a global guide for test amplification, running the test through dynamic symbol execution technology, and performing the operation information of the existing crowdsourcing test Analysis and statistics, in the form of test atoms, test slices, and test drives; 2) Identify and sort unexplored paths in the crowdsourcing test to be tested, and then select paths in order and solve them to obtain new test data; 3) Put the new test The data input is filled into the corresponding crowdsourcing test code template to obtain a new runnable test case, thus realizing the amplification of the crowdsourcing test results to be tested. The invention can effectively improve the test adequacy of crowdsourcing test codes, and at the same time generate test cases with high readability, adapt to crowdsourcing test scenarios, and fill the vacancy of crowdsourcing test amplification technology.

Description

technical field [0001] The invention belongs to the field of software engineering, in particular to the application of program analysis and dynamic symbol execution technology in the field of software engineering, and is used for amplifying the result codes of crowdsourcing tests. Background technique [0002] Crowdsourcing testing is an effective software testing mode, which aims to solve software testing problems through crowdsourcing and using crowd intelligence. It is currently widely used in Android testing, unit testing, and test report management. Crowdsourced testing usually relies on cloud platforms, which can harvest a large number of test codes and provide rich test code templates and test inputs. However, crowdsourced test code can be poorly tested and poorly readable, and the results need to be further enhanced. [0003] Test augmentation is a widely researched technique that builds on existing tests by generating new tests to enhance the effectiveness of exist...

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/368G06F11/3684G06F11/3696
Inventor 杨鹏张晋桂余明辉钟闰禄钱瑞祥陈振宇
Owner GUANGZHOU PANYU POLYTECHNIC
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