CN110162473A - A kind of method for testing software - Google Patents

A kind of method for testing software Download PDF

Info

Publication number
CN110162473A
CN110162473A CN201910388987.1A CN201910388987A CN110162473A CN 110162473 A CN110162473 A CN 110162473A CN 201910388987 A CN201910388987 A CN 201910388987A CN 110162473 A CN110162473 A CN 110162473A
Authority
CN
China
Prior art keywords
software
test
function module
software function
testing
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
CN201910388987.1A
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.)
Guangzhou Gaohong Information Technology Co Ltd
Original Assignee
Guangzhou Gaohong Information Technology 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 Guangzhou Gaohong Information Technology Co Ltd filed Critical Guangzhou Gaohong Information Technology Co Ltd
Priority to CN201910388987.1A priority Critical patent/CN110162473A/en
Publication of CN110162473A publication Critical patent/CN110162473A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a kind of method for testing software, which is characterized in that comprising steps of S11, setting software function module test prioritization and need software function module to be tested;S12, software function module printing interface is opened;S13, output software functional module test data.By the way that software function module test prioritization is arranged, software test hierarchical management is realized, testing efficiency is high, can position conveniently and quickly place of ging wrong, can be generally applicable in the electronic product of runs software, such as television set, computer, mobile phone.

Description

