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

Automatic testing method and system and computer storage medium

An automatic test and test environment technology, applied in the field of construction machinery, can solve the problems of long test development cycle and inability to quickly respond to customer needs, and achieve the effect of promoting rapid iterative development, quickly responding to customer needs, and improving development efficiency

Pending Publication Date: 2019-05-03
SHANGHAI HUAXING DIGITAL TECH
View PDF6 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above-mentioned problems, the present invention proposes an automatic testing method, system and computer storage medium. By realizing the closed loop of automatic compilation and packaging, automatic deployment and automatic test integration, it can solve the problem of long test development cycle and inability to respond quickly in the prior art. Customer needs and other issues

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
  • Automatic testing method and system and computer storage medium
  • Automatic testing method and system and computer storage medium
  • Automatic testing method and system and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] Please refer to figure 1 , this embodiment proposes an automatic testing method, which is applied to the cloud platform interface of construction machinery and the like. The automatic testing method will be described in detail below.

[0038] Step S100, decomposing the cloud platform application into several microservices including API interfaces, and packaging each microservice into a corresponding microservice image package using Docker technology.

[0039] In the above step S100, the application development of the cloud platform will be realized based on the microservice architecture. By decomposing a large construction machinery cloud platform application into multiple small microservices according to multiple business logics, each microservice can be deployed independently and can provide an API interface to realize communication with other microservices communication.

[0040] For example, taking the cloud platform management application of a mechanical equipme...

Embodiment 2

[0063] Please refer to Figure 5 , based on the automatic testing method of the above-mentioned embodiment 1, an automatic testing system 100 is provided in this embodiment, which is applied to the cloud platform interface of construction machinery. The cloud platform interface automatic testing system 100 for construction machinery can be applied to terminals such as computers. In this embodiment, the cloud platform interface automatic testing system 100 of the engineering machinery includes:

[0064] The compilation and packaging module 10 is used to decompose the cloud platform application into several microservices including API interfaces, and use Docker technology to package each microservice into a corresponding microservice image package.

[0065] The automatic deployment module 20 is used to deploy each microservice image package into a corresponding test environment according to the preset test environment configuration file, and after completing the deployment, per...

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 an automatic testing method and system and a computer storage medium, and the method is applied to a cloud platform interface of an engineering machine, and comprises the steps: decomposing a cloud platform application into a plurality of micro-services comprising API interfaces, and packaging each micro-service into a corresponding micro-service mirror image package by using a Docker technology; Deploying each micro-service mirror image packet into a corresponding test environment according to a preset test environment configuration file, and instantiating each micro-service mirror image packet in the test environment to obtain a corresponding micro-service instance after the deployment is completed; and utilizing a preset test script and calling an API interface corresponding to each micro-service instance to carry out a business logic combination test, and outputting a corresponding test result. According to the technical scheme, automatic testing of modification of the newly-added function or the original function of the engineering machinery cloud platform can be rapidly achieved, rapid iterative development is further promoted, development efficiency is improved, and customer requirements are rapidly responded.

Description

technical field [0001] The invention relates to the technical field of engineering machinery, in particular to an automatic testing method, system and computer storage medium. Background technique [0002] With the rapid development of the Internet, digital cloud platform management of construction machinery is becoming more and more popular. For some companies that develop digital cloud platforms for construction machinery, it is necessary to quickly iteratively develop new functions or modify original functions according to customer needs. [0003] Usually, after the new function or modified function is developed, it needs to be quickly deployed to the test execution environment, and the automated test of the new function or modified function should be quickly carried out to evaluate whether the version of this iteration can be deployed to the production environment. Once a defect is found in this version, the bug should be reported, and the R&D personnel are required to ...

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 SHANGHAI HUAXING DIGITAL TECH
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