CN104834590B - Method for testing software and system - Google Patents

Method for testing software and system Download PDF

Info

Publication number
CN104834590B
CN104834590B CN201410048167.5A CN201410048167A CN104834590B CN 104834590 B CN104834590 B CN 104834590B CN 201410048167 A CN201410048167 A CN 201410048167A CN 104834590 B CN104834590 B CN 104834590B
Authority
CN
China
Prior art keywords
pitching pile
code
configuration file
tested software
point
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
CN201410048167.5A
Other languages
Chinese (zh)
Other versions
CN104834590A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410048167.5A priority Critical patent/CN104834590B/en
Publication of CN104834590A publication Critical patent/CN104834590A/en
Application granted granted Critical
Publication of CN104834590B publication Critical patent/CN104834590B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of method for testing software, the method includes:The first configuration file is obtained, pitching pile point and the corresponding pitching pile code for being used to generate test scene are equipped in first configuration file;According to first configuration file, the corresponding pitching pile code is inserted at the pitching pile point of tested software, the tested software after generating pitching pile;Tested software after running the pitching pile executes the pitching pile code corresponding with the pitching pile point of triggering when the pitching pile point in the tested software after the pitching pile is triggered.Using the method for testing software, various abnormal scenes can be simulated and testing time cost can be saved.In addition, additionally providing a kind of software testing system.

Description

