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

Test method and device

A test method and test device technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as multi-time, difficulty in guaranteeing test cases, and affecting the comprehensiveness of software testing.

Active Publication Date: 2018-10-16
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] That is, the tester writes a series of test cases for the test object, and the device with the software to be tested runs the test object to obtain the execution results. The test device needs to run the test cases one by one. The time required for the test is the time required for the device to execute each test case. Therefore, when there are more tests, the test still needs more time, especially for large-scale software testing, it is difficult to guarantee the test cases; if the test cases are reduced, it may affect the comprehensiveness of software testing
[0009] To sum up, there is no effective solution for how to improve the execution efficiency of test cases

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0040] Before the present invention is further described in detail, the nouns and terms involved in the embodiments of the present invention are described, and the nouns and terms involved in the embodiments of the present invention are applicable to the following explanations.

[0041] 1) Test case (Test Case) is a set of test input, execution conditions and expected results compiled for a specific target of the software to be tested (such as system software and application software, etc.). The input is processed to form the actual execution result, which is used by testers to compare the expected result with the execution result to test a certain path of the software or verify whether a cert...

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 discloses a test method and device. The method comprises the following steps of: obtaining a to-be-executed test case set; determining a distribution granularity of distributing different test cases for each queue in each period according to test cases and features of each queue in a queue set for executing the test cases; when a predetermined period arrives, detecting idle queues, not executing the test cases, in the queue set; distributing different test cases for the idle queues according to the distribution granularity of each idle queue until test cases in the correspondingdistribution granularity are distributed to each idle queue, or until the test cases in the test case set are completely distributed; and obtaining execution results of the distributed test cases fromthe queues to which the test cases are distributed. By implementing the test method and device, the test case execution efficiency can be enhanced.

Description

technical field [0001] The invention relates to software testing technology, in particular to a testing method and device. Background technique [0002] At present, various software (such as operating systems, application software) are emerging, covering all aspects of work, life, and learning. According to user needs and software stability requirements, software developers need to release software regularly or irregularly. The new version of the software is used to complete function upgrades or bug fixes, and before releasing the new version, in order to ensure that the software stability meets the expected requirements, it is necessary to conduct tests. [0003] For example, software is tested for correctness, integrity, security, and quality to assess whether the software meets requirements. [0004] At present, software testing mainly involves the following two schemes: [0005] 1) Manual participation by testers [0006] That is, the tester manually executes all the ...

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
CPCG06F11/3688
Inventor 廖海珍
Owner TENCENT TECH (SHENZHEN) 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