CN102591775A - System for implementing automatic test of software - Google Patents

System for implementing automatic test of software Download PDF

Info

Publication number
CN102591775A
CN102591775A CN2011104530412A CN201110453041A CN102591775A CN 102591775 A CN102591775 A CN 102591775A CN 2011104530412 A CN2011104530412 A CN 2011104530412A CN 201110453041 A CN201110453041 A CN 201110453041A CN 102591775 A CN102591775 A CN 102591775A
Authority
CN
China
Prior art keywords
software
instruction set
test
result
test result
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
CN2011104530412A
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.)
SUZHOU HANQING INVESTMENT MANAGEMENT CO Ltd
Original Assignee
SUZHOU HANQING INVESTMENT MANAGEMENT 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 SUZHOU HANQING INVESTMENT MANAGEMENT CO Ltd filed Critical SUZHOU HANQING INVESTMENT MANAGEMENT CO Ltd
Priority to CN2011104530412A priority Critical patent/CN102591775A/en
Publication of CN102591775A publication Critical patent/CN102591775A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a system for implementing automatic test of software, comprising a central processing unit (CPU), a test information unit, an interface unit, a master control module, a test result comparison module, a database module and a to-be-tested software instruction set generation module. According to the above mode, the system of the invention can operate automatically without manual control, and is high in test efficiency and high in accuracy.

Description

