CN102567204A - Method for managing automatic testing data - Google Patents

Method for managing automatic testing data Download PDF

Info

Publication number
CN102567204A
CN102567204A CN2011104482989A CN201110448298A CN102567204A CN 102567204 A CN102567204 A CN 102567204A CN 2011104482989 A CN2011104482989 A CN 2011104482989A CN 201110448298 A CN201110448298 A CN 201110448298A CN 102567204 A CN102567204 A CN 102567204A
Authority
CN
China
Prior art keywords
data
test
file
test subscriber
subscriber
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
Application number
CN2011104482989A
Other languages
Chinese (zh)
Inventor
叶华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Clouds Creators Information Technology (beijing) Co Ltd
Clouds Creators Information Technology (wuxi) Co Ltd
Original Assignee
Clouds Creators Information Technology (beijing) Co Ltd
Clouds Creators Information Technology (wuxi) Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Clouds Creators Information Technology (beijing) Co Ltd, Clouds Creators Information Technology (wuxi) Co Ltd filed Critical Clouds Creators Information Technology (beijing) Co Ltd
Priority to CN2011104482989A priority Critical patent/CN102567204A/en
Publication of CN102567204A publication Critical patent/CN102567204A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method for managing automatic testing data. Databases and file pools are respectively established for different testing users, role management of data is realized and reliability of data maintenance is enhanced. In addition, data can be processed according to demands of the testing personnel, therefore, testing data capable of being directly used can be provided for an automatic testing system, and automatic testing efficiency is favorably facilitated.

Description

