CN107943690A - A kind of platform and method for disposing compatibility test environment - Google Patents
A kind of platform and method for disposing compatibility test environment Download PDFInfo
- Publication number
- CN107943690A CN107943690A CN201711139266.4A CN201711139266A CN107943690A CN 107943690 A CN107943690 A CN 107943690A CN 201711139266 A CN201711139266 A CN 201711139266A CN 107943690 A CN107943690 A CN 107943690A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- test environment
- module
- information
- installation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3664—Environments for testing or debugging software
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45591—Monitoring or debugging support
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of platform and method for disposing compatibility test environment, platform includes acquisition module, deployment module and cloud module, and the acquisition module is used to obtain test environment information;The deployment module is used for according to the test environment information to cloud module application virtual machine, and disposes test environment on a virtual machine;The cloud module is used to provide the resource created needed for virtual machine.Method includes obtaining test environment information;According to the test environment information to cloud platform application virtual machine, and test environment is disposed on a virtual machine.Compared with prior art, the present invention substitutes the physical machine built by hand needed for the process purchase test of test environment, saves testing cost and builds the time of test environment.
Description
Technical field
The present invention relates to field of computer technology, specifically a kind of platform for disposing compatibility test environment and side
Method.
Background technology
With the increasingly variation of hardware platform, application software, operating system and browser, to ensure that software has well
User experience, compatibility test are extremely challenging.
The compatibility test of general company at present is by buying the physical equipment needed for test, manually building needed for test
Environment, for save testing cost, often physical equipment be insufficient for needed for compatibility test, can only progressively perform compatibility
The work of environment-test-unloading environment is built in the compatibility test required in matrix, the execution repeated, of long duration, efficiency is low.
The content of the invention
It is existing simultaneous for solving it is an object of the invention to provide a kind of platform and method for disposing compatibility test environment
In capacitive test, test environment builds the problem of of long duration, efficiency is low.
The technical solution adopted by the present invention to solve the technical problems is:A kind of platform for disposing compatibility test environment,
Including acquisition module, deployment module and cloud module, the acquisition module is used to obtain test environment information;The deployment module is used
In, to cloud module application virtual machine, and disposing test environment on a virtual machine according to the test environment information;The cloud module
For providing the resource created needed for virtual machine.
Further, the test environment information includes configuration information, operation system information, the browser information of virtual machine
With tested software information.
Further, the deployment module includes virtual machine creating unit, operating system installation unit, browser installation list
Member and tested software installation unit;
The virtual machine creating unit is used for the application of cloud module and creates virtual machine;
The operating system installation unit is used for the script for calling installation operation system, on a virtual machine installation operation system
System;
The browser installation module is used to call installation browser script, installs browser on a virtual machine;
The tested software installation unit is used to call tested software deployment script, installs tested software on a virtual machine.
Further, the platform passes through the acquisition based on laas layers of cloud service progress test environment information and test wrapper
The deployment in border.
Further, the resource created needed for virtual machine includes CPU, memory, hard disk and network.
A kind of method for disposing compatibility test environment, comprises the following steps:
Obtain test environment information;
According to the test environment information to cloud platform application virtual machine, and test environment is disposed on a virtual machine.
Further, the test environment information based on lass layers of cloud by being obtained.
Further, the detailed process of the test environment of deployment on a virtual machine is:
The script of installation operation system is called, on a virtual machine installation operation system;
Installation browser script is called, browser is installed on a virtual machine;
Tested software deployment script is called, tested software is installed on a virtual machine.
The effect provided in the content of the invention is only the effect of embodiment, rather than whole effects that invention is all, above-mentioned
A technical solution in technical solution has the following advantages that or beneficial effect:
1st, for compatibility test, the environmental information needed for test is got by acquisition module, deployment module is according to obtaining
The environmental information taken, calls script using the automatic executing function of testing tool, test environment is built automatically, substitutes hand
Work builds the process of test environment, greatlys save the time for building test environment, and error rate is low.
2nd, the platform is based on cloud computing, and physical facility, network and storage etc. are provided for the deployment of compatibility test environment, with
The physical machine needed for purchase test is substituted, saves testing cost.
3rd, tester passes through the interface of acquisition module, the test environment information of input compatibility matrix requirement, operation letter
It is single quick, avoid manually building the troublesome operation process of test environment.
Brief description of the drawings
Fig. 1 is the platform structure figure of the present invention;
Fig. 2 is flow chart of the method for the present invention.
Embodiment
In order to clarify the technical characteristics of the invention, below by embodiment, and its attached drawing is combined, to this hair
It is bright to be described in detail.Following disclosure provides many different embodiments or example is used for realizing the different knots of the present invention
Structure.In order to simplify disclosure of the invention, hereinafter the component and setting of specific examples are described.In addition, the present invention can be with
Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated
Relation between various embodiments are discussed and/or are set.It should be noted that illustrated component is not necessarily to scale in the accompanying drawings
Draw.Present invention omits the description to known assemblies and treatment technology and process to avoid the present invention is unnecessarily limiting.
As shown in Figure 1, a kind of platform of deployment compatibility test environment of the present invention, including sequentially connected acquisition module
1, deployment module 2 and cloud module 3.
Acquisition module 1 is used to obtain test environment information, and test environment information includes the configuration information of virtual machine, operation system
Test environment information is sent to deployment module 2 by system information, browser information and tested software information, acquisition module 1;
Deployment module 2 builds test environment according to the test environment information of reception;
Cloud module 3 is the cloud platform based on cloud computing, for providing the resource created needed for virtual machine, including it is CPU, interior
Deposit, hard disk and network.
Acquisition module 1 provides tester test environment inputting interface, and tester is inputted compatible by inputting interface
Property matrix in { i, j } requirement compatibility test environmental information.Operation system information includes the type information and peace of operating system
Information needed is filled, browser information, which includes information, the tested software information such as the type of browser, version, includes the class of tested software
The information such as type, version, software path.
Deployment module 2 include virtual machine creating unit 21, operating system installation unit 22, browser installation unit 23 and by
Survey software installation unit 24;
Virtual machine creating unit 21 is used for the application of cloud module and creates virtual machine;
Operating system installation unit 22 is used for the script for calling installation operation system, on a virtual machine installation operation system;
Browser installation unit 23 is used to call installation browser script, installs browser on a virtual machine;
Tested software installation unit 24 is used to call tested software deployment script, installs tested software on a virtual machine.
Deployment module 2 further includes test script collection, and test script concentrates the script for including installation operation system, installation to browse
The script of device and the script of installation tested software, deployment module 2 pass through the test environment information obtained from acquisition module 1 and survey
Set of scripts is tried, passes through virtual machine creating unit 21, operating system installation unit 22, browser installation unit 23 and tested soft respectively
Part installation unit 24 realizes the installation of establishment to virtual machine, operating system, browser and tested software, carries out compatibility test
The deployment process of environment.
The acquisition of above test environment information and building by being realized based on Iaas layers of cloud service for test environment.Cloud meter
The three kinds of service modes calculated include Iaas (Infrastructure-as-a-Service, infrastructure service), Paas
(Platform-as-a-Service, platform service) and SaaS (Software-as-a-Service, software service), its
Middle Iaas layers be cloud computing first layer.Based on the Iaas layers of automatic deployment for carrying out test environment, substitute and build test wrapper by hand
The process in border, while the physical machine needed for test need not be bought, greatly save the time for building test environment, and error rate
It is low, and save testing cost.
As shown in Fig. 2, a kind of method of deployment compatibility test environment of the present invention, comprises the following steps:
S1, obtains test environment information;
S2, according to the test environment information to cloud platform application virtual machine, and disposes test environment on a virtual machine.
The configuration information of test environment information including virtual machine in step S1, operation system information, browser information and by
Survey software information.
Using the test environment inputting interface provided tester, tester passes through defeated for the acquisition of test environment information
Enter the compatibility test environmental information of { i, j } requirement in interface input compatibility matrix.Operation system information includes operating system
Type information and the information such as installation information needed, the type of browser information including browser, version, tested software packet
Include the information such as the type of tested software, version, software path.
In step S2, virtual machine to cloud platform application and is created according to the test environment information of acquisition, and needed for offer
Test script collection, the detailed process for disposing test environment on a virtual machine are:
S21, calls the script of installation operation system, on a virtual machine installation operation system;
S22, calls installation browser script, installs browser on a virtual machine;
S23, calls tested software deployment script, installs tested software on a virtual machine.
Test script, which is concentrated, includes the script of installation operation system, installs the script of browser and installs the foot of tested software
This.The script of tested software is wherein installed according to the installation script information of actual test demand, including various software, makes the present invention
Application range it is more extensive, as long as during use replace tested software installation script, you can carry out the simultaneous of different software
Capacitive is tested.
Cloud platform is used to provide the resource for creating virtual machine, including creates CPU, memory, hard disk, the net needed for virtual machine
Network.
The above is the preferred embodiment of the present invention, for those skilled in the art,
Without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also regarded as this hair
Bright protection domain.
Claims (8)
1. a kind of platform for disposing compatibility test environment, it is characterized in that:Including acquisition module, deployment module and cloud module, institute
Acquisition module is stated to be used to obtain test environment information;The deployment module is used for according to the test environment information to cloud module Shen
Please virtual machine, and dispose test environment on a virtual machine;The cloud module is used to provide the resource created needed for virtual machine.
2. platform according to claim 1, it is characterized in that:Configuration information of the test environment information including virtual machine,
Operation system information, browser information and tested software information.
3. platform according to claim 1, it is characterized in that:The deployment module includes virtual machine creating unit, operation system
System installation unit, browser installation unit and tested software installation unit;
The virtual machine creating unit is used for the application of cloud module and creates virtual machine;
The operating system installation unit is used for the script for calling installation operation system, on a virtual machine installation operation system;
The browser installation module is used to call installation browser script, installs browser on a virtual machine;
The tested software installation unit is used to call tested software deployment script, installs tested software on a virtual machine.
4. the platform according to Claims 2 or 3, it is characterized in that:The platform based on laas layers of cloud service by being carried out
The acquisition of test environment information and the deployment of test environment.
5. platform according to claim 1, it is characterized in that:Resource needed for the establishment virtual machine include CPU, memory,
Hard disk and network.
6. a kind of method for disposing compatibility test environment, it is characterized in that:Comprise the following steps:
Obtain test environment information;
According to the test environment information to cloud platform application virtual machine, and test environment is disposed on a virtual machine.
7. according to the method described in claim 6, it is characterized in that:The test environment information based on lass layers of cloud by being obtained
Take.
8. according to the method described in claim 6, it is characterized in that:The detailed process for disposing test environment on a virtual machine
For:
The script of installation operation system is called, on a virtual machine installation operation system;
Installation browser script is called, browser is installed on a virtual machine;
Tested software deployment script is called, tested software is installed on a virtual machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711139266.4A CN107943690A (en) | 2017-11-16 | 2017-11-16 | A kind of platform and method for disposing compatibility test environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711139266.4A CN107943690A (en) | 2017-11-16 | 2017-11-16 | A kind of platform and method for disposing compatibility test environment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107943690A true CN107943690A (en) | 2018-04-20 |
Family
ID=61932576
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711139266.4A Pending CN107943690A (en) | 2017-11-16 | 2017-11-16 | A kind of platform and method for disposing compatibility test environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107943690A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108763090A (en) * | 2018-05-31 | 2018-11-06 | 上海陆家嘴国际金融资产交易市场股份有限公司 | Test environment dispositions method, device, computer equipment and storage medium |
CN109768901A (en) * | 2019-01-23 | 2019-05-17 | 郑州云海信息技术有限公司 | It is a kind of based on virtual machine to the method and system of BMC IPV6 functional test |
CN110213121A (en) * | 2019-04-28 | 2019-09-06 | 山石网科通信技术股份有限公司 | Test platform, test method and the test device of virtual communication product |
CN110795356A (en) * | 2019-11-01 | 2020-02-14 | 普元信息技术股份有限公司 | System and method for realizing one-click deployment and automatic testing of software based on android |
WO2024109505A1 (en) * | 2022-11-24 | 2024-05-30 | 吴伟 | Method and system for applying cloud instrument |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102831062A (en) * | 2012-08-31 | 2012-12-19 | 浪潮电子信息产业股份有限公司 | Testing method based on cloud computing operating system software compatibility |
CN102902769A (en) * | 2012-09-26 | 2013-01-30 | 曙光信息产业(北京)有限公司 | Database benchmark test system of cloud computing platform and method thereof |
US20140123116A1 (en) * | 2012-10-30 | 2014-05-01 | Oracle International Corporation | System and metod for debugging domain specific languages |
-
2017
- 2017-11-16 CN CN201711139266.4A patent/CN107943690A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102831062A (en) * | 2012-08-31 | 2012-12-19 | 浪潮电子信息产业股份有限公司 | Testing method based on cloud computing operating system software compatibility |
CN102902769A (en) * | 2012-09-26 | 2013-01-30 | 曙光信息产业(北京)有限公司 | Database benchmark test system of cloud computing platform and method thereof |
US20140123116A1 (en) * | 2012-10-30 | 2014-05-01 | Oracle International Corporation | System and metod for debugging domain specific languages |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108763090A (en) * | 2018-05-31 | 2018-11-06 | 上海陆家嘴国际金融资产交易市场股份有限公司 | Test environment dispositions method, device, computer equipment and storage medium |
CN108763090B (en) * | 2018-05-31 | 2024-04-05 | 天航长鹰(江苏)科技有限公司 | Test environment deployment method, device, computer equipment and storage medium |
CN109768901A (en) * | 2019-01-23 | 2019-05-17 | 郑州云海信息技术有限公司 | It is a kind of based on virtual machine to the method and system of BMC IPV6 functional test |
CN109768901B (en) * | 2019-01-23 | 2022-03-04 | 郑州云海信息技术有限公司 | Method and system for testing functions of BMC IPV6 based on virtual machine |
CN110213121A (en) * | 2019-04-28 | 2019-09-06 | 山石网科通信技术股份有限公司 | Test platform, test method and the test device of virtual communication product |
CN110795356A (en) * | 2019-11-01 | 2020-02-14 | 普元信息技术股份有限公司 | System and method for realizing one-click deployment and automatic testing of software based on android |
CN110795356B (en) * | 2019-11-01 | 2023-05-12 | 普元信息技术股份有限公司 | System and method for realizing one-key deployment and automatic test of software based on secure |
WO2024109505A1 (en) * | 2022-11-24 | 2024-05-30 | 吴伟 | Method and system for applying cloud instrument |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107943690A (en) | A kind of platform and method for disposing compatibility test environment | |
CN109325195B (en) | Rendering method and system for browser, computer device and computer storage medium | |
US10482001B2 (en) | Automated dynamic test case generation | |
US10831463B2 (en) | Intelligent software deployment on an IaaS platform | |
CN106649084B (en) | The acquisition methods and device of function call information, test equipment | |
US9053236B1 (en) | Automated directory services test setup utility | |
CN110096424B (en) | Test processing method and device, electronic equipment and storage medium | |
CN108347356B (en) | Multi-protocol unit testing method and device, electronic equipment and storage medium | |
US9378122B2 (en) | Adopting an existing automation script to a new framework | |
US20150106153A1 (en) | Workflow compilation | |
CN104978258A (en) | Software automation test method and system | |
CN109327355A (en) | Cloud storage system performance evaluation methodology, device and computer readable storage medium | |
CN106845162B (en) | Re-signing method and device | |
US9116771B2 (en) | Merging weighted recommendations for installation and configuration of software products | |
CN105515883A (en) | Test method and system | |
CN110297771A (en) | Distributed test method and device for the warehouse receipt page | |
CN103729293A (en) | GUI testing method based on UML activity diagrams | |
US9449527B2 (en) | Break-fix simulator | |
US11243868B2 (en) | Application containerization based on trace information | |
CN103823694A (en) | Method and device for updating script file | |
CN109739655A (en) | A kind of parameter setting method and device of gRPC request | |
CN104915288A (en) | Testing method and device | |
US9519566B2 (en) | Modeling memory use of applications | |
US9400663B2 (en) | Managing middleware using an application manager | |
US10176062B2 (en) | Cloud servers and methods for handling dysfunctional cloud services |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180420 |