A kind of method for testing software
Technical field
The present invention relates to the field of test technology, more specifically to a kind of method for testing software.
Background technique
Software test (English: Software Testing) describes a kind of correctness, complete for promoting to identify software Property, the process of safety and quality.In other words, software test be a kind of audit between reality output and anticipated output or Comparison procedure.The classical definition of software test is: program operated under the defined conditions, to find program error, and weighing apparatus Software quality is measured, and whether the process that design requirement is assessed is able to satisfy to it.
Into the nineties in last century, Software Industry starts to grow rapidly, and the scale of software becomes very big, in some large sizes In software development process, test activity requires a great deal of time and cost, and the means tested at that time are almost all The efficiency of manual test, test is very low;And with the raising of software complexity, occurring much passing through manual mode can not The case where completing test, although people attempt to have write some small routines to assist in the development process of some large softwares Test, but this is not still able to satisfy the unified needs of most software project.Then, much test practitioner begins trying out The testing tool of business is sent out to support to test, subtest personnel complete the test job in a certain type or a certain field, and Testing tool gradually comes into one's own.People are universal, it is realized that tool is not only useful, and will be to the software systems of today It is adequately tested, tool is essential.Testing tool can carry out the test design of part, realize, executes and compare Compared with work.By performance test tool, the purpose for improving testing efficiency can achieve.The development of testing tool, greatly improves The degree of automation of software test, allows tester to free from cumbersome and duplicate test activity, has been devoted to The activities such as the test design of meaning.Using automatic comparison techniques, it can also be automatically performed the judgement of test case implementing result, from And it avoids manually comparing existing careless omission problem.Good automatic test is designed, " night survey may be implemented in some cases Examination " and " unmanned testing ".In most cases, software test automation can cut down expenses, and increasing can hold in finite time Capable test saves the testing time when executing the test of identical quantity.And testing tool selection and promote also increasingly by Pay attention to.In terms of Software Testing Tool platform, commercialized Software Testing Tool is very much, such as capture/playback tool, Web Testing tool, performance testing tool, test and management tool, code tester tool etc., these have stringent copyright restriction and Price costly, but since the limitation of price and copyright can not be used freely, certainly, some Software Testing Tool developers couple Beta version is provided in certain testing tools for the use of user's finite number of time.Fortunately, in open source code community In also there are many Software Testing Tools, be widely used and quite mature and perfect.
In existing software test, when looking for bug, printout content is too many, and be easy to causeing has important ginseng for capturing bug Examine the omission of the information of value.
Therefore, the prior art is urgently greatly improved.
Summary of the invention
The technical problem to be solved in the present invention is that providing a kind of software test for the above-mentioned defect of the prior art Method, comprising steps of
S11, software function module test prioritization is set and needs software function module to be tested;
S12, software function module printing interface is opened;
S13, output software functional module test data.
Preferably, the setting software function module test prioritization includes: that test grades are arranged to software function module, The test of software function module is arranged according to test grades.
Preferably, it includes: to select to need in software function module list that the setting, which needs software function module to be tested, Software function module to be tested.
Preferably, it is arranged before software function module test prioritization and need software function module to be tested further include: Software function module is initialized.
Preferably, it is described to software function module carry out initialization include: initialization output printing interface.
Preferably, the output printing interface includes serial ports, parallel port, network interface.
Implement method for testing software of the invention, has the advantages that excellent by setting software function module test First grade realizes software test hierarchical management, and testing efficiency is high, can position conveniently and quickly place of ging wrong, can be universal Suitable for the electronic product of runs software, such as television set, computer, mobile phone.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
Fig. 1 is invention software test method flow chart.
Specific embodiment
Embodiment one
Referring to Fig. 1, being invention software test method flow chart.As shown in Figure 1, being provided in first embodiment of the invention Method for testing software in, include at least step: S11, setting software function module test prioritization and needing software to be tested Functional module;S12, software function module printing interface is opened;S13, output software functional module test data.In step S11, Setting software function module test prioritization includes: that test grades are arranged to software function module, is arranged according to test grades soft The test of part functional module.In step S11, it includes: in software function module that the setting, which needs software function module to be tested, Selection needs software function module to be tested in list.Step S11, software function module test prioritization is set and needs to test Software function module before further include: software function module is initialized.Initialization package is carried out to software function module It includes: initialization output printing interface.Export the case where printing interface can be according to software place system, including serial ports, parallel port, net Network interface.Such as when LAN-ignorant program test, pass through serial ports or parallel port printout test information.For passing through client- When the online version software test of server mode, test information can be printed out by network interface.
Embodiment two
It is illustrated by taking the test of the software function module of television set as an example below.Television set be typically necessary before volume production into The test of row volume software.Such as TV set software functional module includes: image basis module, multimedia playing module, game mould Block, user setting module etc..By the way that multiple TV set software function module test prioritization is arranged in server end and needs to survey The software function module of examination.For example, setting multiple TV set software function module test prioritization sequence are as follows: image basis module For priority level-one rank, multimedia playing module is priority second level rank, and game module is priority three-level rank, user Setup module is priority level Four rank.Currently need module to be tested are as follows: image basis module and multimedia playing module.When After multiple TV set booting, system for TV set first carries out initialization of (a) serial ports.When software test function is opened, then according to image base Plinth module is priority level-one rank, and multimedia playing module is priority second level rank, preferential to print out image basis mould The test data of block, then print the test data of multimedia playing module.Image basis module, multimedia playing module, game The testing requirement of the disparate modules such as module, user setting module is that research staff is as needed, and multiple numerical value printouts are arranged. In order to save television set video memory, when television set does not need to carry out software test, printout test port can be closed.TV The software test content priority of machine image basis module prints display, and the software test test content of multimedia playing module is secondly Printing display.Close the test printing of the other functions modules such as game module, user setting module.Software test personnel in this way can With according to testing requirement, targetedly in the lookup of type information and TV images basic module, multimedia playing module Relevant test information where finding out bug, facilitates software test personnel to research and development of software personnel and provides targetedly test System facilitates research staff and excludes bug in time, reduces the Software Development period.
The present invention by the designs of above embodiments, the beneficial effect is that: tested by setting software function module preferential Grade realizes software test hierarchical management, and testing efficiency is high, can position conveniently and quickly place of ging wrong, can generally fit For in the electronic product of runs software, such as television set, computer, mobile phone.
The present invention is described according to specific embodiment, but it will be understood by those skilled in the art that not departing from this hair When bright range, various change and equivalent replacement can be carried out.In addition, to adapt to the specific occasion of the technology of the present invention, it can be to the present invention Many modifications are carried out without departing from its protection scope.Therefore, the present invention is not limited to specific embodiments disclosed herein, and including All embodiments for dropping into claims.

Claims (6)

