Test case execution method and device

A test case and test execution technology, applied in the computer field, can solve problems such as the inability to guarantee the stability of test execution, and achieve the effect of ensuring stability and avoiding blue screen errors.

Active Publication Date: 2015-07-01
TENCENT TECH (SHENZHEN) CO LTD
View PDF9 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The single-machine execution test refers to that the test execution and execution control are all on the same machine. Although this test execution scheme is simple and low in cost, when some test cases are executed and cause a system blue screen error, the test execution cannot be guaranteed. stability

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0023] See figure 1 , is a schematic flowchart of a method for executing a test case provided by an embodiment of the present invention, the method comprising:

[0024] S101, synchronizing the test code to the test execution agent set in the virtual machine, and sending the test case to the test execution agent;

[0025] Specifically, a virtual machine is created in the host machine, the virtual machine mainly provides a sandbox execution environment, and is 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
Login to view more

PUM

No PUM Login to view more

Abstract

An embodiment of the invention discloses a test case execution method and device. The test case execution method includes synchronizing a test code to a test execution agent of a virtual machine, and sending a test case to the test execution agent; as the test execution agent executes the test case according to the test code, detecting condition of the virtual machine; as detecting the virtual machine is in the abnormal condition, recording abnormal error information of the virtual machine. According to the arrangement, the test case is executed in the virtual machine so as to avoid blue screen of a host machine of the virtual machine, and stability of the test execution is guaranteed.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for executing test cases. Background technique [0002] Software testing has become more and more popular, and software testing occupies a very important position in the process of developing projects. [0003] In the prior art, the method of software testing may be to execute testing on a single machine. The single-machine execution test refers to that the test execution and execution control are all on the same machine. Although this test execution scheme is simple and low in cost, when some test cases are executed and cause a system blue screen error, the test execution cannot be guaranteed. stability. Contents of the invention [0004] The technical problem to be solved by the embodiments of the present invention is to provide a method and device for executing test cases, which can ensure the stability of test execution by executing the test cases in...

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 Applications(China)
IPC IPC(8): G06F9/455G06F11/36
Inventor 林奕潘在亮
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products