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

Test range determination method and device

A test range and determination method technology, applied in the field of test range determination methods and devices, can solve problems such as inaccurate determination of test range

Inactive Publication Date: 2017-01-25
BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention provides a method and device for determining the test range to solve the technical problem in the prior art that the determination of the test range is not accurate enough

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
  • Test range determination method and device
  • Test range determination method and device
  • Test range determination method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0130] In this embodiment, the method for determining the test scope is applied to the SVN (Subversion) system as an example for introduction, please refer to Figure 7 , the test range determination method includes the following steps:

[0131] Step S701: Import the function relationship information through the function analysis tool in advance. The function relationship information of each function may include: function path information, function name, function call information, function called information, function source code, function line number and other information.

[0132] Step S702: Import SVN log information from the SVN server through the SVN log tool. Each log information may include: submitter, submission time, remark information, submitted version, changed file information, etc., wherein the changed file information may include: file name , path information, and modification type. Of course, in practical applications, other log information may also be imported ...

Embodiment 2

[0140] In this embodiment, based on the system block diagram of the method for determining the test range, the method for determining the test range is introduced, please refer to Figure 8 , the system consists of the following structure:

[0141] The SVN server 80 stores the project code of the engineering project in the SVN server 80, and the developer will submit the modified code to the SVN server 80, and based on the code submitted by the developer, corresponding log information will be generated at the SVN server 80;

[0142] The configuration system 81 is configured to store configuration information, such as: tester information.

[0143] The function management system 82 is used to obtain the function relationship information extracted by the function analysis tool. The function relationship information may include: function path information, function name, function call information, function called information, function source code, function line number and other inf...

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 relates to the field of software engineering and discloses a test range determination method and device in order to solve the technical problem that in the prior art, testing range determination is not accurate enough. The method includes the steps that M functions included in a to-be-tested code are obtained, wherein M is a positive integer; N functions in the calling relation with the M functions are determined, wherein N is a positive integer; the testing range is determined on the basis of the to-be-detected code, the M functions and the N functions. The technical effect of improving accuracy of testing range determination is achieved.

Description

technical field [0001] The invention relates to the field of software engineering, in particular to a method and device for determining a test range. Background technique [0002] In larger Internet software projects, the code project is huge and the overall update iteration speed is fast. Software system personnel need to comprehensively confirm the test scope on the basis of testing new functions and original function iterations. Among them, the Chinese patent application with the application number: 201410209145.2 discloses that the test method is determined by the following method: [0003] Obtain the path information of the changed code data to be tested; [0004] According to the obtained path information, search for regression test scope reference information matching the obtained path information in a pre-built database; [0005] Outputting the found regression test scope reference information, so that testers can determine the regression test scope according to th...

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 BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
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