CN103577317B - Software system, exception testing method for same and software testing system - Google Patents

Software system, exception testing method for same and software testing system Download PDF

Info

Publication number
CN103577317B
CN103577317B CN201210273309.9A CN201210273309A CN103577317B CN 103577317 B CN103577317 B CN 103577317B CN 201210273309 A CN201210273309 A CN 201210273309A CN 103577317 B CN103577317 B CN 103577317B
Authority
CN
China
Prior art keywords
test
software
exception
control
communication module
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.)
Active
Application number
CN201210273309.9A
Other languages
Chinese (zh)
Other versions
CN103577317A (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201210273309.9A priority Critical patent/CN103577317B/en
Publication of CN103577317A publication Critical patent/CN103577317A/en
Application granted granted Critical
Publication of CN103577317B publication Critical patent/CN103577317B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a software system, an exception testing method for the same and a software testing system. The exception testing method includes steps of inserting a communication module and exception control codes into the to-be-tested software system and coding the communication module and the exception control codes via the to-be-tested software system; enabling a testing control end to select corresponding control bits and testing data according to testing cases, and performing an exception test on the to-be-tested software system according to the control bits and the testing data. The exception control codes are provided with a plurality of program running paths, and each program running path corresponds to a unique control bit. The software system, the exception testing method and the software testing system in an embodiment of the invention have the advantages that the code-level exception test can be performed on the software system by the aid of the exception testing method and the software testing system, particularly, exception tests can be performed on Linux kernels, accordingly, the test coverage can be improved, bug risks of the software system can be reduced, various exception tests can be flexibly performed on the software system, quality problems of the software system can be solved at development and coding stages, and the bug solving cost can be reduced.

Description

The abnormality test method of software system, system and software testing system
Technical field
The present invention relates to field of computer technology, the abnormality test method of more particularly, to a kind of software system, system and soft Part test system.
Background technology
In prior art, when carrying out software system test, usually construction test case is tested to software system. Prior art there is problems that, when abnormality test is carried out to ADSSs such as linux system kernels, some abnormal surveys Example on probation is difficult to construction, leads to abnormality test to cover not comprehensive, and the abnormality test to high-level softwares such as linux system kernels Method is that test case is less.
Content of the invention
It is contemplated that at least solving one of technical problem present in prior art.
For this reason, the first of the present invention purpose is that proposition one kind can realize code level abnormality test, raising test is covered The abnormality test method of the software system of lid rate and reduction software system bug risk.
Second object of the present invention is to propose a kind of abnormality test system of software system.
Third object of the present invention is to propose a kind of software testing system.
To achieve these goals, the abnormality test method of the software system of a first aspect of the present invention embodiment include with Lower step:Insertion communication module and exception control code in software under testing system, and by described software under testing system to institute State communication module and described exception control code is compiled, wherein, described exception control code has multiple programs and runs road Footpath, and each described program operating path corresponds to a unique control bit;And test control end is according to test cases selection Corresponding control bit and test data, and according to described control bit and described test data, described software under testing system is carried out different Often test.
The abnormality test method of software system according to embodiments of the present invention, by insertion communication in software under testing system Module and exception control code, and exception is carried out according to control bit and test data to software system to be measured by test control end Test, on the one hand realizes the abnormality test of software system code level, particularly realizes the abnormality test of linux kernel, simultaneously right The exception being difficult to construct is capable of testing, and improves test coverage, reduces the bug risk of software system, on the other hand passes through Control bit and test data neatly can carry out various abnormality tests to software system, it is possible to achieve the software system in exploitation period Unified test tries, and the quality problems of software system are solved, in exploitation, coding stage, to reduce the cost solving bug.
To achieve these goals, the abnormality test system of the software system of a second aspect of the present invention embodiment includes: Software under testing system, wherein, is inserted with communication module and exception control code in described software under testing system, described to be measured soft Part system is used for described communication module and described exception control code are compiled, and wherein, described exception control code has Multiple program operating paths, and each described program operating path corresponds to a unique control bit;And test control end, use According to the corresponding control bit of test cases selection and test data, and according to described control bit and described test data to described Software under testing system carries out abnormality test.
The abnormality test system of software system according to embodiments of the present invention, inserts communication module in software under testing system With exception control code, test control end carries out abnormality test, a side according to control bit and test data to software system to be measured This system of face can realize the abnormality test of software system code level, particularly realizes the abnormality test of linux kernel, simultaneously right The exception being difficult to construct is capable of testing, and improves test coverage, reduces the bug risk of software system, on the other hand passes through Control bit and test data neatly can carry out various abnormality tests to software system, it is possible to achieve the software system in exploitation period Unified test tries, and the quality problems of software system are solved, in exploitation, coding stage, to reduce the cost solving bug.
To achieve these goals, the software system of a third aspect of the present invention embodiment includes:Communication module, for Test control end is communicated, and receives test data and the control bit that described test control end sends;And exception control code Module, wherein, described exception control code module has multiple program operating paths, and each described program operating path corresponds to One unique control bit, described exception control code module is used for being selected accordingly according to the control bit that described communication module sends Program operating path.
Software system according to embodiments of the present invention, including communication module and exception control code, test control end is permissible Abnormality test is carried out by control bit and test data, it is possible to achieve the abnormality test of code level, particularly linux kernel soft The abnormality test of part system, and the exception being difficult to construct is capable of test, improve test coverage, reduce software system Bug risk, the software system test in exploitation period can be realized simultaneously, by the quality problems of software system solve exploitation, Coding stage, reduce the cost solving bug.
The additional aspect of the present invention and advantage will be set forth in part in the description, and partly will become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description
The above-mentioned and/or additional aspect of the present invention and advantage will become from reference to the description to embodiment for the accompanying drawings below Substantially and easy to understand, wherein:
Fig. 1 is the flow chart of the abnormality test method of software system according to an embodiment of the invention;
Fig. 2 is the flow chart of the abnormality test method of software system according to an embodiment of the invention;
Fig. 3 is the flow chart of the abnormality test method of software system according to an embodiment of the invention;
Fig. 4 is the structured flowchart of the abnormality test system of software system according to an embodiment of the invention;And
Fig. 5 is the structured flowchart of software system according to an embodiment of the invention.
Specific embodiment
Embodiments of the invention are described below in detail, the example of described embodiment is shown in the drawings, wherein from start to finish The element that same or similar label represents same or similar element or has same or like function.Below with reference to attached The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.
In describing the invention, term " longitudinal ", " horizontal ", " on ", D score, "front", "rear", "left", "right", " perpendicular Directly ", the orientation of instruction such as " level ", " top ", " bottom " or position relationship are based on orientation shown in the drawings or position relationship, are only For the ease of describing the present invention rather than requiring the present invention must be with specific azimuth configuration and operation, therefore it is not intended that right The restriction of the present invention.
The abnormality test method of software system according to embodiments of the present invention is described below with reference to Figure of description.
A kind of abnormality test method of software system, comprises the following steps:Communication module is inserted in software under testing system With exception control code, and by software under testing system, communication module and exception control code are compiled, wherein, abnormal control Code processed has multiple program operating paths, and each program operating path corresponds to a unique control bit;And test control End processed according to the corresponding control bit of test cases selection and test data, and according to control bit and test data to software under testing system System carries out abnormality test.
Fig. 1 is the flow chart of the abnormality test method of software system of one embodiment of the invention.
As shown in figure 1, the abnormality test method of software system according to embodiments of the present invention comprises the steps.
Step S101, insertion communication module and exception control code in software under testing system, and pass through software under testing system System is compiled to communication module and exception control code, and wherein, exception control code has multiple program operating paths, and often Individual program operating path corresponds to a unique control bit.
In one embodiment of the invention, software under testing system can be linux kernel or common software System.Specifically, if software under testing system is linux kernel, the communication module of insertion can be real by serial ports, network interface card etc. Now it is also possible to be realized by API (Application Programming Interface, application programming interface), or Can be realized by proc file system, those skilled in the art should be understood that the communication module inserted can also pass through other Mode is realized;If software under testing system is common software system, can add logical in the source code of common software system Letter interface is to realize inserting communication module.
Step S102, test control end according to the corresponding control bit of test cases selection and test data, and according to control Position and test data carry out abnormality test to software system to be measured.
Wherein, test control end can with software under testing system operation in same machine it is also possible to not in same machine Device, if not on same machine, can carry out remotely control by serial ports, network etc..
Specifically, test control end testing results use-case.Test case includes control information, and wherein control information can be Control bit and test data, test control end is entered to software system to be measured according to the control bit of corresponding test case and test data Row abnormality test.
The abnormality test method of software system according to embodiments of the present invention, by insertion communication in software under testing system Module and exception control code, and exception is carried out according to control bit and test data to software system to be measured by test control end Test, on the one hand realizes the abnormality test of software system code level, particularly realizes the abnormality test of linux kernel, for difficulty It is capable of testing with the exception of construction, improves test coverage, reduce the bug risk of software system, on the other hand pass through control Position processed and test data neatly can carry out various abnormality tests to software system, it is possible to achieve the software system in exploitation period Test, the quality problems of software system are solved, in exploitation, coding stage, to reduce the cost solving bug.
Fig. 2 is the flow chart of the abnormality test method of software system of one embodiment of the invention.
As shown in Fig. 2 the abnormality test method of software system according to embodiments of the present invention comprises the steps.
Step S201, insertion communication module and exception control code in software under testing system, and pass through software under testing system System is compiled to communication module and exception control code, and wherein, exception control code has multiple program operating paths, and often Individual program operating path corresponds to a unique control bit.
In one embodiment of the invention, software under testing system can be linux kernel or common software System.Specifically, if software under testing system is linux kernel, the communication module of insertion can be real by serial ports, network interface card etc. Now it is also possible to be realized by API (Application Programming Interface, application programming interface), or Can be realized by proc file system, those skilled in the art should be understood that the communication module inserted can also pass through other Mode is realized;If software under testing system is common software system, can add logical in the source code of common software system Letter interface is to realize inserting communication module.
Step S202, test control end is according to the corresponding control bit of test cases selection and test data, test control end Control bit and test data are sent to communication module.
Wherein, test control end can with software under testing system operation in same machine it is also possible to not in same machine Device, if not on same machine, can carry out remotely control by serial ports, network etc..
Specifically, test control end testing results use-case.Test case includes control information, and (control information can be for controlling Position and test data), test control end sends the control bit of corresponding test case and test data to communication module.
Step S203, communication module extracts control bit and test data.
Specifically, communication module receive test control end send control bit and test data, and extract control bit and Test data, then sends confirmation to test control end.
Step S204, test data is inputted software under testing system by communication module, and control bit is inputted exception control generation Code is to select one of multiple program operating paths.
Specifically, by test data input software under testing system and will control bit input exception control code multiple to select After one of program operating path, test control end can carry out abnormality test to software system to be measured.
In one embodiment of the invention, exception control code does not run when not receiving control bit.
Test data input is treated by the abnormality test method of software system according to embodiments of the present invention by communication module Survey software system and by control bit input exception control code to select one of multiple program operating paths, thus test control The abnormality test to software system can be conveniently realized at end processed, realize flexibly, and be convenient for various abnormality tests.
Fig. 3 is the flow chart of the abnormality test method of software system of one embodiment of the invention.
As shown in figure 3, the abnormality test method of software system according to embodiments of the present invention comprises the steps.
Step S301, insertion communication module and exception control code in software under testing system, and pass through software under testing system System is compiled to communication module and exception control code, and wherein, exception control code has multiple program operating paths, and often Individual program operating path corresponds to a unique control bit.
In one embodiment of the invention, software under testing system can be linux kernel or common software System.Specifically, if software under testing system is linux kernel, the communication module of insertion can be real by serial ports, network interface card etc. Now it is also possible to be realized by API (Application Programming Interface, application programming interface), or Can be realized by proc file system, those skilled in the art should be understood that the communication module inserted can also pass through other Mode is realized;If software under testing system is common software system, can add logical in the source code of common software system Letter interface is to realize inserting communication module.
Step S302, test control end is according to the corresponding control bit of test cases selection and test data, test control end Control bit and test data are sent to communication module.
Wherein, test control end can with software under testing system operation in same machine it is also possible to not in same machine Device, if not on same machine, can carry out remotely control by serial ports, network etc..
Specifically, specifically, test control end testing results use-case.Test case includes control information, and (control information can Think control bit and test data), test control end sends the control bit of corresponding test case and test data to communication mould Block.
Step S303, communication module extracts control bit and test data.
Specifically, communication module receive test control end send control bit and test data, and extract control bit and Test data, then sends confirmation to test control end.
Step S304, test data is inputted software under testing system by communication module, and control bit is inputted exception control generation Code is to select one of multiple program operating paths.
Specifically, by test data input software under testing system and will control bit input exception control code multiple to select After one of program operating path, test control end can carry out abnormality test to software system to be measured.
In one embodiment of the invention, exception control code does not run when not receiving control bit.
Step S305, software under testing system is according to the program operating path testing results data of exception control Code Selection.
Step S306, test control end gathers the system information of software under testing system, and according to system information to be measured soft Part system carries out abnormality test.
The abnormality test method of software system according to embodiments of the present invention, test control end can be to be measured soft with monitor in real time Part system mode and judge whether abnormality processing is correct etc., reduction difficulty of test.
In order to realize above-described embodiment, another aspect of the present invention also proposes a kind of abnormality test system of software system System.The abnormality test system of software system according to embodiments of the present invention is described below with reference to Figure of description.
A kind of abnormality test system of software system, including:Software under testing system, wherein, inserts in software under testing system Enter to have communication module and exception control code, software under testing system is used for communication module and exception control code are compiled, Wherein, exception control code has multiple program operating paths, and each program operating path corresponds to a unique control bit; And test control end, for according to the corresponding control bit of test cases selection and test data, and according to control bit and test Data carries out abnormality test to software system to be measured.
Fig. 4 is the structured flowchart of the abnormality test system of software system of one embodiment of the invention.
As shown in figure 4, the abnormality test system of software system according to embodiments of the present invention includes software under testing system 100 With test control end 200.
Specifically, software under testing system 100 is inserted with communication module and exception control code, software under testing system 100 are used for communication module and exception control code are compiled, and wherein, exception control code has multiple programs and runs road Footpath, and each program operating path corresponds to a unique control bit.
In one embodiment of the invention, software under testing system 100 can be linux kernel or common Software system.Specifically, if software under testing system 100 is linux kernel, the communication module of insertion can pass through serial ports, net Card etc. is realized it is also possible to pass through API (Application Programming Interface, application programming interface) in fact Existing, or can be realized by proc file system, those skilled in the art should be understood that the communication module inserted is acceptable Realize by other means;If software under testing system 100 is common software system, can be in the source of common software system Add communication interface to realize inserting communication module in code.
Test control end 200 is used for according to the corresponding control bit of test cases selection and test data, and according to control bit With test data, abnormality test is carried out to software system 100 to be measured.Wherein, test control end 200 can be with software under testing system 100 operate in same machine it is also possible to not in same machine, if not on same machine, can pass through serial ports, net Network etc. carries out remotely control.Specifically, test control end 200 testing results use-case.Test case includes control information, wherein controls Information processed can be control bit and test data, and test control end 200 is according to the control bit of corresponding test case and test data Abnormality test is carried out to software system 100 to be measured.
The abnormality test system of software system according to embodiments of the present invention, inserts communication module in software under testing system With exception control code, test control end carries out abnormality test, a side according to control bit and test data to software system to be measured This system of face can realize the abnormality test of software system code level, particularly realizes the abnormality test of linux kernel, simultaneously right The exception being difficult to construct is capable of testing, and improves test coverage, reduces the bug risk of software system, on the other hand passes through Control bit and test data neatly can carry out various abnormality tests to software system, it is possible to achieve the software system in exploitation period Unified test tries, and the quality problems of software system are solved, in exploitation, coding stage, to reduce the cost solving bug.
In one embodiment of the invention, test control end 200 is used for sending control bit and test data to communication Module, extracts control bit and test data by communication module, and test data is inputted software under testing system 100, and will control Input exception control code in position processed is to select one of multiple program operating paths.Wherein, exception control code is not receiving Do not run during control bit.
Specifically, test control end 200 sends the control bit of corresponding test case and test data to communication module, leads to Letter module receives control bit and the test data that test control end 200 sends, and extracts control bit and test data, Ran Houtong Letter module sends confirmation to test control end 200, and test data is inputted software under testing system 100 and incites somebody to action by communication module again Control bit input exception control code, can be right by this test control end 200 to select one of multiple program operating paths Software under testing system 100 carries out abnormality test.
Test data input is treated by the abnormality test system of software system according to embodiments of the present invention by communication module Survey software system and by control bit input exception control code to select one of multiple program operating paths, thus test control The abnormality test to software system can be conveniently realized at end processed, realize flexibly, and be convenient for various abnormality tests.
In one embodiment of the invention, software under testing system 100 is additionally operable to the journey according to exception control Code Selection Sort run path testing results data, and test control end 200 be additionally operable to gather software under testing system 100 system information, And abnormality test is carried out to software system 100 to be measured according to system information.Thus, test control end can be to be measured soft with monitor in real time Part system mode and judge whether abnormality processing is correct etc., reduction difficulty of test.
In order to realize above-described embodiment, another aspect of the present invention also proposes a kind of software system.Below with reference to description Description of Drawings software system according to embodiments of the present invention.
A kind of software system, including:Communication module, for being communicated with test control end, is received test control end and sends out The test data sent and control bit;And exception control code module, wherein, exception control code module has multiple program fortune Walking along the street footpath, and each program operating path corresponds to a unique control bit, exception control code module is used for according to communication mould The control bit that block sends selects corresponding program operating path.
Fig. 5 is the structured flowchart of the software system of one embodiment of the invention.
As shown in figure 5, software system according to embodiments of the present invention includes communication module 10 and exception control code module 20.
Specifically, communication module 10 is used for being communicated with test control end, receives the test number that test control end sends According to and control bit.
Exception control code module 20 has multiple program operating paths, and each program operating path corresponds to one uniquely Control bit, exception control code module 20 is used for selecting corresponding program to run road according to the control bit that communication module sends Footpath.Wherein, exception control code module 20 does not run when not receiving control bit.
In one embodiment of the invention, software under testing system can be linux kernel or common software System.Specifically, if software under testing system is linux kernel, the communication module 10 of insertion can be real by serial ports, network interface card etc. Now it is also possible to be realized by API (Application Programming Interface, application programming interface), or Can be realized by proc file system, those skilled in the art should be understood that the communication module inserted can also pass through other Mode is realized;If software under testing system is common software system, can add logical in the source code of common software system Letter interface is to realize inserting communication module 10.
In one embodiment of the invention, communication module 10 is additionally operable to for the system information of software system to feed back to test Control end.Thus, test control end by communication module monitor in real time software under testing system mode and can judge abnormality processing Whether correct etc., reduce difficulty of test.
Software system according to embodiments of the present invention, including communication module and exception control code, test control end is permissible Abnormality test is carried out by control bit and test data, it is possible to achieve the abnormality test of code level, particularly linux kernel soft The abnormality test of part system, and the exception being difficult to construct is capable of test, improve test coverage, reduce software system Bug risk, the software system test in exploitation period can be realized simultaneously, by the quality problems of software system solve exploitation, Coding stage, reduce the cost solving bug.
Represent in flow charts or here logic described otherwise above and/or step, for example, it is possible to be considered as to use In the order list of the executable instruction realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (system as computer based system, including processor or other can hold from instruction Row system, device or equipment instruction fetch the system of execute instruction) use, or with reference to these instruction execution systems, device or set Standby and use.For the purpose of this specification, " computer-readable medium " can any can be comprised, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress using with reference to these instruction execution systems, device or equipment Put.
The more specifically example (non-exhaustive list) of computer-readable medium includes following:There are one or more wirings Electrical connection section (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program thereon or other are suitable Medium, because edlin, interpretation or if necessary with it can then be entered for example by carrying out optical scanning to paper or other media His suitable method is processed to electronically obtain described program, is then stored in computer storage.
It should be appreciated that in an embodiment of the present invention, mobile terminal can be mobile phone, panel computer, personal digital assistant, E-book etc. has the hardware device of various operating systems.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, the software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realizing.For example, if realized with hardware, and the same in another embodiment, can use well known in the art under Any one of row technology or their combination are realizing:There is the logic gates for data signal is realized with logic function Discrete logic, there is the special IC of suitable combinational logic gate circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy describing with reference to this embodiment or example Point is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term not Necessarily refer to identical embodiment or example.And, the specific features of description, structure, material or feature can be any One or more embodiments or example in combine in an appropriate manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that:Not Multiple changes, modification, replacement and modification can be carried out to these embodiments in the case of the principle of the disengaging present invention and objective, this The scope of invention is limited by claim and its equivalent.

Claims (12)

1. a kind of abnormality test method of software system is it is characterised in that comprise the following steps:
Insertion communication module and exception control code in software under testing system, and by described software under testing system to described logical Letter module and described exception control code are compiled, and wherein, described exception control code has multiple program operating paths, and Each described program operating path corresponds to a unique control bit;And
Test control end according to the corresponding control bit of test cases selection and test data, and according to described control bit and described survey Examination data carries out abnormality test to described software under testing system, and wherein, described test control end is by described control bit and described survey Examination data is activation extracts described control bit and described test data, described communication mould to described communication module, described communication module Described test data is inputted described software under testing system by block, and described control bit is inputted described exception control code to select One of the plurality of program operating path.
2. the abnormality test method of software system as claimed in claim 1 is not it is characterised in that described exception control code is Receive and do not run during described control bit.
3. the abnormality test method of the software system as described in any one of claim 1-2 is it is characterised in that described software under testing System is linux kernel.
4. the abnormality test method of software system as claimed in claim 1 is it is characterised in that also include:
Described software under testing system runs described test data according to the program operating path of described exception control Code Selection;With And
Described test control end gathers the system information of described software under testing system, and according to described system information to described to be measured Software system carries out abnormality test.
5. a kind of abnormality test system of software system is it is characterised in that include:
Software under testing system, wherein, is inserted with communication module and exception control code in described software under testing system, described treats Survey software system to be used for described communication module and described exception control code are compiled, wherein, described exception control code There are multiple program operating paths, and each described program operating path corresponds to a unique control bit;And
Test control end, for according to the corresponding control bit of test cases selection and test data, and according to described control bit and Described test data carries out abnormality test to described software under testing system, wherein,
Described test control end is used for sending described control bit and described test data to described communication module, by described communication Module extracts described control bit and described test data, and described test data is inputted described software under testing system, and will Described control bit inputs described exception control code to select one of the plurality of program operating path.
6. the abnormality test system of software system as claimed in claim 5 is not it is characterised in that described exception control code is Receive and do not run during described control bit.
7. the abnormality test system of software system as claimed in claim 5 is it is characterised in that described software under testing system is Linux kernel.
8. the abnormality test system of software system as claimed in claim 5 is it is characterised in that described software under testing system is also used Run described test data in the program operating path according to described exception control Code Selection, and described test control end is also For gathering the system information of described software under testing system, and according to described system information, described software under testing system is carried out different Often test.
9. a kind of software system is it is characterised in that include:
Communication module, for being communicated with test control end, receives test data and the control that described test control end sends Position;And
Exception control code module, wherein, described exception control code module has multiple program operating paths, and described in each Program operating path corresponds to a unique control bit, and described exception control code module is used for being sent according to described communication module Control bit select corresponding program operating path, wherein,
Described communication module extracts described control bit and described test data, and the input of described test data is treated by described communication module Survey software system, and described control bit is inputted described exception control code to select in the plurality of program operating path Individual.
10. software system as claimed in claim 9 it is characterised in that described exception control code module do not receive described Do not run during control bit.
11. software systems as claimed in claim 9 are it is characterised in that described software under testing system is linux kernel.
12. software systems as claimed in claim 9 are it is characterised in that described communication module is additionally operable to described software system System information feed back to described test control end.
CN201210273309.9A 2012-08-02 2012-08-02 Software system, exception testing method for same and software testing system Active CN103577317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210273309.9A CN103577317B (en) 2012-08-02 2012-08-02 Software system, exception testing method for same and software testing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210273309.9A CN103577317B (en) 2012-08-02 2012-08-02 Software system, exception testing method for same and software testing system

Publications (2)

Publication Number Publication Date
CN103577317A CN103577317A (en) 2014-02-12
CN103577317B true CN103577317B (en) 2017-02-08

Family

ID=50049141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210273309.9A Active CN103577317B (en) 2012-08-02 2012-08-02 Software system, exception testing method for same and software testing system

Country Status (1)

Country Link
CN (1) CN103577317B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10102368B2 (en) * 2016-01-20 2018-10-16 Qualcomm Incorporated Information flow tracking using incremental profiling

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183335A (en) * 2007-12-25 2008-05-21 中兴通讯股份有限公司 Method and system for realizing embedded software unconventionality testing
CN102103538A (en) * 2011-02-22 2011-06-22 南京航空航天大学 Method for testing palletizing robot control software based on Agent

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080068385A (en) * 2007-01-19 2008-07-23 슈어소프트테크주식회사 Program test system, method and computer readable medium on which program for executing the method is recorded

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183335A (en) * 2007-12-25 2008-05-21 中兴通讯股份有限公司 Method and system for realizing embedded software unconventionality testing
CN102103538A (en) * 2011-02-22 2011-06-22 南京航空航天大学 Method for testing palletizing robot control software based on Agent

Also Published As

Publication number Publication date
CN103577317A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CA3052820C (en) Systems and methods of implementing remote boundary scan features
CN107807881B (en) Code coverage rate testing method and device and computer equipment
CN102543226B (en) Priority logic module
CN104407882B (en) A kind of board card device
US7158908B2 (en) Test apparatus, diagnosing program and diagnosing method therefor
CN101785066B (en) Programmable diagnostic memory module
CN105159727B (en) firmware upgrade processing method, device and system
US10209306B2 (en) Methods and systems for generating functional test patterns for manufacture test
SE517286C2 (en) Methods and apparatus for upgrading cellular mobile phones
US20120198292A1 (en) Test apparatus and test method
CN107506300A (en) A kind of ui testing method, apparatus, server and storage medium
CN107463500A (en) Adjustment method, medium, system and the computing device of test script
CN100524532C (en) System and method for multi-use eFuse macro
US20180313891A1 (en) Test program flow control
CN105786562A (en) Method and device for integrating plug-in
EP2003562A2 (en) Debugging techniques for a programmable integrated circuit
CN107807869A (en) A kind of test system and method for testing
CN109640078A (en) Set-top box test method, device, set-top box and computer readable storage medium
CN103218297B (en) The screening technique and device of test data
CN103577317B (en) Software system, exception testing method for same and software testing system
CN107430659A (en) Method and apparatus for being handled in the electric of functional safety, electronics and/or programmable electronic system and transmitting data
CN110389571A (en) A kind of bus automatization test system and method
CN108196861A (en) A kind of data updating method and its diagnostic device
CN101202117A (en) System and method for testing NVM chip
CN103959079B (en) For the method and apparatus determining the fault in the connecting line between central location and multiple separate electronic component

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant