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

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

Example Embodiment

[0036] Example 1

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

[0038] Step S100: 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.

[0039] In the above step S100, the application development of the cloud platform will be implemented 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 separately and an API interface can be provided to realize the connection with other microservices. Communication.

[0040] For example, taking a cloud platform management application for mechanical equipmen...

Example Embodiment

[0062] Example 2

[0063] Please refer to Figure 5 Based on the automatic test method of the foregoing embodiment 1, in this embodiment, an automatic test system 100 is provided, which is applied to the cloud platform interface of construction machinery. The cloud platform interface automatic test system 100 for construction machinery can be applied to terminals such as computers. In this embodiment, the cloud platform interface automatic test system 100 of the construction 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 automated deployment module 20 is used to deploy each microservice image package to a corresponding test environment according to a preset test environment configuration file, and after completing the deployment, perform an i...

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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products