A kind of system that realizes software automatic test
Technical field
The present invention relates to the software test field, particularly relate to a kind of system that realizes software automatic test.
Background technology
Along with progress of modern technology, the application of software product in people's life is more and more general.In existing software product testing field, according to statistics, the time of software product testing accounts for 2/3 of the entire product construction cycle greatly, so the speed of software test can influence the tempo of development of entire product to a great extent.At present, all adopt the method for test manually both at home and abroad, the still unmatchful software product notion of test automatically produces always.Because the main points of software product testing are various, complicated, repeatability big; So testing software manually; Have all always that workload is huge, fatiguability, be prone to omit main points, people and be maloperation, shortcoming such as speed is slow, accuracy is low, thereby have a strong impact on the Products Development cycle.
Summary of the invention
The technical matters that the present invention mainly solves provides a kind of system that realizes software automatic test, can solve the deficiency that prior art exists, and can break away from manual control and move automatically, and testing efficiency is high.
For solving the problems of the technologies described above; The technical scheme that the present invention adopts is: a kind of system that realizes software automatic test is provided; Comprise: central processing unit CPU, detecting information unit, interface unit, main control module, test result comparison module, DBM and software under testing instruction set generation module, wherein
Said central processing unit CPU; Be used for receiving the instruction set of software to be tested through interface unit; Instruction in the instruction set that receives of operation according to the recording instruction in the instruction set, is exported to the detecting information unit during instruction operation fructufy that this recording instruction is corresponding;
Said detecting information unit is used to receive and store the instruction operation result that CPU exports, and through interface unit the instructions stored operation result is exported as test result;
Said main control module; Be connected with interface unit with said test result comparison module, DBM, software under testing instruction set generation module; Be used for the software under testing instruction set is transferred to central processing unit CPU through interface unit, and receive test result through the interface unit transmission;
Said test result comparison module is used for the preset result's of the tested software in test result data and the DBM data are compared, and the result after the comparison is generated test report;
Said DBM is used to deposit the data that tested software is preset the test report of result's data, generation;
Said software under testing instruction set generation module is used to produce the instruction set of software under testing.
In preferred embodiment of the present invention; Said interface unit comprises input interface and output interface; Said central processing unit CPU is through the instruction set of input interface reception software under testing, and said detecting information unit is exported the instructions stored operation result through output interface as test result.
In preferred embodiment of the present invention, after all instructions in executing instruction set of said central processing unit CPU, ask the test result of said detecting information unit output storage inside again.
In preferred embodiment of the present invention, said detecting information unit is according to pre-set time interval, periodically through the test result output of output interface with storage inside.
The invention has the beneficial effects as follows: the system of the realization software automatic test that the present invention discloses, can break away from manual control and move automatically, testing efficiency is high, and accuracy is high.
Description of drawings
Fig. 1 is the structural representation of a preferred embodiment of the present invention system of realizing software automatic test;
The mark of each parts is following in the accompanying drawing: 1, central processing unit CPU, 2, the detecting information unit, 3, interface unit, 4, main control module, 5, software under testing instruction set generation module, 6, DBM, 7, the test result comparison module.
Embodiment
Below in conjunction with accompanying drawing preferred embodiment of the present invention is set forth in detail, thereby protection scope of the present invention is made more explicit defining so that advantage of the present invention and characteristic can be easier to it will be appreciated by those skilled in the art that.
See also Fig. 1, the embodiment of the invention comprises:
A kind of system that realizes software automatic test comprises: central processing unit CPU 1, detecting information unit 2, interface unit 3, main control module 4, test result comparison module 7, DBM 6 and software under testing instruction set generation module 5, wherein
Said central processing unit CPU 1; Be used for receiving the instruction set of software to be tested through interface unit 3; Instruction in the instruction set that receives of operation according to the recording instruction in the instruction set, is exported to detecting information unit 2 during instruction operation fructufy that this recording instruction is corresponding;
Said detecting information unit 2 is used to receive and store the instruction operation result that central processing unit CPU 1 is exported, and through interface unit 3 the instructions stored operation result is exported as test result;
Said main control module 4; Be connected with interface unit 3 with said test result comparison module 7, DBM 6, software under testing instruction set generation module 5; Be used for the software under testing instruction set is transferred to central processing unit CPU 1 through interface unit 3, and receive test result through interface unit 3 transmission;
Said test result comparison module 7 is used for the preset result's of tested software in test result data and the DBM 6 data are compared, and the result after the comparison is generated test report;
Said DBM 6 is used to deposit the data that tested software is preset the test report of result's data, generation;
Said software under testing instruction set generation module 5 is used to produce the instruction set of software under testing.
Said interface unit 3 comprises input interface and output interface, and said central processing unit CPU 1 is through the instruction set of input interface reception software under testing, and said detecting information unit 2 is exported the instructions stored operation result through output interface as test result.
After all instructions in executing instruction set of said central processing unit CPU 1, ask the test result of said detecting information unit 2 output storage inside again.
Said detecting information unit 2 periodically through the test result output of output interface with storage inside, makes things convenient for the staff to compare according to pre-set time interval.
The system of the realization software automatic test that the present invention discloses can break away from manual control and move automatically, and testing efficiency is high, and accuracy is high.
The above is merely embodiments of the invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (4)

1. a system that realizes software automatic test is characterized in that, comprising: central processing unit CPU, detecting information unit, interface unit, main control module, test result comparison module, DBM and software under testing instruction set generation module, wherein
Said central processing unit CPU; Be used for receiving the instruction set of software to be tested through interface unit; Instruction in the instruction set that receives of operation according to the recording instruction in the instruction set, is exported to the detecting information unit during instruction operation fructufy that this recording instruction is corresponding;
Said detecting information unit is used to receive and store the instruction operation result that CPU exports, and through interface unit the instructions stored operation result is exported as test result;
Said main control module; Be connected with interface unit with said test result comparison module, DBM, software under testing instruction set generation module; Be used for the software under testing instruction set is transferred to central processing unit CPU through interface unit, and receive test result through the interface unit transmission;
Said test result comparison module is used for the preset result's of the tested software in test result data and the DBM data are compared, and the result after the comparison is generated test report;
Said DBM is used to deposit the data that tested software is preset the test report of result's data, generation;
Said software under testing instruction set generation module is used to produce the instruction set of software under testing.
2. the system of realization software automatic test according to claim 1; It is characterized in that; Said interface unit comprises input interface and output interface; Said central processing unit CPU is through the instruction set of input interface reception software under testing, and said detecting information unit is exported the instructions stored operation result through output interface as test result.
3. the system of realization software automatic test according to claim 1 is characterized in that, after all instructions in executing instruction set of said central processing unit CPU, asks the test result of said detecting information unit output storage inside again.
4. the system of realization software automatic test according to claim 1 is characterized in that, said detecting information unit is according to pre-set time interval, periodically through the test result output of output interface with storage inside.
CN2011104530412A 2011-12-30 2011-12-30 System for implementing automatic test of software Pending CN102591775A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104530412A CN102591775A (en) 2011-12-30 2011-12-30 System for implementing automatic test of software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104530412A CN102591775A (en) 2011-12-30 2011-12-30 System for implementing automatic test of software