1. a kind of method for testing software, which is characterized in that comprising steps of
S11, software function module test prioritization is set and needs software function module to be tested;
S12, software function module printing interface is opened;
S13, output software functional module test data.
2. method for testing software according to claim 1, which is characterized in that the setting software function module test is preferential Grade includes: that test grades are arranged to software function module, and the test of software function module is arranged according to test grades.
3. method for testing software according to claim 1, which is characterized in that the setting needs software function mould to be tested Block includes: that selection need to software function module to be tested in software function module list.
4. method for testing software according to claim 1, which is characterized in that setting software function module test prioritization and Before need software function module to be tested further include: initialized to software function module.
5. method for testing software according to claim 4, which is characterized in that described to be initialized to software function module It include: initialization output printing interface.
6. method for testing software according to claim 4, which is characterized in that the output printing interface includes serial ports, simultaneously Mouth, network interface.
CN201910388987.1A 2019-05-10 2019-05-10 A kind of method for testing software Pending CN110162473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910388987.1A CN110162473A (en) 2019-05-10 2019-05-10 A kind of method for testing software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910388987.1A CN110162473A (en) 2019-05-10 2019-05-10 A kind of method for testing software

Publications (1)

Publication Number Publication Date
CN110162473A true CN110162473A (en) 2019-08-23

Family

ID=67634173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910388987.1A Pending CN110162473A (en) 2019-05-10 2019-05-10 A kind of method for testing software

Country Status (1)

Country Link
CN (1) CN110162473A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002049507A (en) * 2000-08-04 2002-02-15 Matsushita Electric Ind Co Ltd Test managing device
CN104216829A (en) * 2014-08-29 2014-12-17 福建联迪商用设备有限公司 Method and system for concurrent testing of embedded module
CN106569943A (en) * 2015-10-09 2017-04-19 北京北方微电子基地设备工艺研究中心有限责任公司 Hardware testing method and hardware testing system for equipment
CN107102943A (en) * 2017-04-05 2017-08-29 中国电力科学研究院 A kind of intelligent electric energy meter Software Reliability Test and system
CN109471787A (en) * 2017-09-07 2019-03-15 北京京东尚科信息技术有限公司 Method for evaluating software quality and device, storage medium, electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002049507A (en) * 2000-08-04 2002-02-15 Matsushita Electric Ind Co Ltd Test managing device
CN104216829A (en) * 2014-08-29 2014-12-17 福建联迪商用设备有限公司 Method and system for concurrent testing of embedded module
CN106569943A (en) * 2015-10-09 2017-04-19 北京北方微电子基地设备工艺研究中心有限责任公司 Hardware testing method and hardware testing system for equipment
CN107102943A (en) * 2017-04-05 2017-08-29 中国电力科学研究院 A kind of intelligent electric energy meter Software Reliability Test and system
CN109471787A (en) * 2017-09-07 2019-03-15 北京京东尚科信息技术有限公司 Method for evaluating software quality and device, storage medium, electronic equipment

Similar Documents

Publication Publication Date Title
CN104978270A (en) Automatic software testing method and apparatus
CN103716690A (en) Multimedia live broadcast whistle-blowing method, terminal, server and system
CN106561018A (en) Server monitoring method, monitoring device and monitoring system
CN101944059A (en) Automatic analysis method and device of crash information of computer software
US20130275811A1 (en) Devices for indicating a physical layer error
CN102789405A (en) Automated testing method and system for mainboard
CN107193730A (en) A kind of interface test method of automation
CN113312260B (en) Interface test method, device, equipment and storage medium
CN114880240B (en) Automatic test system and method for equipment of Internet of things, storage medium and equipment
CN109255413A (en) Test parameter calling system and method
CN112231163A (en) Multifunctional computer detection equipment and operation method thereof
US20050204345A1 (en) Method and apparatus for monitoring computer software
CN110909070B (en) Test data multi-view display system based on technical state
CN111400154A (en) Performance test method and related device for solid state disk
US20060195748A1 (en) Electronic product testing procedure supervising method and system
TWI780580B (en) Image reinspection method, computer device, and storage medium
CN114443466A (en) Method for converting executable script by using case file, terminal equipment and storage medium
CN110162473A (en) A kind of method for testing software
CN112027111A (en) Real-time acquisition and display method and system for aircraft bus data
CN101196959A (en) Check support apparatus and computer product
CN111950963A (en) Electronic components intelligent management platform based on internet
WO2022135524A1 (en) System and method for verifying control logic design of nuclear power plant
CN112346994B (en) Test information association method, device, computer equipment and storage medium
CN108551579A (en) A kind of hardware detection method and system of set-top box
CN113238956A (en) Fault analysis method, device and equipment for abnormal application and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190823

RJ01 Rejection of invention patent application after publication