A kind of management method of automatic test data
Technical field
The present invention relates to software testing technology, particularly relate to a kind of management method of automatic test data.
Background technology
In the automatic test course, the preparation of test data is that important techniques is alive greatly and very for a workload.The current source that obtains data mainly contains three kinds of methods.First kind is the analysis according to the test macro demand, makes up complete data to regular traffic, abnormal conditions, boundary value situation, is applicable to mini-system; Second kind is to utilize existing system, and the test data of in production environment, moving the past derives, and processing utilizes again.This is applicable to the upgrading products system.The third is as test data with the data that in the manual test process, accumulate.This data are incomplete to the test specification coverage rate, need to replenish test data.
Generally speaking, the generation of test data is difficulty relatively, and repeat usage is low.Use old data also to need special cost manpower to go to rearrange data, to satisfy the requirement of system testing.Therefore,, press for a kind of special test data Managed Solution, test data is carried out maintenance and management for the tester.
The current instrument that has proposed some data management aspects.For example, be prone to table, this instrument uses simple, can manage and the statistical study mass data; Generatedata can be from XML, Excel, and html imports data in csv or the SQL file, and numerous types of data is provided, and preserves data and generates form confession use in the future.
Also there is following problem in above-mentioned instrument to the automatic test data management time: 1) test data can not be managed by the subangle colour tube, and data are subject to disturb, and the reliability of data reduces; 2) test data input and output method is single, does not support image, and therefore the input of forms such as text, output, can not satisfy the multifarious demand of automatic test data type; 3) simple operations such as screening, interpolation, deletion of simple data maintenance such as data only is provided, can not data be handled the data that can't provide automatization test system directly to utilize according to testing requirement.
This shows; The data managing method of existing automatic test is too simple; Can't safeguard a plurality of test subscribers' a large amount of and various test data of type; Simultaneously, simple data maintenance also can't be for automatization test system provides the data that can directly utilize, and then influences the efficient of automatic test.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of management method of automatic test data, and this method can improve the reliability of a plurality of test subscriber's data managements, and helps improving automatic test efficient.
In order to achieve the above object, the technical scheme of the present invention's proposition is:
A kind of management method of automatic test data, this method may further comprise the steps:
A, obtain the data or the file of the storage of current needs according to test subscriber's instruction, with said data or file storage in said test subscriber's resources bank;
B, when said test subscriber need obtain test data, carry out the processing of data according to the data processing instructions of said test subscriber input, and the data after will handling according to said data processing instructions and data type offer said test subscriber; Wherein, said processing comprises:
When said data processing instructions instructs for generating at random, generate test data at random according to the said instruction of generation at random;
When said data processing instructions is data processing instruction; According to said data processing instruction reading corresponding data from said test subscriber's resources bank; And according to the processing type of said data processing instruction appointment; Data to being read are processed, and said processing type comprises: data filter, data qualification management, data type conversion, data interpolation, data modification and/or data deletion;
When said data processing instructions is the data restore instruction, related data in said test subscriber's the resources bank and file are carried out updating data, data replacement or data roll forward operation according to said data restore instruction.
In sum, the management method of the automatic test data that the present invention proposes is through setting up database and file pond respectively for different test subscribers; Realize the subangle colour tube reason of data; Strengthen the reliability of data maintenance, in addition, can also handle data according to tester's demand; Thereby can the test data that can directly use be provided for automatization test system, help improving automatic test efficient.
Description of drawings
Fig. 1 is the schematic flow sheet of the embodiment of the invention one.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing and specific embodiment that the present invention is done to describe in detail further below.
Core concept of the present invention is: subangle colour tube reason data, promptly store respectively, to avoid the phase mutual interference of different test subscriber's data for different test subscribers' data and file.In addition, can carry out the processing of data,, improve automatic test efficient so that for automatization test system provides the test data that can directly use according to test subscriber's demand.
Fig. 1 is the schematic flow sheet of the embodiment of the invention one, and is as shown in Figure 1, and this method may further comprise the steps:
Step 101, obtain the data or the file of the storage of current needs according to test subscriber's instruction, with said data or file storage in said test subscriber's resources bank.
This step; Be stored in through information (comprising data and file) in the resources bank of this test subscriber's independent maintenance management test subscriber's input; Can realize the subangle colour tube reason of test data, avoid different test subscribers that same data are made amendment and the influence of data reliability.
In practical application for the ease of safeguarding; Can distinguish file in this step and data are stored respectively, concrete, for data; In the database that is stored in said test subscriber; And, then in the file pond that is stored in said test subscriber with file, and the routing information of said document storage is recorded in said test subscriber's the database for file.
Said data can obtain through number of ways, preferably can comprise: said test subscriber is through the data of web page input, through the data of sql, xml, html, csv, the importing of txt format file and/or through the capable data of obtaining of operating system command.The method that obtains corresponding data through above-mentioned approach is particularly grasped by those skilled in the art, repeats no more at this.
Preferably, said file can comprise: figure, medium and/or email file.
In practical application, the test subscriber can indicate Data Source through instruction, and the type of data preservation, like this, can the data of obtaining be handled accordingly according to user's instruction, and be stored in the resources bank (database or file pond).For example,, then at first should obtain data, then these data are kept in this test subscriber's the database from excel if test subscriber's instruction is requirement reading of data from the excel table.
Step 102, when said test subscriber need obtain test data, carry out the processing of data according to the data processing instructions of said test subscriber input, and the data after will handling according to said data processing instructions and data type offer said test subscriber.
In this step, can handle data, obtain directly to be used for the data of automatic test according to the demand of test.Here, said processing specifically can comprise:
When said data processing instructions instructs for generating at random, generate test data at random according to the said instruction of generation at random.
When said data processing instructions is data processing instruction; According to said data processing instruction reading corresponding data from said test subscriber's resources bank; And according to the processing type of said data processing instruction appointment; Data to being read are processed, and said processing type comprises: data filter, data qualification management, data type conversion, data interpolation, data modification and/or data deletion.
When said data processing instructions is the data restore instruction, related data in said test subscriber's the resources bank and file are carried out updating data, data replacement or data roll forward operation according to said data restore instruction.
Particularly, said random number produces divides dual mode, and the first, according to the scope of given numerical value, generate span and enclose interior random number, the second, span is not set, system generates random number.
Said data filter is meant the selection data useful to test case from lot of data.The tester provides filtercondition, from database, searches valid data.
Said data qualification management is meant the various data of Classification Management.To with different pieces of information, management system is managed data qualification; Make things convenient for checking of tester, and use.
Said data type conversion is meant a kind of data type conversion is become other data type, can be shaping with the floating type data-switching for example.With importing the data type that data-switching becomes to satisfy testing requirement, avoid the input that repeats of data; The tester can give the type that needs with the test data conversion of oneself according to the basic demand of data class conversion.
Said data interpolation/modification/deletion is meant that the management system support is to the interpolation of the data in the test database, modification, the function of deletion.
In automatic test course, necessary when preserving primary data.In the test process, test data is changed a lot, and is few but test case is changed, and uses phenomenon often to take place to legacy data repeatability, and this just needs data management system to have the restore funcitons to legacy data, to satisfy the repeated use to legacy data.Therefore,,, can realize protecting data here through introducing the data restore instruction.
Said Data Update is meant that it is Data Update that data are turned back to the desired solution of original state.This method comprises creates this database backup file under the original state, and with its preservation.After test is accomplished, the copy replication of depositing of this test data is used in test environment.Its benefit is to back up many group primary datas, and the tester can roll back to designated state with test data fast, carries out reperformance test.
Said data replacement is meant " cancels change " with data, returns to primary data.That is, add the record/value of being deleted, record/value that recovery is modified, record/value that deletion is added returns to original state.
Roll before the said data and be rolled into the state when putting sometime before being meant the data of at the appointed time naming a person for a particular job.Help the recovery of tester to certain phase data state.
In the above-mentioned processing procedure; Said data filter, data qualification management, data type conversion, data interpolation, data modification and/or data deletion, updating data, data are reset and the data roll forward operation; Concrete implementation method grasped by those skilled in the art, repeat no more at this.
In this step; The mode that data after handling is offered the test subscriber can have multiple; Comprise: with the mode video data of chart, export, show and/or provide with the mode of data access interface with the mode of web page or leaf with the mode of graphic file; Particularly, can be according to user's indication, and need the data of output or file type to select a kind of suitable manner output.For example; For data; Can select the mode of mode, data file, the web page or leaf of chart to show and data access interface in arbitrary mode offer the test subscriber, can offer the test subscriber with the mode of graphic file for the data of graphical format, after determining a kind of presentation mode, how to realize this presentation mode; Grasped by those skilled in the art, repeated no more at this.
From technique scheme, can find out; The present invention can support the reliability of a plurality of test subscriber's data is safeguarded; And can support the input and output and the management maintenance of numerous types of data; Simultaneously, also can handle data according to the test needs, can be to provide by the direct data of using of automatization test system.
In sum, more than being merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. the management method of automatic test data is characterized in that, this method may further comprise the steps:
A, obtain the data or the file of the storage of current needs according to test subscriber's instruction, with said data or file storage in said test subscriber's resources bank;
B, when said test subscriber need obtain test data, carry out the processing of data according to the data processing instructions of said test subscriber input, and the data after will handling according to said data processing instructions and data type offer said test subscriber; Wherein, said processing comprises:
When said data processing instructions instructs for generating at random, generate test data at random according to the said instruction of generation at random;
When said data processing instructions is data processing instruction; According to said data processing instruction reading corresponding data from said test subscriber's resources bank; And according to the processing type of said data processing instruction appointment; Data to being read are processed, and said processing type comprises: data filter, data qualification management, data type conversion, data interpolation, data modification and/or data deletion;
When said data processing instructions is the data restore instruction, related data in said test subscriber's the resources bank and file are carried out updating data, data replacement or data roll forward operation according to said data restore instruction.
2. method according to claim 1 is characterized in that, among the step a with said data storage in said test subscriber's resources bank is: with said data storage in said test subscriber's database.
3. method according to claim 1; It is characterized in that; Among the step a in said test subscriber's resources bank be: in the file pond that is stored in said test subscriber with said file, and the routing information of said document storage is recorded in said test subscriber's the database with said file storage.
4. method according to claim 1; It is characterized in that said data comprise: said test subscriber is through the data of web page input, through the data of sql, xml, html, csv, the importing of txt format file and/or through the capable data of obtaining of operating system command.
5. method according to claim 1 is characterized in that, said file comprises: figure, medium and/or email file.
6. method according to claim 1 is characterized in that, the mode that provides described in the step b comprises: with the mode video data of chart, export, show and/or provide with the mode of data access interface with the mode of web page or leaf with the mode of graphic file.
CN2011104482989A 2011-12-28 2011-12-28 Method for managing automatic testing data Pending CN102567204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104482989A CN102567204A (en) 2011-12-28 2011-12-28 Method for managing automatic testing data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104482989A CN102567204A (en) 2011-12-28 2011-12-28 Method for managing automatic testing data

