CN103279419A - Automation version verifying method and system based on B/S structural system - Google Patents
Automation version verifying method and system based on B/S structural system Download PDFInfo
- Publication number
- CN103279419A CN103279419A CN2013102293430A CN201310229343A CN103279419A CN 103279419 A CN103279419 A CN 103279419A CN 2013102293430 A CN2013102293430 A CN 2013102293430A CN 201310229343 A CN201310229343 A CN 201310229343A CN 103279419 A CN103279419 A CN 103279419A
- Authority
- CN
- China
- Prior art keywords
- version
- module
- test
- configuration file
- case
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses an automation version verifying method and system based on a B/S structural system. The method comprises the following steps: (1) obtaining newest codes from a configuration management tool according to configuration files to generate a new testing edition; (2) building a testing environment according to the preset configuration files, and installing, configuring and starting a system to be tested; (3) backing up basic data according to the configuration files, and emptying existing testing data to enable the system to be in an initialized state as the state submitted to a client; (4) automatically guiding in a test case which needs to be executed in version verification according to the configuration files; (5) selecting to execute the test case performed with version verification according to the configuration files; and (6) generating a test report according to version verification results. The automation version verifying method and system based on the B/S structural system comprises a version generation module, a core control module, a testing environment building module, a data processing module, a version verification case lead-in module, a version verification executing module and a testing report module.
Description
Technical field
The present invention relates to computer software fields, specifically a kind of robotization version verification method and system based on the B/S structural system.
Background technology
Independently software test is from beginning test to end of test (EOT), will be through the test of a lot of wheels, just to issue a lot of beta versions, add that also may run into some serious problems in the test causes all tests to be forced to interrupt, then the reparation problem of having to is released version (the many of this situation appears in the system of B/S structure) again, for the software systems of incremental development, then need to issue more beta version.The test as one independently the company of this pattern of department (the test group is a test center, the test of the company of being responsible for all items), testing process according to strictness, development group is distributed to the version that test organization tests each time and all will has only the version checking just can accept this beta version by back test organization through strict version checking.Therefore require a great deal of time for the development group personnel of the more project of version issue and beating version, in the work that test environment is built and version is verified.
Present version generates and checking, mainly be to carry out in the mode of craft by the personnel that development group is responsible for version management, all codes are broken into a new software package, and then remove to build test environment, change each configuration file one by one, and then issue new version, login system again, carry out selected test case then one by one, after executing, write all use-cases version validation test report, if the version validation test is verified otherwise carry out version again by then giving test organization's released version checking instructions (Release Note).
Beat version so by hand and carry out the version checking a lot of defectives are arranged:
(1) version generates slow: all code packages need be put together owing to beat version by hand, a large scale system usually is that the common exploitation of a plurality of project team is integrated together, the a plurality of combinations of this needs do just can finish the work that version generates, need the cost more time, involve more personnel;
(2) the more mistake that occurs easily of change configuration file: manual version generating mode too relies on operating personnel, might cause changing omission place more too much because of the configuration file of needs change, such direct result will cause version issue failure;
(3) wasting of resources: because the version checking mainly is the checking of carrying out at the main flow process of Core Feature and system, this checking often can only can not walk abreast in serial, need take many working times like this;
(4) frequent released version need be done the work of a large amount of repetitions: the test initial stage, because system's instability and functional defect are many, may need frequent released version in test process, released version all needs repeated version to generate and the whole process of checking each time, and it is time-consuming to take great energy effort.
The version checking, because it focuses on basic function and main flow process that verification system could move, and the basic function of system and main flow process are generally all more stable, so the version checking work that this needs constantly repeat is fit to robotization very much, drops into a large amount of workloads because the version management personnel do not need and safeguard automatized script and headache.
Summary of the invention
The purpose of this invention is to provide a kind of robotization version verification method based on the B/S structural system.
The objective of the invention is to realize in the following manner, may further comprise the steps:
(1) from configuration management tool, obtains up-to-date code according to configuration file and generate new beta version;
(2) build test environment, installation, configuration and start system under test (SUT) according to configuration file;
(3) according to configuration file backup basic data, empty existing test data, make system be in init state when submitting to the client;
(4) import the test case that version is verified required execution automatically according to configuration file;
(5) carry out the version verification test cases according to configuration file;
(6) version is verified the result generates test report.
As above said configuration file comprises system's mount message, environment descriptive information, data alternative condition.Wherein mount message comprises installation directory, software version, configuration file changed information, type of database, database version etc.; Environmental information comprises test environment deployment corresponding software and hardware condition stub; The data alternative condition comprises data area that system initialization comprises and the alternative condition of test case;
In addition, configuration file also comprises test case execution duration, and test case is carried out start-up time, test report mode etc.
Above-mentioned robotization version generates and checking in order to finish, the present invention also provides the robotization version of the system that carries out the B/S framework to generate and the system of checking, and this system comprises that mainly version generation module, kernel control module, test environment build module, data processing module, version checking case and import module, version checking execution module, test report module.Wherein:
The version generation module: the developer is submitted to code in the configuration management tool, and system links to each other with configuration management tool, generates latest edition, and is this version definition version number according to the create-rule of version number.
Kernel control module: be used for realizing according to configuration file scheduling and the sequential control of each module, comprise to the version generation module and send the order that generates redaction, build module to test environment and send the order of building test environment, and after the intact data of test data resume module, import the order that module sends the importing use-case to the version checking case, and verify that to version execution module sends the order of test execution etc.Have profile information in the order that kernel control module sends.
Test environment is built module: be mainly used in according to the configuration file requirement, build test environment as hardware environment requirement etc., install, configuration starts also that version generates and the checking system under test (SUT).
Data processing module: according to the order that nucleus module sends, the basic data of initialization system, existing test data in the deletion system.
The version checking case imports module: according to the order that nucleus module sends, import the version verification test cases of appointment from designated directory.Here the use-case import feature is the use-case that increases the system version checking when making things convenient for system requirements change or system's incremental development.
Version checking execution module: according to the order that nucleus module sends, carry out selected test case.
Test comprises module: be responsible for generating the test report of version validation test, comprise the execution result of each checking case, and final version is verified the describe, in general terms that whether passes through.
The invention has the beneficial effects as follows: in order to overcome the above problems, this paper has invented and a kind ofly can accelerate testing progress based on B/S structural system robotization version verification method and system, reduces test resource, improves testing efficiency.The present invention carries out version automatically by a system exactly and generates, build test environment, the checking version, generate test report then, help the version manager personnel to solve the cost plenty of time and carry out that version is disposed and the problem of version checking, because the deployment of version and checking undertaken by system automation when all being, so can dispose version and the work of checking be placed on and carries out evening, can both can reduce test resource like this, can shorten the project cycle again.
Description of drawings
Fig. 1 is that version generates and version verification system frame diagram.
Embodiment
Explain below with reference to Figure of description method and system of the present invention being done.
Be that example is carried out concrete implementation with online ordering plane ticket system:
(1) nucleus module sends message according to predefined configuration file to the version generation module, and the version generation module is finished following operation successively automatically;
According to the time of setting in the configuration file, the access configuration management tool under the corresponding catalogue of corresponding project, obtains corresponding code packages, and compiles.If be successful record in the daily record then carry out next step, otherwise record failure in daily record, and generate test report, flow process finishes;
(2) test environment is built: nucleus module sends message according to predefined configuration file to the environmental structure module, and the environmental structure module is finished following operation successively automatically;
A) dispose issue online ordering plane ticket system, judge and whether successfully dispose by catalogue and the fileinfo of inquiry after having disposed, if in daily record, record successful information then enter next step, otherwise in daily record, record failure, and the generation test report, flow process finishes;
B) configuration online ordering plane ticket system, concrete condition according to disparity items is carried out corresponding configuration operation, and configuration successful then records successful information and then enters next step in daily record, otherwise records failure in daily record, and the generation test report, flow process finishes;
C) start the system service of online ordering plane ticket, check that by task manager whether instamatic system starts successful, if the record successful information then enters next step in daily record, otherwise records failure in process in daily record, and the generation test report, flow process finishes;
D) the browser access online ordering instamatic system by appointment.Judge by interface information and the process of checking whether the seat reservation system page is successfully opened, if in daily record, record successful information, then enter next step, otherwise the information that record is failed in daily record, and generating test report, flow process finishes;
E) user by appointment logins instamatic system, judges normally login system by the interface information after the login and the process of checking, if record successful information in daily record, then enter next step, otherwise the information of record failure in daily record, and generate test report, flow process finishes;
(3) the instamatic system database is carried out initialization operation: nucleus module sends message according to predefined configuration file to data processing module, and data processing module carries out following operation according to the message of receiving:
According to the setting in the configuration file system is carried out initialization, empty database, the initialization data of add-on system necessity, whether successful according to Query Database record and the initialization of page exhibition information specified data, if record successful information then enter next step in daily record, otherwise record failure information in daily record, and generate test report, flow process finishes;
(4) import the test case that version is verified: according to the designated directory in the configuration file, import the version checking case of appointment, imports and successfully then in daily record, record successful information and enter next step, otherwise in daily record, record failure information, and the generation test report, flow process finishes;
(5) the version checking case is carried out: according to the appointment in the configuration file, carry out corresponding test case, be to select to set out the city to the topmost flow process of seat reservation system, arrive the city and riding time-selected flight-fill in people seizes the opportunity people's information-submission order-on-line payment-order and inquires about-confirm successful payment-affirmation and draw a bill successfully, this is a main the most basic flow process, according to the project difference, select corresponding version checking case to carry out;
(6) generate version validation test report: if the version verification test cases of choosing is all passed through, then the version checking is passed through, if there is the version verification test cases unsanctioned, version authentication failed then, generate the test report that version is verified according to execution result, development group personnel determine whether and will give test organization with this version Release according to this report.
Except the described technical characterictic of instructions, be the known technology of those skilled in the art.
Claims (7)
1. robotization version verification method and system based on a B/S structural system is characterized in that, may further comprise the steps:
(1) from configuration management tool, obtains up-to-date code according to configuration file and generate new beta version;
(2) build test environment, installation, configuration and start system under test (SUT) according to configuration file;
(3) according to configuration file backup basic data, empty existing test data, make system be in init state when submitting to the client;
(4) import the test case that version is verified required execution automatically according to configuration file;
(5) carry out the test case that version is verified according to configuration file;
(6) version is verified the result generates test report.
2. according to right 1 described method, it is characterized in that, the configuration file of describing in step (1) comprises: the reference address of configuration management tool, visit catalogue, project name and functional module title and version rise time, specific practice is that edition verification system is connected with configuration management tool, automatically obtain the up-to-date application package of system under test (SUT), generate new beta version, and give the start context that generates according to predefined start context rule.
3. according to right 1 described method, it is characterized in that the configuration file of describing comprises: installation directory, software version, configuration information, type of database, database version in step (2).
4. according to right 1 described method, it is characterized in that the configuration file of describing comprises that database empties script and system data initialization script in step (3).
5. according to right 1 described method, it is characterized in that the configuration file of describing comprises the alternative condition of test case in step (4).
6. according to right 1 described method, it is characterized in that the configuration file of describing comprises executive condition and the test case execution time of test case in step (5).
7. robotization version verification system based on the B/S structural system, it is characterized in that this system comprises that version generation module, kernel control module, test environment build module, data processing module, version checking case and import module, version checking execution module, test report module, wherein:
The version generation module: the developer is submitted to code in the configuration management tool, and system links to each other with configuration management tool, generates latest edition, and is this version definition version number according to the create-rule of version number;
Kernel control module: be used for realizing according to configuration file scheduling and the sequential control of each module, comprise to the version generation module and send the order that generates redaction, build module to test environment and send the order of building test environment, and after the intact data of test data resume module, import the order that module sends the importing use-case to the version checking case, and the order etc. that sends test execution to version checking execution module, have profile information in the order that kernel control module sends;
Test environment is built module: be used for according to the configuration file requirement, build test environment as hardware environment requirement etc., install, configuration starts also that version generates and the checking system under test (SUT);
Data processing module: according to the order that nucleus module sends, the basic data of initialization system, existing test data in the deletion system;
The version checking case imports module: according to the order of nucleus module transmission, import the version verification test cases of appointment from designated directory, the use-case import feature is the use-case that increases the system version checking when making things convenient for system requirements change or system's incremental development here;
Version checking execution module: according to the order that nucleus module sends, carry out selected test case;
Test comprises module: be responsible for generating the test report of version validation test, comprise the execution result of each checking case and the describe, in general terms whether the final version checking is passed through.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102293430A CN103279419A (en) | 2013-06-09 | 2013-06-09 | Automation version verifying method and system based on B/S structural system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102293430A CN103279419A (en) | 2013-06-09 | 2013-06-09 | Automation version verifying method and system based on B/S structural system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103279419A true CN103279419A (en) | 2013-09-04 |
Family
ID=49061948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013102293430A Pending CN103279419A (en) | 2013-06-09 | 2013-06-09 | Automation version verifying method and system based on B/S structural system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103279419A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103679390A (en) * | 2013-12-26 | 2014-03-26 | 北京奇虎科技有限公司 | Background testing method and device of configuration system |
CN103984628A (en) * | 2014-05-15 | 2014-08-13 | 中国南方航空股份有限公司 | Automatic function test method and system applied to BS (browser/server) framework |
CN104156239A (en) * | 2014-07-29 | 2014-11-19 | 浪潮电子信息产业股份有限公司 | System cleaning method under Linux system of computer server |
CN104699600A (en) * | 2013-12-10 | 2015-06-10 | 博雅网络游戏开发(深圳)有限公司 | Testing system and method for installation package application |
CN103984628B (en) * | 2014-05-15 | 2016-11-30 | 中国南方航空股份有限公司 | It is applied to the automated function test method and system of B/S framework |
CN107741904A (en) * | 2017-09-14 | 2018-02-27 | 平安科技(深圳)有限公司 | Test machine method of automatic configuration, device, equipment and storage medium |
CN107967214A (en) * | 2017-08-15 | 2018-04-27 | 北京摩拜科技有限公司 | The test method and test equipment of application program |
CN108235101A (en) * | 2017-12-28 | 2018-06-29 | 深圳Tcl数字技术有限公司 | Smart television initial method, smart television and computer readable storage medium |
CN108874680A (en) * | 2018-07-09 | 2018-11-23 | 上海瀚银信息技术有限公司 | A kind of method for testing software and system of automation |
CN109254921A (en) * | 2018-09-18 | 2019-01-22 | 平安科技(深圳)有限公司 | Application version verification method, device, computer equipment and storage medium |
CN109271199A (en) * | 2018-09-11 | 2019-01-25 | 航天信息软件技术有限公司 | A kind of method and system for database continuous integrating and script file management |
CN111859830A (en) * | 2020-06-30 | 2020-10-30 | 山东云海国创云计算装备产业创新中心有限公司 | Verification plan and report generation method, device, equipment and storage medium |
CN113268288A (en) * | 2021-07-19 | 2021-08-17 | 天聚地合(苏州)数据股份有限公司 | Shared file configuration method and device |
CN113495546A (en) * | 2020-03-20 | 2021-10-12 | 北京新能源汽车股份有限公司 | Method, controller and test bench for realizing automatic test of test cases |
CN114625630A (en) * | 2020-12-14 | 2022-06-14 | 福建天泉教育科技有限公司 | Testing method and testing system for multi-environment multi-role version release system |
CN117744588A (en) * | 2024-02-19 | 2024-03-22 | 深圳市楠菲微电子有限公司 | Chip verification system and method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101158917A (en) * | 2007-11-09 | 2008-04-09 | 中兴通讯股份有限公司 | Software version upgrade mounting test system and method thereof |
CN102043714A (en) * | 2010-12-10 | 2011-05-04 | 成电汽车电子产业园(昆山)有限公司 | Automatic testing system of embedded software |
US20110219359A1 (en) * | 2010-03-04 | 2011-09-08 | Oracle International Corporation | Identifying test cases to be run after changes to modules of a software application |
CN102255748A (en) * | 2011-06-27 | 2011-11-23 | 中兴通讯股份有限公司 | Automated testing system and method, version server and terminal |
CN102799515A (en) * | 2011-05-24 | 2012-11-28 | 腾讯科技(深圳)有限公司 | Application program testing method and device |
-
2013
- 2013-06-09 CN CN2013102293430A patent/CN103279419A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101158917A (en) * | 2007-11-09 | 2008-04-09 | 中兴通讯股份有限公司 | Software version upgrade mounting test system and method thereof |
US20110219359A1 (en) * | 2010-03-04 | 2011-09-08 | Oracle International Corporation | Identifying test cases to be run after changes to modules of a software application |
CN102043714A (en) * | 2010-12-10 | 2011-05-04 | 成电汽车电子产业园(昆山)有限公司 | Automatic testing system of embedded software |
CN102799515A (en) * | 2011-05-24 | 2012-11-28 | 腾讯科技(深圳)有限公司 | Application program testing method and device |
CN102255748A (en) * | 2011-06-27 | 2011-11-23 | 中兴通讯股份有限公司 | Automated testing system and method, version server and terminal |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104699600A (en) * | 2013-12-10 | 2015-06-10 | 博雅网络游戏开发(深圳)有限公司 | Testing system and method for installation package application |
CN104699600B (en) * | 2013-12-10 | 2017-11-10 | 博雅网络游戏开发(深圳)有限公司 | The test system and method for installation kit application |
CN103679390A (en) * | 2013-12-26 | 2014-03-26 | 北京奇虎科技有限公司 | Background testing method and device of configuration system |
CN103984628A (en) * | 2014-05-15 | 2014-08-13 | 中国南方航空股份有限公司 | Automatic function test method and system applied to BS (browser/server) framework |
CN103984628B (en) * | 2014-05-15 | 2016-11-30 | 中国南方航空股份有限公司 | It is applied to the automated function test method and system of B/S framework |
CN104156239A (en) * | 2014-07-29 | 2014-11-19 | 浪潮电子信息产业股份有限公司 | System cleaning method under Linux system of computer server |
CN107967214A (en) * | 2017-08-15 | 2018-04-27 | 北京摩拜科技有限公司 | The test method and test equipment of application program |
CN107741904A (en) * | 2017-09-14 | 2018-02-27 | 平安科技(深圳)有限公司 | Test machine method of automatic configuration, device, equipment and storage medium |
CN108235101A (en) * | 2017-12-28 | 2018-06-29 | 深圳Tcl数字技术有限公司 | Smart television initial method, smart television and computer readable storage medium |
CN108235101B (en) * | 2017-12-28 | 2021-04-16 | 深圳Tcl数字技术有限公司 | Smart television initialization method, smart television and computer readable storage medium |
CN108874680A (en) * | 2018-07-09 | 2018-11-23 | 上海瀚银信息技术有限公司 | A kind of method for testing software and system of automation |
CN108874680B (en) * | 2018-07-09 | 2022-06-24 | 上海瀚银信息技术有限公司 | Automatic software testing method and system |
CN109271199A (en) * | 2018-09-11 | 2019-01-25 | 航天信息软件技术有限公司 | A kind of method and system for database continuous integrating and script file management |
CN109254921A (en) * | 2018-09-18 | 2019-01-22 | 平安科技(深圳)有限公司 | Application version verification method, device, computer equipment and storage medium |
CN113495546A (en) * | 2020-03-20 | 2021-10-12 | 北京新能源汽车股份有限公司 | Method, controller and test bench for realizing automatic test of test cases |
CN113495546B (en) * | 2020-03-20 | 2022-11-15 | 北京新能源汽车股份有限公司 | Method, controller and test bench for realizing automatic test of test cases |
CN111859830A (en) * | 2020-06-30 | 2020-10-30 | 山东云海国创云计算装备产业创新中心有限公司 | Verification plan and report generation method, device, equipment and storage medium |
CN114625630A (en) * | 2020-12-14 | 2022-06-14 | 福建天泉教育科技有限公司 | Testing method and testing system for multi-environment multi-role version release system |
CN113268288A (en) * | 2021-07-19 | 2021-08-17 | 天聚地合(苏州)数据股份有限公司 | Shared file configuration method and device |
CN113268288B (en) * | 2021-07-19 | 2022-06-03 | 天聚地合(苏州)数据股份有限公司 | Shared file configuration method and device |
CN117744588A (en) * | 2024-02-19 | 2024-03-22 | 深圳市楠菲微电子有限公司 | Chip verification system and method |
CN117744588B (en) * | 2024-02-19 | 2024-05-31 | 深圳市楠菲微电子有限公司 | Chip verification system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103279419A (en) | Automation version verifying method and system based on B/S structural system | |
CN105359102B (en) | Advanced customer support service-advanced support cloud portal | |
US20200183896A1 (en) | Upgrade of heterogeneous multi-instance database clusters | |
US20210311858A1 (en) | System and method for providing a test manager for use with a mainframe rehosting platform | |
CN102214139B (en) | Automatic test performance control and debugging method facing distributed system | |
RU2429529C2 (en) | Dynamic configuration, allocation and deployment of computer systems | |
US8037471B2 (en) | Systems and methods for constructing relationship specifications from component interactions | |
EP2008400B1 (en) | Method, system and computer program for the centralized system management on endpoints of a distributed data processing system | |
US20110296386A1 (en) | Methods and Systems for Validating Changes Submitted to a Source Control System | |
Brunnert et al. | Automatic performance model generation for java enterprise edition (ee) applications | |
US11907709B2 (en) | Enhancing DevOps workflows in enterprise information technology organizations | |
CN102404381A (en) | Software deployment system and deployment method based on workflow in cloud computing environment | |
US11138097B2 (en) | Automated web testing framework for generating and maintaining test scripts | |
US8850400B2 (en) | System and method for providing an implementation accelerator and regression testing framework for use with environments such as fusion applications | |
Fisher et al. | Utilizing Atlassian JIRA for large-scale software development management | |
US9900212B2 (en) | Installation of an arbitrary server as an extension of a computing platform | |
US20150100831A1 (en) | Method and system for selecting and executing test scripts | |
CN103019732A (en) | Method and system for installation and deployment of integrated software based on province, city and county | |
US20170109257A1 (en) | Use case driven stepping component automation framework | |
KR20130028207A (en) | Automation appratus for developing and testing software based on web | |
CN108170588B (en) | Test environment construction method and device | |
CN111459504A (en) | Intelligent contract processing method, device, equipment and storage medium | |
CN114281367A (en) | Big data platform deployment method and system for trust and creation environment | |
EP3230865B1 (en) | Recovery execution system using programatic generation of actionable workflows | |
CN106371868A (en) | Automatic test method, system and test device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130904 |