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

Automatic test method and system

A technology of automatic testing and automatic test scripts, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as failure to find, abnormal test results, increased test failures, etc.

Pending Publication Date: 2020-04-24
TOYOU FEIJI ELECTRONICS
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Installing the test environment required for compilation on a server is difficult to manage the versions of various dependencies used in this environment. When you want to build a test environment on a brand new server, you need a series of operations to migrate and install the dependencies required for testing. , if the server is accidentally damaged, the entire test environment may fail to build because the corresponding dependency version cannot be found
[0005] Conventional test script management solutions can only manage the version of the test script but not the version of the test environment. A common problem is that with the upgrade of the version, the test script may upgrade or downgrade a third-party dependency for optimization. When When the follow-up work needs to roll back the test case, because the test environment is not managed, the test system will fail to start or the test result will be abnormal
Corresponding to common automated tests, some key data often need to be changed, and due to the increase in scripts that reference key data in the later stage, frequent modification of script data will inevitably lead to maintenance difficulties, and will also increase test failures caused by human negligence

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 test method and system
  • Automatic test method and system
  • Automatic test method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0023] The present invention is a main core of the program including four parts, version management warehouse, version management engine, configuration file, test script and test engine.

[0024] The version management warehouse and the version management engine are used to package and pull the test environment and corresponding test scripts. When new functions are added to the test script or the dependent third-party library is upgraded, the current environment can be built as a docker image, and a version label, such as 1.2.1, can be added, and then pushed to the version management warehouse. When you want to pull a certain version of the image, you only need to e...

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 provides an automatic test method and system. The method comprises the following steps: pulling test environment data by a docker warehouse; recompiling the pulled test environment dataso as to construct an automatic test environment; reading a test configuration file and an automatic test script; and running an automatic test according to the read result. The automatic test methodand system provided by the invention can solve the problems of version management, storage and distribution of the test environment.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to an automatic testing method and system. Background technique [0002] In the storage industry, software testing is an indispensable part of the quality assurance system. With the development of software automation testing technology, the test system relies on more and more third-party libraries and middleware. When a complete set of When testing the system, it is first necessary to ensure that the various software on which it depends, and the version of the software must be consistent with the requirements of the test system, otherwise various problems will occur. Over time, it may be encountered that some software versions have been lost, rendering the entire test system unusable. Therefore, using docker technology to connect and package the test environment for distribution has become a new solution. [0003] The existing storage automation test solution is mainly fo...

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/3664G06F11/3688
Inventor 张恒杨培王爽吕少侠安宏博韩易鸣王道邦周泽湘罗华仇悦文中领
Owner TOYOU FEIJI ELECTRONICS
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