Generating method, executing method and device of testing case

A test case and pre-execution technology, applied in the computer field, can solve the problems that test cases cannot be executed, CBB cannot be reused, etc.

Active Publication Date: 2017-11-24
HUAWEI TECH CO LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Test cases developed using this technology can use different programming languages, but a single test case can only use the same programming language, that is, the CBB (Common Building Block, common basic module) in a test case must use the same language, otherwise the test The test case cannot be executed during the process
The second is: service-oriented support for multi-language development technology, which means that different services implemented through a unified RPC-like (Remote Procedure Call Protocol) framework can be implemented using different programming languages, and different services use different programming languages. When implemented in language, CBB cannot be reused in test cases, and there are also problems in the previous 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
  • Generating method, executing method and device of testing case
  • Generating method, executing method and device of testing case
  • Generating method, executing method and device of testing case

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.

[0059] The principle of this application is: add a tag header containing the identification of the programming language type to the CBB to form a CBB encapsulation module; then mix CBB encapsulation modules of CBBs of different programming language types in the same test case to develop a fully functional test case . During the execution of this kind of test case, the CBB of each CBB encapsulation module written in different programming languages ​​can be sent to different execution processes for execution, thus realizing the mixed programming of CBB using different programming languages ​​in one test case.

[0060] This solution needs to run in the following application scenarios, through the mutual communication connection (for example, using a network card connection) of th...

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 generating method, executing method and device of a testing case, and relates to the technical field of computers. Mixed programming of CBB of different programming languages can be achieved in a testing case. The method comprises the following steps of receiving an instruction input by a user, determining general basic module CBB encapsulating modules selected by a user in a general basic module CBB library according to the instruction input by the user, wherein the instruction input by the user is used for indicating the user to form a composition strategy of the testing case through the selected CBB encapsulating module and by adopting the CBB encapsulating modules selected by the user according to the instruction input by the user, wherein the CBB library comprises multiple CBB encapsulating modules, the CBB encapsulating modules comprise label heads and CBB, and the label heads comprise identifications for indicating programming language types of the CBB; generating the testing case through the CBB encapsulating modules selected by the user according to the composition strategy.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a test case generation method and execution method and device. Background technique [0002] With the development of computer technology, programming languages ​​are becoming more and more diverse. Each programming language has its own advantages and applies to different scenarios. In a complex software system, different parts may use different implementation technologies to achieve better results, so there are more and more researches on technologies that can realize multi-language mixed programming. The need to support multilingual development of test cases in the testing field is becoming more and more urgent. There are two main types of existing multi-language test case development technologies, one is: the automated test technology that supports multi-script language calls, this technology supports the use of test cases developed by multiple script languages ​​to complet...

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): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 耿平魏显超
Owner HUAWEI TECH 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