Publications (1)

Publication Number Publication Date
CN102567204A true CN102567204A (en) 2012-07-11

Family

ID=46412671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104482989A Pending CN102567204A (en) 2011-12-28 2011-12-28 Method for managing automatic testing data

Country Status (1)

Country Link
CN (1) CN102567204A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440282A (en) * 2013-08-13 2013-12-11 西安航天动力试验技术研究所 Test data storage system and method
CN104899149A (en) * 2015-06-29 2015-09-09 上海瀚银信息技术有限公司 Automatic testing management method
CN106445824A (en) * 2016-09-30 2017-02-22 南京途牛科技有限公司 Interface comprehensiveness management system based on character
CN107357722A (en) * 2017-06-22 2017-11-17 微梦创科网络科技(中国)有限公司 A kind of social networking service SNS test systems and method based on a large amount of test users
CN108304569A (en) * 2018-02-13 2018-07-20 中国银行股份有限公司 A kind of test data accumulation method and device
CN109101382A (en) * 2018-08-06 2018-12-28 郑州云海信息技术有限公司 A kind of truncate automatic test approach, device, terminal and storage medium
CN110457224A (en) * 2019-08-15 2019-11-15 中国银行股份有限公司 Generate the method and device of test data
CN110554948A (en) * 2019-08-15 2019-12-10 苏州浪潮智能科技有限公司 Vdbernh performance test result analysis method, system and equipment
CN111651349A (en) * 2020-05-26 2020-09-11 泰康保险集团股份有限公司 Test method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840544A (en) * 2009-03-09 2010-09-22 埃森哲环球服务有限公司 Knowledge assessment tool

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840544A (en) * 2009-03-09 2010-09-22 埃森哲环球服务有限公司 Knowledge assessment tool

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
2345软件大全: "《http://www.duote.com/soft/3233.html》", 12 April 2010 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440282B (en) * 2013-08-13 2016-09-14 西安航天动力试验技术研究所 A kind of test data storage system and method
CN103440282A (en) * 2013-08-13 2013-12-11 西安航天动力试验技术研究所 Test data storage system and method
CN104899149A (en) * 2015-06-29 2015-09-09 上海瀚银信息技术有限公司 Automatic testing management method
CN106445824A (en) * 2016-09-30 2017-02-22 南京途牛科技有限公司 Interface comprehensiveness management system based on character
CN106445824B (en) * 2016-09-30 2019-06-25 南京途牛科技有限公司 A kind of interface synthesis management system of based role
CN107357722B (en) * 2017-06-22 2020-03-31 微梦创科网络科技(中国)有限公司 Social Network Service (SNS) testing system and method based on a large number of testing users
CN107357722A (en) * 2017-06-22 2017-11-17 微梦创科网络科技(中国)有限公司 A kind of social networking service SNS test systems and method based on a large amount of test users
CN108304569A (en) * 2018-02-13 2018-07-20 中国银行股份有限公司 A kind of test data accumulation method and device
CN108304569B (en) * 2018-02-13 2021-10-29 中国银行股份有限公司 Test data accumulation method and device
CN109101382A (en) * 2018-08-06 2018-12-28 郑州云海信息技术有限公司 A kind of truncate automatic test approach, device, terminal and storage medium
CN110554948A (en) * 2019-08-15 2019-12-10 苏州浪潮智能科技有限公司 Vdbernh performance test result analysis method, system and equipment
CN110457224A (en) * 2019-08-15 2019-11-15 中国银行股份有限公司 Generate the method and device of test data
CN110554948B (en) * 2019-08-15 2022-11-08 苏州浪潮智能科技有限公司 Vdbranc performance test result analysis method, system and equipment
CN110457224B (en) * 2019-08-15 2023-08-18 中国银行股份有限公司 Method and device for generating test data
CN111651349A (en) * 2020-05-26 2020-09-11 泰康保险集团股份有限公司 Test method and device