Method for testing software and system
Technical field
The present invention relates to software testing technology fields, more particularly to a kind of method for testing software and system.
Background technique
Software is the stability for ensuring software before publication, needs to test software.In software test, to protect Software quality is demonstrate,proved, the scene that may be faced to various softwares is needed to carry out coverage test, it is special including normal and abnormal scene It is not some abnormal scenes, such as:Machine low memory, Insufficient disk space, local file read-write error and abnormal data Deng.In traditional technology, it will usually using the Black-box Testing method based on function and the white-box testing method based on code both Scheme realizes software test.
Black-box Testing method based on function, if various abnormal scenes are covered, for example, for machine low memory Abnormal scene needs to open a large amount of program and exhausts the memory of system;For the abnormal scene of Insufficient disk space, then need Local disk space is taken by modes such as copied files.Therefore it is tired to implement comparison for the Black-box Testing method based on function Difficulty, and need certain testing time cost.Also, the hooks inside some programs, such as some function are returned extremely It returns, the Black-box Testing method based on function is more difficult to simulate.
White-box testing method based on code passes through manual modification program although breakpoint can be arranged when program is run Runtime data modifies code temporarily to simulate this kind of abnormal scene, but the testing time cost of this mode is equally very Height, especially for the simulation of some special scenes for being related to more code module modification, for example, all new function calls It is intended to return to the special scenes of NULL, the time cost of this test method can more be increased.
Therefore, traditional method for testing software is difficult to simulate in the presence of abnormal scene and the technology of testing time higher cost is asked Topic.
Summary of the invention
Based on this, it is necessary to which in view of the above technical problems, providing a kind of can simulate various abnormal scenes and can reduce survey Try the method for testing software and system of time cost.
A kind of method for testing software, the method includes:
It obtains the first configuration file, pitching pile point is equipped in first configuration file and corresponding for generating test scene Pitching pile code;
According to first configuration file, it is inserted into the corresponding pitching pile code at the pitching pile point of tested software, generates Tested software after pitching pile;
Tested software after running the pitching pile, the pitching pile point in the tested software after pitching pile are triggered When, execute the pitching pile code corresponding with the pitching pile point of triggering.
A kind of software testing system, the system comprises:
Module is obtained, for obtaining the first configuration file, is equipped with pitching pile point and corresponding use in first configuration file In the pitching pile code for generating test scene;
Code insertion module, for being inserted at the pitching pile point of tested software corresponding according to first configuration file The pitching pile code, the tested software after generating pitching pile;
Code runs module, for running the tested software after the pitching pile, in the tested software after pitching pile When the pitching pile point is triggered, the pitching pile code corresponding with the pitching pile point of triggering is executed.
Relative to traditional Black-box Testing method based on function and the white-box testing method based on code, the present invention is mentioned The method for testing software and system of confession, since corresponding pitching pile code can be inserted at the pitching pile point of tested software, so that inserting In the process of running, pitching pile point therein can execute pitching pile generation corresponding with pitching pile point when being triggered to tested software after stake automatically Code, thus simulate various test scenes, do not need manual simulation's scene or manual modification data or temporarily modify code, because This can simulate various abnormal scenes but also reduce testing time cost.
Detailed description of the invention
Fig. 1 is the flow diagram of method for testing software in one embodiment;
Fig. 2A is the application scenario diagram of method for testing software in one embodiment;
Fig. 2 B is the application scenario diagram of method for testing software in another embodiment;
Fig. 3 is the structural block diagram of software testing system in one embodiment;
Fig. 4 is the structural block diagram that code runs module in one embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
The description of specific distinct unless the context otherwise, the present invention in element and component, the shape that quantity both can be single Formula exists, and form that can also be multiple exists, and the present invention is defined not to this.Although step in the present invention with label into It has gone arrangement, but is not used to limit the precedence of step, unless expressly stated the order of step or holding for certain step Based on row needs other steps, otherwise the relative rank of step is adjustable.It is appreciated that used herein Term "and/or" one of is related to and covers associated listed item or one or more of any and all possible groups It closes.
As shown in Figure 1, in one embodiment, providing a kind of method for testing software, this method includes:
Step 102, the first configuration file is obtained.
First configuration file is alternatively referred to as pitching pile rule file, is provided with pitching pile point and corresponding for generating checkout area The pitching pile code of scape.So-called pitching pile point, refers to the code point of pitching pile code to be inserted into, and can be set as in calling system function or make by oneself When adopted function or execute certain generic operation(Such as create object new)When be inserted into preset pitching pile code.
According to AOP(Aspect Oriented Programming passes through precompile mode and operation towards tangent plane programming Phase dynamic proxy realizes a kind of technology of the unified maintenance of program function)The difference of technology can be using not for different language With form realize the first configuration file.For example, AspectJ can be used for Java language(AOP based on Java platform Tool)Jar packet after source code file or compiling(Java Archive, Java archive file), or xml when execution (Extensible markup language)Rule file realizes the first configuration file.For c/c++ language, AspectC may be used(It is based on The AOP tool of C/C++ language)To describe the first configuration file.Which kind of file first configuration file is realized using, by soft to being tested The opportunity of part insertion pitching pile code(It is inserted into the tested software compilation phase or is inserted into the tested software operation phase), and by The development language and platform for surveying software determine.
First configuration file, which is actually provided with, can carry out pitching pile and corresponding pitching pile generation to which function or operation Code, that is, pitching pile point and corresponding pitching pile code.Pitching pile point includes system function, custom function and specifies operation at least It is a kind of.For example, may be provided with system function name and/or custom function name in the first configuration file.With AspectJ source code text For part, wherein the function name recorded has:
pointcut getNetworkType():call(int android.net.NetworkInfo.getType ());
pointcut getSubtype():call(int android.net.NetworkInfo.getSubType ());
pointcut getExtraInfo():call(String Android.net.NetworkInfo.getExtraInfo ()) etc..It indicates when calling these functions, needs to generate correspondence Test scene.
Step 104, according to the first configuration file, it is inserted into corresponding pitching pile code at the pitching pile point of tested software, generates Tested software after pitching pile.
So-called pitching pile code, refers to the code for generating various test scenes, can tested software compile when or It is inserted into when operation at the pitching pile point of tested software.In this way, the tested software after pitching pile is just able to carry out when triggering pitching pile point The pitching pile code, to obtain various test scenes.
Step 106, the tested software after running pitching pile is held when the pitching pile point in the tested software after pitching pile is triggered Row pitching pile code corresponding with the pitching pile point of triggering.
Tested software after pitching pile, which refers to, implants the tested software of corresponding pitching pile code in pitching pile point, it is running In the process, it when pitching pile point therein is triggered, for example calls specified function, then executes corresponding with the pitching pile of triggering point Pitching pile code.
Further, pitching pile code may be configured as going behavior corresponding with pitching pile point in the second configuration file of parsing when executing Program, to obtain the result specified in the second configuration file.
It is still illustrated so that the first configuration file is AspectJ source code file as an example, corresponding to a certain function Pitching pile code can be:
The pitching pile code when being executed, can remove the second configuration file of parsing, read from the second configuration file Android.net.NetworkIfo.getExtraInfo row information.
Preferably, the step of executing pitching pile code corresponding with the pitching pile point of triggering, including:It is read by pitching pile code The second configuration file is taken, is equipped with pitching pile point and corresponding behavior program in the second configuration file;Execute the pitching pile point pair with triggering The behavior program answered generates test scene.
System configuration file when second configuration file can run for software, is provided with pitching pile point and corresponding behavior journey Sequence, designated result that the corresponding pitching pile point of behavior application definition should return or the operation that should be executed etc..With Java language For, the behavior program of a certain pitching pile point of the correspondence set in the second configuration file as: Android.net.NetworkInfo.getExtraInfo=" 3gnet ", indicates all calling " ndroid.net.NetworkInfo.getExtraInfo " this api function, then return the result " 3gnet ".For another example behavior journey Sequence is:Thread.run=sleep (random (10)), it is random to hang up before indicating that thread executes(sleep)Several seconds(Such as 10 seconds Within).
Pitching pile code in the process of implementation, can go to read and parse the behavior program in the second specified configuration file, so Behavior program is executed afterwards, to generate various preset test scenes.For example, matching when pitching pile code executes from second Reading ndroid.net.NetworkIfo.getExtraInfo row information in file is set, obtaining corresponding behavior program is " 3gnet " executes behavior program, returns the result " 3gnet ".
Method for testing software provided by the embodiment of the present invention can be inserted into tested software compilation phase or operation phase Pitching pile code.
It please refers to shown in Fig. 2A, is inserted into pitching pile code in the compilation phase of tested software.It is obtained by pitching pile compiler tested The first configuration file of software and reading, is inserted into pitching pile code according to the first configuration file at the pitching pile point in tested software, To generate the tested software after pitching pile.Tested software after pitching pile is in the operation phase, when pitching pile point therein is triggered, then right The pitching pile code answered executes automatically, the pitching pile code can go read the second configuration file, thereby executing with the pitching pile of triggering point pair The behavior program answered, obtains various test scenes(For example, return to specified result, execute specified operation etc.).
By taking Java language as an example, tested software can be java classes(Class in Java), pitching pile compiler can be with It is ajc(The compiler that AspectJ is provided), the first configuration file can be AspectJ source code file or jar packet etc..
It please refers to shown in Fig. 2 B, is inserted into pitching pile code in the operation phase of tested software.Tested software is run, is inserted by running Stake device obtains running tested software and reads the first configuration file, according to the first configuration file inserting in tested software It is inserted into pitching pile code at stake point, the tested software after generating pitching pile.Tested software after the pitching pile in the process of running, if its In pitching pile point be triggered, corresponding pitching pile code executes automatically, the pitching pile code can go read the second configuration file, thus Behavior program corresponding with the pitching pile point of triggering is executed, various test scenes are obtained.Whole process is all in the operation of tested software Stage is realized.
By taking Java language as an example, running tested software can be java classes, and operation pitching pile device can be Java Agent(Java Virtual Machine is used to modify the component of application), the first configuration file can be xml rule file or jar packet Deng.
It should be noted that though the embodiment of the present invention is illustrated with Java language, but it is understood that, for It, can also be using method for testing software provided by the embodiment of the present invention using tested software of other Languages, such as c/c++ etc. It is tested, difference is only in that used file type and program language difference.
As shown in figure 3, in one embodiment, a kind of software testing system is additionally provided, including:
Module 302 is obtained, for obtaining the first configuration file, is equipped with pitching pile point and corresponding use in first configuration file In the pitching pile code for generating test scene.
Code insertion module 304, for being inserted into corresponding insert at the pitching pile point of tested software according to the first configuration file Stake code, the tested software after generating pitching pile.
Code runs module 306, the pitching pile point for running the tested software after pitching pile, in tested software after pitching pile When being triggered, pitching pile code corresponding with the pitching pile point of triggering is executed.
In one embodiment, pitching pile point includes at least one of system function, custom function and specified operation.
Further, in one embodiment, as shown in figure 4, code operation module 306 includes:
Pitching pile code execution module 316, for reading the second configuration file by pitching pile code, in second configuration file Equipped with pitching pile point and corresponding behavior program.
Program execution module 326 generates test scene for executing behavior program corresponding with the pitching pile point triggered.
In one embodiment, code insertion module 304 is pitching pile compiler, for the compilation phase in tested software, Corresponding pitching pile code is inserted at the pitching pile point of tested software according to the first configuration file, the tested software after generating pitching pile.
In another embodiment, code insertion module 304 is operation pitching pile device, for the operation rank in tested software Section is inserted into corresponding pitching pile code according to the first configuration file at the pitching pile point of tested software, and being tested after generating pitching pile is soft Part.
Above-mentioned method for testing software and system, according to the first configuration file come to the pitching pile point in tested software(Such as function Trigger point)It is intercepted and captured and is inserted into corresponding pitching pile code, to change the operation action of the program in tested software(Such as repair Change the specified return value of function, the execution timing for modifying thread etc.).In the operational process of tested software after pitching pile, when slotting Stake point is triggered and can run corresponding pitching pile code, to simulate various test scenes.Such as:For machine low memory Scene, can be read by the pitching pile code that corresponding new function is arranged in the first configuration file corresponding in the second configuration file Behavior program, directly dish out out of memory of behavior program is abnormal(I.e. low memory is abnormal).Insert pitching pile generation The tested software of code in the process of running, when calling new function, does not continue to the calling of the system function, but directly throws Out of memory is abnormal out, to simulate the scene of machine low memory.It can be according to this for other test scenes Kind of mode is simulated, and then will not enumerate at this.
Due to using the method for testing software and system, many manual operations are saved.For example, not needing as traditional black Box test mode is such, needs to open that a large amount of program exhausts the memory of system or copied files account for local disk space and account for It is full.It does not need as traditional white-box testing mode, when needing temporarily to modify code or the manually operation of modification program yet Data etc. simulate various scenes.Therefore, method for testing software and system provided by the embodiment of the present invention can be saved big The testing time cost of amount.Other than it can simulate some common test scenes, it is related to more code module for some and repairs The special scenes changed, the present invention pass through the content set in the first configuration file and the second configuration file also these spies easy to accomplish Determine scene.
Also, the test for multithreading, traditional white-box testing method is when needing that power-off is arranged to single thread, then It needs to hang up entire process, affects the normal operation of tested software.And the present invention is in addition to can be in the compilation phase to tested Software is implanted into pitching pile code, can also be implanted into pitching pile code in the operation phase of tested software, will not influence tested software just Often operation.In addition, traditional white-box testing method has been required when modifying program operation and being data or interim modification code Source code then can not achieve test under some test occasions that cannot provide source code.And the present invention is by then passing through in advance Configured first configuration file is intercepted and captured come the pitching pile point to tested software, thus by pitching pile code insertion tested software In.Therefore, the present invention, which does not need offer source code, can be realized as testing.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory(Read-Only Memory, ROM)Or random access memory(Random Access Memory, RAM)Deng.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (8)