Publications (1)

Publication Number Publication Date
CN102591775A true CN102591775A (en) 2012-07-18

Family

ID=46480469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104530412A Pending CN102591775A (en) 2011-12-30 2011-12-30 System for implementing automatic test of software

Country Status (1)

Country Link
CN (1) CN102591775A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317715A (en) * 2014-10-30 2015-01-28 南京富士通南大软件技术有限公司 Simulator based automatic functional test implementation method for central processing unit instruction sets
CN105930274A (en) * 2016-05-05 2016-09-07 中国银行股份有限公司 Automated test method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1737775A (en) * 2004-08-18 2006-02-22 华为技术有限公司 Automated testing apparatus and method for embedded software
CN1744054A (en) * 2004-08-31 2006-03-08 中国银联股份有限公司 Automatic test auxiliary system and corresponding software automatic test method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1737775A (en) * 2004-08-18 2006-02-22 华为技术有限公司 Automated testing apparatus and method for embedded software
CN1744054A (en) * 2004-08-31 2006-03-08 中国银联股份有限公司 Automatic test auxiliary system and corresponding software automatic test method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317715A (en) * 2014-10-30 2015-01-28 南京富士通南大软件技术有限公司 Simulator based automatic functional test implementation method for central processing unit instruction sets
CN105930274A (en) * 2016-05-05 2016-09-07 中国银行股份有限公司 Automated test method and system
CN105930274B (en) * 2016-05-05 2018-09-07 中国银行股份有限公司 A kind of automated testing method and system

Similar Documents

Publication Publication Date Title
CN103616654A (en) System and method for testing power quality monitoring device
CN102110053A (en) Random testing method based on Android
CN104062570A (en) Power transformer partial discharge signal frequency-selecting method
CN105070334B (en) A method of judging that control rod drive mechanism acts based on curent change
CN201732472U (en) Automatic testing device of concentrated electric energy meter reading equipment
CN203386041U (en) Carrier rocket ground acquisition device
CN102591775A (en) System for implementing automatic test of software
CN102944778B (en) Portable detecting device for low-frequency oscillation of electric system
CN103163407B (en) A kind of test the conversion method of multiple TCH test channels in system
CN204287500U (en) A kind of with remote monitoring 32 are without cable seismograph
CN203811206U (en) Enterprise carbon discharge metering and analysis device
CN104464254A (en) Distributed data synchronous acquisition device and distributed data synchronous acquisition method
CN202494745U (en) Serial type testing device
CN202649351U (en) Interface detecting device of information collecting terminal
CN204177575U (en) A kind of insert bearing fault detection system based on DSP and ARM
CN103473161B (en) A kind of method of giving out a contract for a project of internal memory SMBUS signal testing
CN203241148U (en) Device for monitoring wind turbine real-time vibration faults
CN101621341B (en) Automatic debugging method of wireless dispatch communication station
CN202267952U (en) Software tester
CN111103449A (en) Simulation three-phase electric energy meter compatible with narrow-band module and HPLC module full detection
CN202649363U (en) Network port detection device
CN203570357U (en) Anchoring on-line nondestructive testing device for mine laneway
CN201804053U (en) Automatic test system for dynamic test
CN205844887U (en) A kind of test system of new forms of energy cooling protection system
CN204359842U (en) A kind of computer based cable data tester

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: 20120718