Similar Documents

Publication Publication Date Title
CN102567204A (en) Method for managing automatic testing data
AU2018236875B2 (en) Graphical user interface that simplifies user creation of custom calculations for data visualizations
CN106844682B (en) Method for interchanging data, apparatus and system
JP6262874B2 (en) Database implementation method
CN102024039B (en) Form generating method based on electric operation maintenance system (EOMS)
CN104112004A (en) Method for intelligently copying data on user interface
CN110023925A (en) It generates, access and display follow metadata
JP2015531126A (en) Method and apparatus for realizing product characteristic navigation
US20140188784A1 (en) Systems and methods for data-warehousing to facilitate advanced business analytic assessment
CN101404029A (en) DICOM image file storage method
CN104536908B (en) A kind of magnanimity small records efficient storage management method towards unit
CN102306168A (en) Log operation method and device and file system
CN109766206A (en) A kind of log collection method and system
CN106095964A (en) A kind of method that data are carried out visualization filing and search
CN106021207A (en) A patent writing system and method
CN110427364A (en) A kind of data processing method, device, electronic equipment and storage medium
CN105095392B (en) A kind of method and device of Data Mart data sharing
CN105631639B (en) Automatic filling method and system
CN108549659A (en) A kind of data warehouse management system and management method
JP2009015644A (en) Multi-dimensional database construction method, multi-dimensional database construction system, and information processor
CN101963993B (en) Method for fast searching database sheet table record
CN108182204A (en) The processing method and processing device of data query based on house prosperity transaction multi-dimensional data
CA3051271A1 (en) A system for performing data transformations using a set of indepedent software components
CN106503186A (en) A kind of data managing method, client and system
CN103809915B (en) The reading/writing method of a kind of disk file and 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
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120711