1. a kind of method for testing software, the method includes:
The first configuration file is obtained, first configuration file is pitching pile rule file, is equipped with and inserts in first configuration file Stake point and the corresponding pitching pile code for being used to generate test scene;
According to first configuration file, it is inserted into the corresponding pitching pile code at the pitching pile point of tested software, generates pitching pile Tested software afterwards;
Tested software after running the pitching pile is held when the pitching pile point in the tested software after the pitching pile is triggered The row pitching pile code corresponding with the pitching pile point of triggering;
Described the step of executing the pitching pile code corresponding with the pitching pile point of triggering, including:
The second configuration file is read by the pitching pile code, second configuration file is system configuration text when software is run Part is equipped with pitching pile point and corresponding behavior program in second configuration file;
Behavior program corresponding with the pitching pile of triggering point is executed, test scene is generated.
2. the method according to claim 1, wherein described according to first configuration file, in tested software Pitching pile point at the corresponding pitching pile code of insertion, the step of tested software after generating pitching pile, including:
In the compilation phase of the tested software, by pitching pile compiler according to first configuration file, in the tested software Pitching pile point at the corresponding pitching pile code of insertion, the tested software after generating pitching pile.
3. the method according to claim 1, wherein described according to first configuration file, in tested software Pitching pile point at the corresponding pitching pile code of insertion, the step of tested software after generating pitching pile, including:
In the operation phase of the tested software, by operation pitching pile device according to first configuration file, in the tested software Pitching pile point at the corresponding pitching pile code of insertion, the tested software after generating pitching pile.
4. method according to any one of claims 1 to 3, which is characterized in that the pitching pile point includes system function, makes by oneself At least one of adopted function and specified operation.
5. a kind of software testing system, which is characterized in that the system comprises:
Module is obtained, for obtaining the first configuration file, first configuration file is pitching pile rule file, first configuration Pitching pile point and the corresponding pitching pile code for being used to generate test scene are equipped in file;
Code insertion module, it is corresponding described for being inserted at the pitching pile point of tested software according to first configuration file Pitching pile code, the tested software after generating pitching pile;
Code runs module, for running the tested software after the pitching pile, in the tested software after pitching pile described in When pitching pile point is triggered, the pitching pile code corresponding with the pitching pile point of triggering is executed;
The code runs module:
Pitching pile code execution module, for reading the second configuration file by the pitching pile code, second configuration file is System configuration file when software is run is equipped with pitching pile point and corresponding behavior program in second configuration file;
Program execution module generates test scene for executing behavior program corresponding with the pitching pile of triggering point.
6. system according to claim 5, which is characterized in that the code insertion module is pitching pile compiler, described to insert Stake compiler was used in the compilation phase of the tested software, according to first configuration file, in inserting for the tested software The corresponding pitching pile code of insertion at stake point, the tested software after generating pitching pile.
7. system according to claim 5, which is characterized in that the code insertion module is operation pitching pile device, the fortune Row pitching pile device was used in the operation phase of the tested software, according to first configuration file, in inserting for the tested software The corresponding pitching pile code of insertion at stake point, the tested software after generating pitching pile.
8. according to the described in any item systems of claim 5 to 7, which is characterized in that the pitching pile point includes system function, makes by oneself At least one of adopted function and specified operation.
CN201410048167.5A 2014-02-11 2014-02-11 Method for testing software and system Active CN104834590B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410048167.5A CN104834590B (en) 2014-02-11 2014-02-11 Method for testing software and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410048167.5A CN104834590B (en) 2014-02-11 2014-02-11 Method for testing software and system

