CN101017457A - Automatically testing method of computer software - Google Patents
Automatically testing method of computer software Download PDFInfo
- Publication number
- CN101017457A CN101017457A CN 200710013551 CN200710013551A CN101017457A CN 101017457 A CN101017457 A CN 101017457A CN 200710013551 CN200710013551 CN 200710013551 CN 200710013551 A CN200710013551 A CN 200710013551A CN 101017457 A CN101017457 A CN 101017457A
- Authority
- CN
- China
- Prior art keywords
- test
- testing
- case
- model
- testing tool
- 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
- 238000012360 testing method Methods 0.000 title claims abstract description 114
- 238000000034 method Methods 0.000 claims abstract description 15
- 230000008569 process Effects 0.000 claims abstract description 10
- 238000004458 analytical method Methods 0.000 claims abstract description 4
- 238000010998 test method Methods 0.000 claims abstract 7
- 230000008859 change Effects 0.000 claims description 7
- 230000009471 action Effects 0.000 claims description 5
- 230000010354 integration Effects 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 claims description 2
- 238000012423 maintenance Methods 0.000 claims description 2
- 230000002950 deficient Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012356 Product development Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
This invention provides one computer software automatic test method, which comprises the following steps: including each complex service interface test process into the module for most composed of each key word, special operation order and tool engine; test tool engine is for analysis module, establishing executive sample, loading test data and testing and result recording module and data pattern management to repeat use.
Description
1, technical field
The present invention relates to computer realm, specifically a kind of realize configurable, flexibly based on the software automated testing method of J2EE layer architecture pattern.
2, technical background
Usually " time " is the impassable obstacle that method for testing software faces.When software development entered launch phase, the recurrence defective became more and more difficult and is found before it becomes serious problems.Some software product though functional module is abundant, and is implemented simultaneously within the specific limits; But, relate to a large amount of test of several functions possibly to the change of a certain function in the software product.
At software development phase, find that as early as possible defective is the important step that makes up firm basis.In the quality that guarantees software, can in time make a response according to the quick and various market demand again, these have all increased the requirement to software test.At the software development initial stage, find early and repair-deficiency, thereby the software product of realizing high quality and low cost is issued.
Test exemple automation needs the common cooperation of development﹠ testing team, systematic structure automated test frame and establishment automatic test cases.Automatic test practice can promote the success of client's product development, and client's development﹠ testing team is absorbed in the core exploitation because it makes.
Existing integrated test tools, versatility is good, but purchase cost and use cost are all than higher.And being based on the test of contact bed, a little variation on the interface all will cause recording again script.And compare other layers such as service layer, contact bed is again relatively least stable, thereby workload is bigger.
3, summary of the invention
The automated testing method that the purpose of this invention is to provide a kind of computer software.By the method and instrument existing testing efficiency and quality are increased substantially.And after program was finished, implementation no longer needed to test, developer's intervention.
Method of the present invention is to utilize the principle of layer architecture pattern, in the service layer of system, do unit testing, integration testing or regression tested robotization realize, implementation according to system, take out various test models, according to model setup test use-case, use this testing tool engine to resolve, implementation of test cases, and logging test results, concrete steps are: the test process of the service interface of various complexity is summarized in the test model that can cover most test cases, test model comprises various key words, special-purpose action command and testing tool engine, the testing tool engine is responsible for analytic model, create and carry out example, load test data, carry out test, logging test results and to template and The data graphically managing is reused template and data on various platforms, create and call.
4, description of drawings
Fig. 1 is the testing process synoptic diagram of automated testing method;
Fig. 2 is the layer architecture synoptic diagram of automated testing method.
5, embodiment:
As accompanying drawing 1, shown in 2, method of the present invention is to utilize the principle of layer architecture pattern, in the service layer of system, do unit testing, integration testing or regression tested robotization realize, implementation according to system, take out various test models, according to model setup test use-case, use this testing tool engine to resolve, implementation of test cases, and logging test results, concrete steps are: the test of the service interface of various complexity is taken out the test case model, and this model has covered most test cases, and model comprises various key words, special-purpose action command.The testing tool engine is responsible for analytic model, creates and carries out example, loads test data, carries out test, and logging test results.Template and data can be reused on various platforms.To template and The data graphically managing, the aspect is created and is called.
The robotization of measuring executing process is resolved test case and loading data by the engine instrument, need not change program, test script again or by the manual logging data of system interface, save a large amount of human costs.
Test case is all according to modelling, and tupe all is identical, and analysis and judgement is finished separately one by one, has increased the readability of program.
Isolate the bigger foreground contact bed of variation, service layer more stable and professional key is carried out test, adopt unified mode treatment, need not revise test case at every turn, simplified test process greatly, improved the efficient of testing.
Test case relies on model, and model and execution engine all are configurable, like this, be used for other based on the loushang frame application in, only need change configuration information and test case, do not need the change program, good transplantability is arranged.
Test case is separated from testing tool, in testing tool, is generated and maintenance test functional, can make testing tool from the outside such as implementation of test cases excel table or the database.
When in the Excel table, creating test case, place the template of using some types that comprise the specific action word that is used, the process of carrying out is a read test use-case from the Excel table, and test case conversion become the form that testing tool can be understood, use different test functions to carry out test then.
The infosystem of any use loushang platform, the exploitation of spring framework hierarchical architecture mode.
The developer is responsible for the template according to EXCEL, sets up the description document of service interface.Also can carry out test case to create.
The tester can create test case according to the description document of template and service interface, and calls and carry out test and analytical test result.
Claims (7)
1. the automated testing method of a computer software, it is characterized in that utilizing the principle of layer architecture pattern, in the service layer of system, do unit testing, integration testing or regression tested robotization realize, implementation according to system, take out various test models, according to model setup test use-case, use this testing tool engine to resolve, implementation of test cases, and logging test results, concrete steps are: the test process of the service interface of various complexity is summarized in the test model that can cover most test cases, test model comprises various key words, special-purpose action command and testing tool engine, the testing tool engine is responsible for analytic model, create and carry out example, load test data, carry out test, logging test results and to template and The data graphically managing is reused template and data on various platforms, create and call.
2, method of testing method according to claim 1 is characterized in that resolving test case and loading data by the engine instrument, need not change program and test script, and measuring executing process carries out or automatically by the typing of system interface manual data.
3, method of testing according to claim 1 is characterized in that test case all according to modelling, and tupe all is identical, and analysis and judgement is finished separately one by one, has increased the readability of program.
4, method of testing according to claim 1 is characterized by and isolates the bigger foreground contact bed of variation, and service layer more stable and professional key is carried out test, adopt unified mode treatment, need not revise test case at every turn, simplify test process greatly, improve the efficient of test.
5, method of testing according to claim 1, it is characterized by test case and rely on model, and model and execution engine all are configurable, like this, be used for other based on the loushang frame application in, only need change configuration information and test case, do not need the change program, good transplantability is arranged.
6, method of testing according to claim 1, it is characterized in that test case is separated from testing tool, in testing tool, generate and maintenance test functional, can make testing tool from the outside such as implementation of test cases excel table or the database.
7, method of testing according to claim 6, it is characterized in that when in the Excel table, creating test case, place the template of using some types that comprise the specific action word that is used, the process of carrying out is a read test use-case from the Excel table, and test case conversion become the form that testing tool can be understood, use different test functions to carry out test then.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710013551 CN101017457A (en) | 2007-02-09 | 2007-02-09 | Automatically testing method of computer software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710013551 CN101017457A (en) | 2007-02-09 | 2007-02-09 | Automatically testing method of computer software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101017457A true CN101017457A (en) | 2007-08-15 |
Family
ID=38726481
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200710013551 Pending CN101017457A (en) | 2007-02-09 | 2007-02-09 | Automatically testing method of computer software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101017457A (en) |
Cited By (28)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101833507A (en) * | 2010-05-04 | 2010-09-15 | 王轶辰 | Method for testing software based on testing framework |
CN102004695A (en) * | 2010-12-08 | 2011-04-06 | 深圳市茁壮网络股份有限公司 | Method and system for testing browser |
CN102012863A (en) * | 2010-11-23 | 2011-04-13 | 中国科学技术大学 | Reaction type system testing method |
CN102111801A (en) * | 2010-12-23 | 2011-06-29 | 北京宜富泰网络测试实验室有限公司 | Method and system for testing network management interface of third generation mobile communication network |
CN102156784A (en) * | 2011-04-18 | 2011-08-17 | 烽火通信科技股份有限公司 | Verifying environment patterned chip verifying method and device |
CN102193796A (en) * | 2010-03-10 | 2011-09-21 | 微软公司 | Integrated tool for persisting development environment test scenario information |
CN102262580A (en) * | 2010-05-24 | 2011-11-30 | 南京航空航天大学 | Improved software static test method and tool based on symbolic execution |
CN102375777A (en) * | 2010-08-12 | 2012-03-14 | 盛科网络(苏州)有限公司 | Object-oriented test platform |
CN102567199A (en) * | 2010-11-17 | 2012-07-11 | 微软公司 | Scenario testing composability across multiple components |
CN102831066A (en) * | 2012-09-19 | 2012-12-19 | 深圳中兴网信科技有限公司 | Integration test device and method |
CN102890652A (en) * | 2012-11-07 | 2013-01-23 | 武汉光迅信息技术有限公司 | Method for constructing testing software and testing system employing method |
CN102929627A (en) * | 2012-10-29 | 2013-02-13 | 无锡江南计算技术研究所 | Automatic testing program generating method based on ATE (Automatic Test Equipment) and ATE testing method |
CN102945204A (en) * | 2012-11-14 | 2013-02-27 | 清华大学 | Operating system standard conformance test adequacy evaluation method based on interface model |
CN103345442A (en) * | 2013-06-06 | 2013-10-09 | 莱诺斯科技(北京)有限公司 | Equipment automated testing service integration system |
CN103970646A (en) * | 2013-01-29 | 2014-08-06 | 国际商业机器公司 | Automatic analysis method and system for operation sequence |
CN104239210A (en) * | 2014-09-23 | 2014-12-24 | 浪潮电子信息产业股份有限公司 | Object-oriented test case design and compiling method |
CN104407973A (en) * | 2014-11-25 | 2015-03-11 | 珠海格力电器股份有限公司 | Automatic unit test realizing method and device |
CN106598869A (en) * | 2016-12-26 | 2017-04-26 | 北京京东金融科技控股有限公司 | Method and device for realizing automatic software testing and electronic equipment |
CN106874207A (en) * | 2017-02-27 | 2017-06-20 | 税友软件集团股份有限公司 | The automated testing method and device of a kind of web page |
CN107133177A (en) * | 2017-05-12 | 2017-09-05 | 郑州云海信息技术有限公司 | A kind of automated test frame |
CN107451064A (en) * | 2017-08-16 | 2017-12-08 | 北京车和家信息技术有限责任公司 | Automatic test approach, device, computer equipment and readable storage medium storing program for executing |
CN107688534A (en) * | 2017-07-26 | 2018-02-13 | 平安科技(深圳)有限公司 | Zonal testing method, apparatus, computer equipment and storage medium |
CN108388520A (en) * | 2018-03-20 | 2018-08-10 | 四川长虹电器股份有限公司 | A kind of software automatic test system and method for layer architecture |
CN108920378A (en) * | 2018-07-17 | 2018-11-30 | 中国银行股份有限公司 | A kind of data hierarchy method and system based on interface testing |
CN109284222A (en) * | 2017-07-20 | 2019-01-29 | 阿里巴巴集团控股有限公司 | Project testing method, device and equipment in software unit, data processing system |
WO2019090994A1 (en) * | 2017-11-08 | 2019-05-16 | 平安科技(深圳)有限公司 | Script testing automated execution method, apparatus, equipment and storage medium |
CN113778845A (en) * | 2020-11-17 | 2021-12-10 | 北京沃东天骏信息技术有限公司 | System testing method and device |
CN114238048A (en) * | 2021-11-25 | 2022-03-25 | 广州市玄武无线科技股份有限公司 | Automatic testing method and system for Web front-end performance |
-
2007
- 2007-02-09 CN CN 200710013551 patent/CN101017457A/en active Pending
Cited By (40)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102193796A (en) * | 2010-03-10 | 2011-09-21 | 微软公司 | Integrated tool for persisting development environment test scenario information |
CN101833507A (en) * | 2010-05-04 | 2010-09-15 | 王轶辰 | Method for testing software based on testing framework |
CN101833507B (en) * | 2010-05-04 | 2011-12-07 | 王轶辰 | Method for testing software based on testing framework |
CN102262580A (en) * | 2010-05-24 | 2011-11-30 | 南京航空航天大学 | Improved software static test method and tool based on symbolic execution |
CN102375777A (en) * | 2010-08-12 | 2012-03-14 | 盛科网络(苏州)有限公司 | Object-oriented test platform |
CN102567199A (en) * | 2010-11-17 | 2012-07-11 | 微软公司 | Scenario testing composability across multiple components |
CN102012863A (en) * | 2010-11-23 | 2011-04-13 | 中国科学技术大学 | Reaction type system testing method |
CN102004695A (en) * | 2010-12-08 | 2011-04-06 | 深圳市茁壮网络股份有限公司 | Method and system for testing browser |
CN102111801A (en) * | 2010-12-23 | 2011-06-29 | 北京宜富泰网络测试实验室有限公司 | Method and system for testing network management interface of third generation mobile communication network |
CN102111801B (en) * | 2010-12-23 | 2013-08-21 | 北京宜富泰网络测试实验室有限公司 | Method and system for testing network management interface of third generation mobile communication network |
CN102156784A (en) * | 2011-04-18 | 2011-08-17 | 烽火通信科技股份有限公司 | Verifying environment patterned chip verifying method and device |
CN102831066A (en) * | 2012-09-19 | 2012-12-19 | 深圳中兴网信科技有限公司 | Integration test device and method |
CN102831066B (en) * | 2012-09-19 | 2015-08-05 | 深圳中兴网信科技有限公司 | Integrated test set and integration test method |
CN102929627B (en) * | 2012-10-29 | 2015-08-12 | 无锡江南计算技术研究所 | Based on test procedure automatic generation method and the ATE method of testing of ATE |
CN102929627A (en) * | 2012-10-29 | 2013-02-13 | 无锡江南计算技术研究所 | Automatic testing program generating method based on ATE (Automatic Test Equipment) and ATE testing method |
CN102890652B (en) * | 2012-11-07 | 2015-07-01 | 武汉光迅信息技术有限公司 | Method for constructing testing software and testing system employing method |
CN102890652A (en) * | 2012-11-07 | 2013-01-23 | 武汉光迅信息技术有限公司 | Method for constructing testing software and testing system employing method |
CN102945204B (en) * | 2012-11-14 | 2015-01-21 | 清华大学 | Operating system standard conformance test adequacy evaluation method based on interface model |
CN102945204A (en) * | 2012-11-14 | 2013-02-27 | 清华大学 | Operating system standard conformance test adequacy evaluation method based on interface model |
US9684582B2 (en) | 2013-01-29 | 2017-06-20 | International Business Machines Corporation | Automatically analyzing operation sequences |
CN103970646A (en) * | 2013-01-29 | 2014-08-06 | 国际商业机器公司 | Automatic analysis method and system for operation sequence |
CN103970646B (en) * | 2013-01-29 | 2016-12-28 | 国际商业机器公司 | A kind of automatic analysis method for the sequence of operation and system thereof |
CN103345442A (en) * | 2013-06-06 | 2013-10-09 | 莱诺斯科技(北京)有限公司 | Equipment automated testing service integration system |
CN103345442B (en) * | 2013-06-06 | 2016-06-01 | 莱诺斯科技(北京)有限公司 | Equipment automatization test service integrated system |
CN104239210A (en) * | 2014-09-23 | 2014-12-24 | 浪潮电子信息产业股份有限公司 | Object-oriented test case design and compiling method |
CN104407973A (en) * | 2014-11-25 | 2015-03-11 | 珠海格力电器股份有限公司 | Automatic unit test realizing method and device |
CN104407973B (en) * | 2014-11-25 | 2018-04-06 | 珠海格力电器股份有限公司 | A kind of implementation method and device of automation cell test |
CN106598869A (en) * | 2016-12-26 | 2017-04-26 | 北京京东金融科技控股有限公司 | Method and device for realizing automatic software testing and electronic equipment |
CN106874207A (en) * | 2017-02-27 | 2017-06-20 | 税友软件集团股份有限公司 | The automated testing method and device of a kind of web page |
CN107133177A (en) * | 2017-05-12 | 2017-09-05 | 郑州云海信息技术有限公司 | A kind of automated test frame |
CN109284222A (en) * | 2017-07-20 | 2019-01-29 | 阿里巴巴集团控股有限公司 | Project testing method, device and equipment in software unit, data processing system |
CN107688534A (en) * | 2017-07-26 | 2018-02-13 | 平安科技(深圳)有限公司 | Zonal testing method, apparatus, computer equipment and storage medium |
CN107451064A (en) * | 2017-08-16 | 2017-12-08 | 北京车和家信息技术有限责任公司 | Automatic test approach, device, computer equipment and readable storage medium storing program for executing |
CN107451064B (en) * | 2017-08-16 | 2020-08-18 | 北京车和家信息技术有限责任公司 | Automatic test method, device, computer equipment and readable storage medium |
WO2019090994A1 (en) * | 2017-11-08 | 2019-05-16 | 平安科技(深圳)有限公司 | Script testing automated execution method, apparatus, equipment and storage medium |
CN108388520A (en) * | 2018-03-20 | 2018-08-10 | 四川长虹电器股份有限公司 | A kind of software automatic test system and method for layer architecture |
CN108920378A (en) * | 2018-07-17 | 2018-11-30 | 中国银行股份有限公司 | A kind of data hierarchy method and system based on interface testing |
CN113778845A (en) * | 2020-11-17 | 2021-12-10 | 北京沃东天骏信息技术有限公司 | System testing method and device |
CN114238048A (en) * | 2021-11-25 | 2022-03-25 | 广州市玄武无线科技股份有限公司 | Automatic testing method and system for Web front-end performance |
CN114238048B (en) * | 2021-11-25 | 2022-08-23 | 广州市玄武无线科技股份有限公司 | Automatic testing method and system for Web front-end performance |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101017457A (en) | Automatically testing method of computer software | |
CN103150249B (en) | A kind of method and system of automatic test | |
CN106940428B (en) | Chip verification method, device and system | |
Ould et al. | Testing in software development | |
CN101526919B (en) | Method for generating script files to test Web application software and device thereof | |
CN109189479B (en) | Parallel automatic verification method for processor instruction set | |
US9098633B2 (en) | Application testing | |
US20130205172A1 (en) | Integrated System and Method for Validating the Functionality and Performance of Software Applications | |
US20120116561A1 (en) | Program testing apparatus, method of testing a program, and program testing program | |
CN106227654B (en) | A kind of test platform | |
US20070061641A1 (en) | Apparatus and method for generating test driver | |
CN104268310A (en) | Method for calling UVM verification environment through special graphical interface | |
CN105760296A (en) | Automation testing control method, device and terminal | |
CN106776326B (en) | Modeling method and system of data analysis model | |
CN112131116A (en) | Automatic regression testing method for embedded software | |
CN104657274A (en) | Method and device for testing software interface | |
CN106484613A (en) | A kind of interface automated test frame based on fitnese | |
CN107622017B (en) | Analysis method for universal automation software test | |
CN116629172A (en) | Method, device, equipment and medium for automatically generating and integrating modules in chip design | |
CN102135939B (en) | Test case operation dispatching device and method | |
CN102063367B (en) | Off-line analysis method and device aiming at computer crash program | |
CN102799479A (en) | Mainboard with multifunctional basic input output system (BIOS) and test method thereof | |
CN113704095A (en) | Automatic generation method and device for automatic interface test case | |
CN112052181B (en) | Embedded software automation test system based on software engineering | |
CN115640183A (en) | Chip verification device and method |
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 |