Publications (2)

Publication Number Publication Date
CN104834590A CN104834590A (en) 2015-08-12
CN104834590B true CN104834590B (en) 2018-11-23

Family

ID=53812495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410048167.5A Active CN104834590B (en) 2014-02-11 2014-02-11 Method for testing software and system

Country Status (1)

Country Link
CN (1) CN104834590B (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095087A (en) * 2015-08-31 2015-11-25 武汉启明联创信息科技有限公司 Permission operation based software test system and method
CN107229558B (en) * 2016-03-23 2020-10-16 阿里巴巴集团控股有限公司 Software testing method and device
CN105868118B (en) * 2016-06-27 2018-09-11 北京奇虎科技有限公司 Application testing method, apparatus and system
CN107122292A (en) * 2016-10-21 2017-09-01 北京小度信息科技有限公司 A kind of method and system of analog service
CN108073499B (en) * 2016-11-10 2020-09-29 腾讯科技(深圳)有限公司 Application program testing method and device
CN106844219B (en) * 2017-02-15 2021-02-02 腾讯科技(深圳)有限公司 Application detection method and application detection device
CN108572910A (en) * 2017-03-14 2018-09-25 百度在线网络技术(北京)有限公司 Experimental method and device for client
CN107357734A (en) * 2017-07-19 2017-11-17 中国银行股份有限公司 A kind of unit test method and device
CN108563575B (en) * 2018-04-16 2019-12-10 百度在线网络技术(北京)有限公司 application program testing method and device, terminal and computer readable storage medium
CN109408063B (en) * 2018-11-13 2022-11-04 北京奇虎科技有限公司 Instruction pile inserting method and device based on virtual machine
CN109460365B (en) * 2018-11-16 2019-07-26 苏州好玩友网络科技有限公司 A kind of system performance testing method, apparatus, equipment and storage medium
CN110147326B (en) * 2019-05-23 2023-05-26 四川新网银行股份有限公司 Microservice automatic test method based on Redis database
CN110311806B (en) * 2019-06-06 2020-11-10 上海交通大学 Mobile application program interface response delay diagnosis method, system and terminal
CN110909345B (en) * 2019-12-02 2022-03-22 中国银行股份有限公司 Tamper-proof method and system for Java system open source software
CN113742201A (en) * 2020-05-29 2021-12-03 中国电信股份有限公司 Software defect detection method and system based on gray box test
CN111917729B (en) * 2020-07-09 2023-04-07 财付通支付科技有限公司 Dynamic injection test method and device and related equipment
CN111782551B (en) * 2020-08-04 2021-07-27 腾讯科技(深圳)有限公司 Test method and device for block chain item and computer equipment
CN112181851B (en) * 2020-10-27 2023-07-28 北京字跳网络技术有限公司 Software testing method, device and storage medium
CN112667245A (en) * 2021-01-15 2021-04-16 腾讯音乐娱乐科技(深圳)有限公司 Code processing method and device, electronic equipment and storage medium
CN113778860B (en) * 2021-08-16 2023-11-28 北京仿真中心 Model detection-based system runtime verification method, system and computer equipment
CN113836013A (en) * 2021-09-17 2021-12-24 深圳Tcl新技术有限公司 Embedded point testing method and device, computer equipment and computer readable storage medium
CN114168454B (en) * 2021-11-23 2023-03-10 叶嵩 Asynchronous testing method based on dynamic pile inserting-pile pinning technology
CN114780958B (en) * 2022-04-14 2023-03-24 深圳开源互联网安全技术有限公司 Automatic pile inserting method and device for buried points and computer readable storage medium
WO2024119490A1 (en) * 2022-12-09 2024-06-13 Ebay Inc. Fault injection in a notification platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1471249A (en) * 2002-07-23 2004-01-28 华为技术有限公司 White ox measuring system and method using script patch
CN1710547A (en) * 2004-06-16 2005-12-21 华为技术有限公司 Software detection method and system
CN1983209A (en) * 2005-12-14 2007-06-20 中兴通讯股份有限公司 System and method for automatically testing software unit
CN101183335A (en) * 2007-12-25 2008-05-21 中兴通讯股份有限公司 Method and system for realizing embedded software unconventionality testing
CN103136102A (en) * 2013-02-07 2013-06-05 百度在线网络技术(北京)有限公司 Method and device for testing fluency of Android platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1471249A (en) * 2002-07-23 2004-01-28 华为技术有限公司 White ox measuring system and method using script patch
CN1710547A (en) * 2004-06-16 2005-12-21 华为技术有限公司 Software detection method and system
CN1983209A (en) * 2005-12-14 2007-06-20 中兴通讯股份有限公司 System and method for automatically testing software unit
CN101183335A (en) * 2007-12-25 2008-05-21 中兴通讯股份有限公司 Method and system for realizing embedded software unconventionality testing
CN103136102A (en) * 2013-02-07 2013-06-05 百度在线网络技术(北京)有限公司 Method and device for testing fluency of Android platform

Also Published As

Publication number Publication date
CN104834590A (en) 2015-08-12

Similar Documents

Publication Publication Date Title
CN104834590B (en) Method for testing software and system
CN109063477B (en) Automatic intelligent contract code defect detection system and method
US8359582B2 (en) Compiling and inserting code snippets at runtime
US9733907B2 (en) System and method for testing compiler implementation using dynamic combinatorial test generation
US7013460B2 (en) Specifying an invariant property (range of addresses) in the annotation in source code of the computer program
CN103970659B (en) Android application software automation testing method based on pile pitching technology
CN107526625B (en) Java intelligent contract security detection method based on bytecode inspection
US9501269B2 (en) Automatic source code generation for accelerated function calls
Arcaini et al. AsmetaSMV: a way to link high-level ASM models to low-level NuSMV specifications
CN102207903A (en) Automatically redirecting method calls for unit testing
US20150378880A1 (en) Dynamically Configurable Test Doubles For Software Testing And Validation
Xu et al. Freedom: Engineering a state-of-the-art dom fuzzer
CN109101237A (en) The encryption Compilation Method and device of code
US9304893B1 (en) Integrated software development and test case management system
CN105224309B (en) A kind of method and apparatus for transferring function
CN105095087A (en) Permission operation based software test system and method
CN109408101A (en) A kind of code development maintaining method and electronic equipment for programming
CN104050085A (en) Forced code standard inspection method and system
CN107632832A (en) One kind obscures method towards dalvik bytecode controlling streams
Schiller et al. Live programming of mobile apps in App Inventor
Khoroshilov et al. Towards an open framework for C verification tools benchmarking
US9141356B2 (en) Process for generating dynamic type
US8949103B2 (en) Program code simulator
US8819645B2 (en) Application analysis device
US20080300846A1 (en) Methods and apparatus for hardware simulation and design verification

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant