CN105975394A - Program testing method and device - Google Patents
Program testing method and device Download PDFInfo
- Publication number
- CN105975394A CN105975394A CN201610298945.5A CN201610298945A CN105975394A CN 105975394 A CN105975394 A CN 105975394A CN 201610298945 A CN201610298945 A CN 201610298945A CN 105975394 A CN105975394 A CN 105975394A
- Authority
- CN
- China
- Prior art keywords
- test
- data
- target detection
- program
- parameter
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Abstract
The invention provides a program testing method and device. The method comprises the following steps: loading a program to be tested, and outputting various test scenes corresponding to the program to be tested; according to a selection instruction input by aiming at various test scenes, determining a target test scene, wherein the target test scene comprises a target test path; obtaining target test data corresponding to the target test path; and on the basis of the target test data, carrying out a test and outputting a test result. The embodiment of the invention carries out the test on a mobile type application program on the basis of various test scenes so as to improve test accuracy, lower test cost and shorten test duration.
Description
Technical field
The present invention relates to technical field of measurement and test, be specifically related to a kind of program testing method and device.
Background technology
Along with the fast development of mobile Internet, apply at user terminal (such as mobile phone, wearable device etc.)
On various types of application programs emerge in an endless stream.In the applications, interact with user terminal
Thus the application program realizing certain function enjoys user to favor, such as sport health class application program, navigation
These application programs are referred to as mobile class application program by location class application programs etc..
Generally, the exploitation testing process of application program is: coding exploitation → simulation commissioning → commissioning problem amendment
→ packing and issuing → installation test → test problem amendment.For the mobile class application program that certain is to be tested,
During simulation commissioning, tester is only capable of this program of commissioning operational effect on simulator, it is impossible to right
This program operational effect in complicated practical service environment carries out commissioning, and commissioning result accuracy is relatively low;
In test process is installed, the user terminal installing this program is carried out on the spot under the typical environment filtered out
Test, this process needs to expend substantial amounts of human and material resources and time.
As can be seen here, test process to mobile class application program exists that test accuracy is low, tests at present
This is big, the time-consuming long defect of test.
Summary of the invention
The embodiment of the present invention provides a kind of program testing method and device, based on multiple test scene to mobile class
Application program is tested, and then improves the accuracy of test, reduces testing cost, shortens length of testing speech.
Embodiment of the present invention first aspect provides a kind of program testing method, including:
Load program to be tested, and export the multiple test scene that described program to be tested is corresponding;
Selection instruction according to inputting for described multiple test scene determines target detection scene, described target
Test scene includes target detection path;
Obtain the target detection data that described target detection path is corresponding;
Test based on described target detection data and output test result.
Embodiment of the present invention first aspect, it is provided that multiple test scene, thus realize based on multiple test scene
Program test, improve the accuracy of test, when largely decreasing testing cost and shorten test
Long.
In a kind of possible design, described program to be tested is the mobile class application being applied on user terminal
Program, such as count step, run, navigate application program etc..
In a kind of possible design, described target detection data include at least one section of typical test segment and
The test data that in described at least one section of typical test segment, every section of typical test segment is corresponding, described test number
According to including sample frequency data, GPS signal data, system environment data and external environment condition data.Such as,
Described program to be tested is running application program, and typical case's test segment can be common road, seabeach, park
Path, standard runway etc., described target detection path can be the one in these typical case's test segments, also
It can be the combination of these typical case's test segments.The test data that every section of typical test segment is corresponding can be system
Preset data, it is possible to be adjusted correspondingly according to the adjustment instruction of tester's input.
Wherein, described sample frequency data include curvedness parameters and speed parameter, described employing frequency data shadow
Ringing the operating rate in simulation process, described curvedness parameters can be winding path, straight section, camber line road
Section, self-defined etc., different for the upper limit of speed parameter described in different curvedness parameters;
Described GPS signal data includes that weather parameters, barrier parameter, vegetal cover parameter and magnetic field are dry
Disturbing parameter, these parameters can affect the power of the gps signal in simulation process, and described weather parameters can be
Fine, rain, snow, the fine rain etc. that turns, described barrier parameter represents the barrier quantity under different sections of highway, such as
The barrier quantity in section, mountain area, the barrier quantity in section, Plain, the barrier quantity etc. of artificial tunnel,
Described vegetal cover parameter can be without vegetation, sparse, Lin Yu, dense etc.;Described magnetic interference parameter represents
The interference to magnetic field such as high-voltage line, mineral magnetic field, artificial magnetic field, sunspot;
Described system environment data includes memory parameters, CPU parameter and electrical parameter, described system environments number
According to the data for pseudo subscriber terminal built-in system, described memory parameters can be memory usage, described CPU
Parameter can be CPU usage, and described electrical parameter can be dump energy parameter or consume electrical parameter;
Described external environment condition data include that ambient temperature parameter and pneumatic parameter, described external environment condition data are mould
The data of plan external environment condition residing for user terminal, described pneumatic parameter can be altitude parameters or gas pressure intensity ginseng
Number.
In this design, the many factors of impact test is taken into account so that test result laminating reality should
By scene, thus improve the accuracy of test.
In a kind of possible design, the target detection data that described acquisition described target detection path is corresponding
Detailed process includes:
Load the default test data that described target detection path is corresponding, and judge that described default test data are
No meeting test condition, described default test data are the test number that the target detection path of system intialization is corresponding
According to, described test condition can be the test condition of user setup;
When the result judged is as being, described default test data are defined as target detection data;
When the result judged is no, receive the adjustment instruction for the input of described default test data, described
Adjust instruction for described default test data are modified;
According to described adjust instruction adjust described default test data, and will adjust after described default test number
The target detection data corresponding according to determining described target detection path;
Wherein, described adjustment instruction includes presetting typical case's test in described default test data at least one section
The change directive in section and/or preset typical case's test segment for certain section in described default test data or a few sections
The change directive of corresponding test data.
In a kind of possible design, described carry out testing and export test knot based on described target detection data
The concrete process of fruit is:
Being calculated the first test result according to described target detection data, described first test result includes
One test movement rate and the first test GPS signal data;
The second test result is obtained based on program to be tested described in described target detection data run, described second
Test result includes the second test movement rate and the second test GPS signal data;
Output includes described first test result and the test result of described second test result.
Wherein, described second test result be in described program to be tested simulation result, described first
Test result is the result of calculating, is not based on described program to be tested.
In this design, according to described test result, tester can judge whether described program to be tested exists
Defect or problem also can search the reason causing defect or problem targetedly.
In a kind of possible design, described it is calculated the first test result according to described target detection data
Detailed process be:
Described speed parameter in described sample frequency data corresponding for described every section of typical test segment is determined
For described first test run speed;
The described GPS signal data corresponding according to described every section of typical test segment and gps signal algorithm meter
Calculate described first test GPS signal data;
Wherein, described gps signal algorithm is that (c, z, p, m)=S* (1-c) * (1-z) * (1-p) * (1-m), c represent institute to F
State weather parameters, z represents that described barrier parameter, p represent described vegetal cover parameter, and m represents described magnetic
Field interference parameter, S represents default gps signal reference value.
In a kind of possible design, described test result also includes that advisory information, described advisory information include
Testing evaluation, optimum sampling frequency and run in described program process to be tested the CPU usage curve of record
Figure, memory usage curve chart, battery temperature curve chart, provide suggestion for tester intelligently, it is simple to
Tester to be tested tests described again according to advisory information, improves the accuracy of test further.
Embodiment of the present invention second aspect provides a kind of program test device, including:
Scene output unit, is used for loading program to be tested, and exports corresponding multiple of described program to be tested
Test scene;
Scene determines unit, for determining target according to the selection instruction for the input of described multiple test scene
Test scene, described target detection scene includes target detection path;
Data capture unit, for obtaining the target detection data that described target detection path is corresponding;
Result output unit, is used for based on program to be tested described in described target detection data run and exports survey
Test result.
The program test device that embodiment of the present invention second aspect provides is used for realizing embodiment of the present invention first party
The program testing method that face provides, does not repeats them here.
The embodiment of the present invention third aspect provides another kind of program test device, including processor, input module,
Output module, communication interface and memorizer, wherein, memorizer storage batch processing code, and processor
For calling the program code of storage in memorizer so that described program test device performs the embodiment of the present invention
The program testing method that first aspect provides.
In embodiments of the present invention, by loading program to be tested, and corresponding multiple of program to be tested is exported
Test scene, determines the mesh including target detection path according to the selection instruction inputted for multiple test scene
Mark test scene, obtains target detection data corresponding to target detection path and based on target detection data run
Program to be tested also outputs test result, thus surveys mobile class application program based on multiple test scene
Examination, and then improve the accuracy of test, reduce testing cost, shorten length of testing speech.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement
In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below
In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying
On the premise of going out creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the system architecture diagram that the present embodiments relate to;
The hardware architecture diagram of the program test device that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of a kind of program testing method that Fig. 3 provides for the embodiment of the present invention;
The editing interface schematic diagram of the partial test data that Fig. 4 provides for the embodiment of the present invention;
The schematic flow sheet of the another kind of program testing method that Fig. 5 provides for the embodiment of the present invention;
The structural representation of a kind of program test device that Fig. 6 provides for the embodiment of the present invention;
Fig. 7 is the structural representation of the data capture unit shown in Fig. 6;
Fig. 8 is the structural representation of the result output unit shown in Fig. 6.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation
The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of program testing method and device, can apply to mobile class application journey
Sequence carries out the scene tested, and such as, program test device loads program to be tested, and exports described to be tested
The multiple test scene that program is corresponding, the selection instruction according to inputting for described multiple test scene determines bag
Including the target detection scene in target detection path, it is corresponding that program test device obtains described target detection path
Target detection data, and based on program to be tested described in described target detection data run and output test result
Scene.The embodiment of the present invention is capable of testing mobile class application program based on multiple test scene,
The simulation commissioning in existing exploitation testing process can also be realized simultaneously and test is installed, it is not necessary to tester consumes
Take substantial amounts of human and material resources and the time carry out field test, thus reduce testing cost, shorten length of testing speech,
And carry out test based on multiple test scene and can improve the accuracy of test.
Referring to Fig. 1, for the system architecture diagram that the present embodiments relate to, this system architecture diagram includes cloud service
101, data server 102, network 103 and program test device 104.Wherein, cloud service 101 can be deposited
Storage program test device 104 tests required test data, or the survey of storage program test device 104 transmission
Examination data.Data server 102 program storage test device 104 tests required test data, or deposits
The test data of storage program test device 104 transmission, it is possible to test data are carried out computing, process.Network
103 are used for realizing between cloud service 101 and program test device 104 and data server 102 is surveyed with program
Data transmission between electricity testing device 104.Program test device 104 is for receiving the startup of tester's input
Instruction, adjustment instruction, test instruction etc., and perform operation accordingly according to the instruction of input.
Tester tests at the enterprising line program of program test device 104, and program test device 104 can pass through
These to data server 102, are surveyed by network 103 by relevant test data transmission by data server 102
Examination data carry out storing, computing, process;Program test device 104 also can carry out this to these test data
Ground storage, computing, process, and will process after data present to tester by the display of this device.
Program test device can obtain the test data of storage in cloud service 101 by network 103, it is possible to by net
Network 103 obtains the test data of storage in data server 102, also can load locally stored test data,
Or by some tool software preset test data.
Based on the system architecture diagram shown in Fig. 1, a kind of program test dress that Fig. 2 provides for the embodiment of the present invention
The hardware architecture diagram put.This program test device includes that processor 201, communication bus 202, communication connect
Mouth 203, input module 204, output module 205 and memorizer 206 etc..Wherein, communication bus 201
For realizing the connection communication between these assemblies.It will be understood by those skilled in the art that the journey shown in Fig. 2
The hardware configuration of sequence test device is not intended that limitation of the invention, and it both can be bus row structure, also
Can be hub-and-spoke configuration, it is also possible to include the more or less of parts than shown in Fig. 2, or combine some portion
Part, or different parts layouts.In embodiments of the present invention, described program test device can be desk-top
Computer.
Communication interface 203 is used for the communication connection realizing between program test device and network, miscellaneous equipment,
(such as wireless network connects to include line interface (such as, USB interface, wired network interface etc.) and wave point
Mouthful).
Processor 201 is the control centre of program test device, utilizes various interface and the whole journey of connection
Sequence test device various piece, by run or perform be stored in the software program in memorizer 206 and/or
Module, and call the data being stored in memorizer 206, to perform the various functions of program test device
And/or process data.Described processor 201 can be made up of integrated circuit (Integrated Circuit, IC),
Such as can be made up of the IC of single encapsulation, it is also possible to by connecting many identical functions or the envelope of difference in functionality
Fill IC and form.For example, processor 201 can only include central processing unit (Central Processing
Unit, CPU), it is also possible to it is image processor (Graphic Processing Unit, GPU) and digital signal
The combination of processor (Digital Signal Processor, DSP).In embodiments of the present invention, CPU can
To be single arithmetic core, it is also possible to include multioperation core.
Input module 204 for realizing the mutual of tester and program test device, be additionally operable to the information that realizes,
Data, instruction etc. are input in program test device.Such as, input module 204 can receive tester
The instruction of input, to produce relevant signal.Input module 204 can be control panel, it is also possible to be it
He inputs key, mike etc. at human-computer interaction interface, such as entity, it is also possible to be that other external informations capture dress
Put, such as, image first-class.Control panel, can collect the behaviour that it is inputted by tester by mouse, keyboard
Make action.Control panel can include input detection device and input two parts of controller.Wherein, input inspection
Survey the input operation of device detection tester, and the input operation detected is converted to the signal of telecommunication, and
Send the described signal of telecommunication to input controller;Input controller receives described telecommunications from input detection device
Number, and it is passed to processor 201.Entity that input module 204 is used input key can include but not
It is limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, behaviour
Make one or more in bar etc..The input module 204 of mike form can collect tester or environment
Input voice and convert thereof into electrical signal form, processor 201 convertible after the signal of telecommunication perform
Corresponding order or operation.In embodiments of the present invention, input module 204 is used for receiving tester's input
Enabled instruction, adjust instruction, test instruction etc..
Output module 205 includes but not limited to image output unit and voice output unit.Image output unit
For output character, picture and/or video.Described image output unit can include display screen, for example with liquid
Crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting
Diode, OLED), the form such as Field Emission Display (field emission display, FED) configure aobvious
Display screen.Or described image output unit can include reflected displaying device, such as electrophoresis-type (electrophoretic)
Display, or utilize the display of interference of light modulation tech (Interferometric Modulation of Light).
Described image output unit can include individual monitor or various sizes of multiple display.Real in the present invention
Executing in example, the control panel that above-mentioned input module 204 is used also can showing simultaneously as output module 205
Display screen.Such as, when, after the input operation that control panel detects it, being converted into the signal of telecommunication, and will
This signal of telecommunication is transferred to processor 201, and processor 201 provides on a display screen according to this signal of telecommunication and regards accordingly
Feel and export.Although in fig. 2, input module 204 and output module 205 are the parts independent as two
Realize input and the output function of program test device, but in some embodiments it is possible to by chain of command
Plate is integrated with display screen and realizes input and the output function of program test device.Such as, described image
Output unit can show that various Graphic User Interfaces (Graphical User Interface, GUI) is using as void
Intend controlling assembly, include but not limited to window, scroll bar, icon and scrapbook, input for tester
Instruction, data.In embodiments of the present invention, output module 205 showing in output program test process
Show interface, including test scene display interface, test data display interface, test result display interface etc.,
It is easy to tester and obtains information or input instruction.
Memorizer 206 can be used for storing software program and module, and processor 201 is stored in by operation
The software program of reservoir 206 and module, thus the various functions performing program test device are applied and real
Existing data process.Memorizer 206 mainly includes program storage area and data storage area, and wherein, program stores
District can store the application program needed for operating system, at least one function, such as sound playing program, image
Playing program etc.;Data storage area can store the data (ratio that the use according to program test device is created
Such as voice data, phone directory etc.) etc..Memorizer 206 can include volatile memory, the most non-volatile
Property DRAM (Dynamic Random Access Memory) (Nonvolatile Random Access Memory, NVRAM), phase change
Random access memory (Phase Change RAM, PRAM), magnetic-resistance random access memory
(Magetoresistive RAM, MRAM) etc., it is also possible to include nonvolatile memory, for example, at least
One disk memory, Electrical Erasable programmable read only memory (Electrically Erasable
Programmable Read-Only Memory, EEPROM), flush memory device, such as anti-or flash memory (NOR
Flash memory) or anti-and flash memory (NAND flash memory).Nonvolatile storage stores processor 201
Performed operating system and application program.Processor 201 is from described nonvolatile storage load operating program
With data to internal memory digital content is stored in mass storage.Described operating system includes for controlling
System and management general system tasks, such as memory management, storage device control, power management etc., Yi Jiyou
Help various assemblies and/or the driver of communication between various software and hardware.In embodiments of the present invention, described
Operating system can be (SuSE) Linux OS, the Mac OS system of Apple company exploitation, or Microsoft
The Windows operating system etc. of company's exploitation.In embodiments of the present invention, memorizer 206 also stores many
Kind of test scene, test path that in described multiple test scene, every kind of test scene is corresponding and test path
Corresponding test data, test data can be the data of system intialization, it is also possible to is to system intialization data
Data after being modified.
Program test device in the embodiment of the present invention can be the electronic equipment such as desk computer, test terminal
Part or all of.User terminal in the embodiment of the present invention is can to move class application program with installation and operation
Terminal, can include but not limited to mobile phone, removable computer, panel computer, personal digital assistant (Personal
Digital Assistant, PDA), the intelligence mobile terminal such as wearable device, the operation system of described user terminal
System does not limits at this.
The program testing method provided the embodiment of the present invention below in conjunction with accompanying drawing 2-accompanying drawing 7 is situated between in detail
Continue.
Refer to Fig. 3, for the schematic flow sheet of a kind of program testing method that the embodiment of the present invention provides.In conjunction with
Program test device shown in Fig. 2, stores batch processing code in memorizer 206, and processor 201 is adjusted
With the program code of storage in memorizer 206, it is used for performing described program testing method, can include following
Step 301-step 304.
301, load program to be tested, and export the multiple test scene that described program to be tested is corresponding.
Concrete, in embodiments of the present invention, realize program test, program test by program test device
Device realizes program test by the program testing software installed on it.In a kind of mode in the cards,
When input module 204 receives tester for the enabled instruction of program testing software, i.e. tester
Inputting clicking operation for program testing software, this enabled instruction is converted to the signal of telecommunication by input module 204,
And this signal of telecommunication is transferred to processor 201, processor 201 control program testing software according to this signal of telecommunication
Startup, and control output module 205 output program test software initialization display interface.Described initially
Change display interface provide test program option for tester, tester according to required selection program to be tested,
Processor 201 loads described program to be tested according to the selection of tester, and it is defeated to control output module 205
Go out the multiple test scene that described program to be tested is corresponding, the display interface of program test device by described initially
Change display interface and redirect the display interface being to include multiple test scene.In a kind of mode in the cards,
Program test device is connected, when input module 204 receives survey with the user terminal installing program to be tested
When examination personnel are for the enabled instruction of program testing software, this enabled instruction is converted to electricity by input module 204
Signal, and this signal of telecommunication is transferred to processor 201, processor 201 control program according to this signal of telecommunication and survey
The startup of examination software, and in program test device, load described program to be tested, control output module simultaneously
205 export the multiple test scene that described program to be tested is corresponding, and display interface now includes described multiple survey
Examination hall scape, also includes attribute information (such as, brand, model, operating system, the screen of described user terminal
Curtain resolution etc.) and the attribute information (such as, title, type etc.) of described program to be tested.
Wherein, described program to be tested be can installation and operation application program on the subscriber terminal, its need with
Some hardware facility on user terminal combines (such as, gyroscope, gravity sensor etc.) and can together
Realizing certain function, described program to be tested can include but not limited to that meter walks, runs, runs health, leads
The mobile class application programs such as boat location.Processor 201 loads described program to be tested and i.e. loads described to be tested
The code of program.Described multiple test scene is the use environment of the user terminal of simulation, treats for different
Test program is different, and such as, described program to be tested is running application program, described multiple checkout area
Scape is the geographic scenes in multiple representative city.In described multiple test scene, every kind of test scene is equal
Corresponding a kind of test path, this test path also shows in the display interface including described multiple test scene,
The shape of test path, path length under different test scenes are the most different, and concrete numerical value is surveyed by program
The manufacturer of electricity testing device sets, and does not limits at this.The kind quantity of described multiple test scene can be 4,
The most, particular number does not limits at this.
302, the selection instruction according to inputting for described multiple test scene determines target detection scene, described
Target detection scene includes target detection path.
Concrete, input module 204 receives tester for display circle including described multiple test scene
The selection instruction of face input, and described selection instruction is converted to the signal of telecommunication, it is transferred to this signal of telecommunication process
Device 201, is determined target detection scene by processor 201 according to this signal of telecommunication, the most really in above-mentioned display interface
The fixed described test scene selecting instruction corresponding.Owing in described multiple test scene, every kind of test scene is the most right
Answer a kind of test path, then the test path in described target detection scene is target detection path.?
After determining described target detection scene, processor 201 controls output module 205 and exports described target detection field
The display interface that scape is corresponding, is i.e. adjusted to described target by the display interface including described multiple test scene and surveys
The display interface that examination hall scape is corresponding.
303, obtain the target detection data that described target detection path is corresponding.
Concrete, processor 201 obtains the target detection data that described target detection path is corresponding, described mesh
Mapping examination data can be the default test data that described target detection path is corresponding, it is possible to for surveying described target
Try the test data after default test data corresponding to path are modified.Processor 201 can pass through memorizer
The data server 102 shown in cloud service 101 or Fig. 1 shown in 206 or Fig. 1 obtains described target detection road
The default test data that footpath is corresponding.In a kind of mode in the cards, tester is at program test device
The interior test condition for described program to be tested, processor 201 judges that described default test data are the fullest
Described default test data, when the result judged is as being, are defined as described target by the described test condition of foot
Test data;When the result judged is no, receive what tester inputted for described default test data
Adjustment instructs, and processor 201 instructs the described default test data of adjustment according to described adjustment, and by after adjustment
Described default test data determine the target detection data that described target detection path is corresponding.A kind of possible
In the mode realized, tester independently judges whether described default test data meet test condition, if full
Described default test data are not adjusted by sufficient then tester, and processor 201 is by described default test number
According to being defined as described target detection data;If being unsatisfactory for, described default test data are adjusted by tester
Whole, input adjusts instruction, and processor 201 adjusts described default test data according to described adjustment instruction, and
Described default test data after adjusting determine the target detection data that described target detection path is corresponding.
Wherein, described target detection data include at least one section of typical test segment and described at least one section of allusion quotation
The test data that in type test segment, every section of typical test segment is corresponding, described test data include sample frequency
Data, GPS signal data, system environment data and external environment condition data.Such as, described program to be tested
For running application program, typical case's test segment can be common road, seabeach, park path, standard runway
Deng, described target detection path can be the one in these typical case's test segments, it is also possible to for these typical cases
The combination of test segment.The test data that every section of typical test segment is corresponding can be the data of system intialization, also
Can be adjusted correspondingly according to the adjustment instruction of tester's input.
Refer to Fig. 4, the editing interface schematic diagram of partial test data provided for the embodiment of the present invention, described
At least one section of typical test segment is indicated the most in the diagram, on described target detection path on corresponding position
Being labeled every section of typical test path, such as, certain section of path mark in described target detection path is general
Mark accessible by road, the mark of mark park, certain section of path path.Described target detection path and described target
Test data show in same display interface, and concrete display position does not limits at this.Typical case in Fig. 4
Test segment includes highway, tunnel, bridge and customization type.Every kind of typical test segment is respectively
Correspondence includes sample frequency data, GPS signal data, system environment data and the test of external environment condition data
Data.
As shown in Figure 4, described sample frequency data include curvedness parameters and speed parameter, described employing frequency
Operating rate in data influence simulation process, described curvedness parameters can be winding path, straight section,
Camber line section, self-defined etc., different for the upper limit of speed parameter described in different curvedness parameters.False
If described curvedness parameters radius r (unit: rice) represents, speed parameter v (unit: meter per second) represents.
So available similar following algorithm relational expression of sample frequency value is expressed:
F (r, v)=(v/r) * K
This expression formula reflects following relation: when speed parameter is the biggest, and required sample frequency is the highest, is the most just
The relation of ratio;When curvedness parameters the biggest (corresponding radius r value is the least), required sample frequency is the highest, with r
Present linear inverse relation;K value is the empirical value more than zero.
Described GPS signal data includes that weather parameters, barrier parameter, vegetal cover parameter and magnetic field are dry
Disturbing parameter, these parameters can affect the power of the gps signal in simulation process, and described weather parameters can be
Fine, rain, snow, the fine rain etc. that turns, described barrier parameter represents the barrier quantity under different sections of highway, such as
The barrier quantity in section, mountain area, the barrier quantity in section, Plain, the barrier quantity etc. of artificial tunnel,
Described vegetal cover parameter can be without vegetation, sparse, Lin Yu, dense etc.;Described magnetic interference parameter represents
The interference to magnetic field such as high-voltage line, mineral magnetic field, artificial magnetic field, sunspot.Assume weather parameters c
(atmospheric electromagnetic wave visibility, span 0~100%) represents, barrier parameter with z (value 0~
100%) represent, vegetative coverage parameter p (span 0~100%), magnetic interference parameter m (value model
Enclose 0~100%).Then GPS signal strength can use similar following algorithm relational expression to express:
F (c, z, p, m)=S* (1-c) * (1-z) * (1-p) * (1-m)
This expression formula reflect following relation: S for preset gps signal reference value, i.e. accessible/cover/interference and
Standard gps signal reference value under splendid weather condition;It it is overlaying relation between different influence factors;Respectively
Independent influence factor is equal so that gps signal end value is zero under the conditions of maximum.
Described system environment data includes memory parameters, CPU parameter and electrical parameter, described system environments number
According to the data for pseudo subscriber terminal built-in system, described memory parameters can be memory usage, described CPU
Parameter can be CPU usage, and described electrical parameter can be dump energy parameter or consume electrical parameter.Institute
State external environment condition data and include that ambient temperature parameter and pneumatic parameter, described external environment condition data are analog subscriber
The data of the external environment condition residing for terminal, described pneumatic parameter can be altitude parameters or gas pressure intensity parameter.
Data cited by Fig. 4 can fully demonstrate what the described program to be tested of impact in actual applications was run
Factor, these factors of the embodiment of the present invention are taken into account so that the test result actual application scenarios of laminating, from
And improve the accuracy of test.
Tester can be modified at least one section of typical test segment, such as, changes described target and surveys
The road segment classification that in examination path, certain section of typical test segment is corresponding, as changed highway into tunnel;At least
One section of typical test path increases by one section of typical test segment, but now it is noted that newly-increased allusion quotation
The starting point of type test segment can not overlap with the terminal of the preceding paragraph typical case's test segment, newly-increased typical case's test road
The terminal of section can not overlap with the starting point of next section of typical test segment.Tester also can preset for described
In test data, certain section or test data corresponding to a few sections of typical test segments are modified, and i.e. change Fig. 4
In sample frequency data, GPS signal data, system environment data and external environment condition data.
304, test based on described target detection data and output test result.
Concrete, processor 201 carries out testing and control output module 205 based on described range estimation data and exports
Test result.Described test result includes the first test result and the second test result, described first test knot
Fruit includes the first test run speed and the first test GPS signal data, and described second test result includes the
Two test run speed and the second test GPS signal data.It is understood that described first test result
For the standard results that described target detection data are corresponding, described second test result is simulation test result.Journey
Sequence test device is calculated described first test result according to described target detection data.By described every section of allusion quotation
Described speed parameter in the described sample frequency data that type test segment is corresponding is defined as described first test fortune
Scanning frequency rate, the described GPS signal data corresponding according to described every section of typical test segment and gps signal are calculated
Method calculates described first test GPS signal data, and wherein, described gps signal algorithm is above-mentioned GPS
Signal intensity expression formula F (c, z, p, m)=S* (1-c) * (1-z) * (1-p) * (1-m).Optionally, described first test knot
Fruit display is in the display interface including described target detection data, and described first test run speed can be along with
Typical case's change of test segment and change, described first test GPS signal data represents that gps signal is strong
Weak change, changes also with the change of typical case's test segment.
In a kind of mode in the cards, program test device includes virtual simulator, and processor 201 will
Described target detection data are injected in this virtual simulator, and control this virtual simulator and survey based on described target
Program to be tested described in examination data run, obtains described second test result.In a kind of mode in the cards
In, program test device is connected with the user terminal installing described program to be tested, program test device root
Injecting in this user terminal according to described sample frequency data by described target detection data, processor 201 controls
This user terminal is based on program to be tested described in described target detection data run, and obtains this user terminal
Operation result, as described second test result.In a kind of mode in the cards, processor 201
According to described sample frequency data by the described target detection data described program to be tested of injection, and control described
Program to be tested is carried out based on described target detection data, obtains described second test result.
Described first test result and described second test result can be contrasted by tester, it is possible to understand that
If described first test result differs bigger with described second test result, then described journey to be tested
Sequence existing defects or problem.Program test device can generate advisory information, described survey according to described test result
Test result may also include advisory information, and described advisory information includes testing evaluation, optimum sampling frequency and operation
The CPU usage curve chart of record, memory usage curve chart, battery temperature in described program process to be tested
Write music line chart, provide suggestion for tester intelligently, it is simple to tester according to advisory information again to institute
State to be tested test, improve the accuracy of test further.
The embodiment of the present invention can realize the simulation commissioning in existing exploitation testing process and install test, it is not necessary to consumption
Take substantial amounts of human and material resources and the time carry out field test, simulation commissioning and installation test are combined,
Based on multiple test scene, program is tested, be conducive to improving the accuracy of test.Further, test
Cheng Hou, tester can find defect or problem according to the test result of output module 205 output, save existing
There is the time that field test feeds back back and forth.
In embodiments of the present invention, by program to be tested, and the multiple test that program to be tested is corresponding is exported
According to the selection instruction inputted for multiple test scene, scene, determines that the target including target detection path is surveyed
Examination hall scape, obtains target detection data corresponding to target detection path and tests based on target detection data
And output test result, and then improve the accuracy of test, reduce testing cost, shorten length of testing speech.
Refer to Fig. 5, for the schematic flow sheet of the another kind of program testing method that the embodiment of the present invention provides.Knot
Close the program test device shown in Fig. 2, memorizer 206 stores batch processing code, and processor 201
Call in memorizer 206 program code of storage, be used for performing described program testing method, can include with
Lower step 501-step 504.In method shown in Fig. 5, content same or analogous with the method shown in Fig. 3
It is referred to the relevant detailed description of Fig. 3, does not repeats.
501, load program to be tested, and export the multiple test scene that described program to be tested is corresponding.
502, the selection instruction according to inputting for described multiple test scene determines target detection scene, described
Target detection scene includes target detection path.
Step 501 and the process that implements of step 502 in the embodiment of the present invention can be found in shown in Fig. 3 real
Execute the step 301 of example and the specific descriptions of step 302, do not repeat them here.
503, load the default test data that described target detection path is corresponding.
Concrete, processor 201, after determining described target detection path, loads institute from memorizer 206
State the default test data that target detection path is corresponding, or obtain from cloud service 101 by network 103 and add
Carry the default test data that described target detection path is corresponding, or by network 103 from data server 102
Obtain and load the default test data that described target detection path is corresponding.Described default test data be without
The test data of tester's change.Described default test data include that at least one presets typical case's test segment
And described at least one preset in typical case's test segment every kind and preset typical case's test number corresponding to test segment
According to.
504, it is judged that whether described default test data meet test condition.
Concrete, processor 201 judges whether described default test data meet test condition, described test
Condition be tester in advance in program test device for the test condition of described setting to be tested, permissible
Arrange including the test data that the condition arranged for typical case's test segment is corresponding with for typical case's test segment
Condition.If at least one default typical case's test segment described is unsatisfactory for the condition arranged for typical case's test segment,
Or certain presets typical case's test data corresponding to test segment and is unsatisfactory for the test corresponding for typical test segment
The condition that data are arranged, it is determined that described default test data are unsatisfactory for described test condition.
505, described default test data are defined as target detection data.
Concrete, when the result that step 504 judges is as being, the most described default test data meet described survey
Strip part, now described default test data are defined as target detection data, not to described by processor 201
Preset test data and do any change.
506, receive the adjustment instruction for the input of described default test data.
Concrete, when the result that step 505 judges is no, the most described default test data are unsatisfactory for described
Test condition, now processor 201 can control output module 205 and exports for pointing out tester to adjust
Whole dialog box, tester can adjust instruction according to this dialog box for the input of described default test data.
Described adjustment instruction can be the change in described default test data at least one section default typical case's test segment
Instruct and/or preset, in described default test data certain section or a few sections, the test that typical case's test segment is corresponding
The change directive of data.Can be for change institute for the described at least one section adjustment instruction presetting typical case's test segment
State in target detection path the instruction of certain section of road segment classification corresponding to typical test segment, as changed by highway
For tunnel;It is alternatively the instruction increasing by one section of typical test segment at least one section of typical test path, but
It is now it is noted that the starting point of newly-increased typical test segment can not be with the preceding paragraph typical case's test segment
Terminal overlaps, and the terminal of newly-increased typical test segment can not overlap with the starting point of next section of typical test segment.
Optionally, processor 201 controls output module 205 for the different color of different typical test segments
Output.Can be right for certain section or a few sections change directive presetting test data corresponding to typical case's test segment
In Fig. 4 in sample frequency data, GPS signal data, system environment data or external environment condition data one
Kind or multiple change directive.
507, according to described adjust instruction adjust described default test data, and will adjust after described default survey
Examination data determine the target detection data that described target detection path is corresponding.
Concrete, processor 201 adjusts the instruction described default test data of adjustment according to described, and will adjust
After described default test data determine the target detection data that described target detection path is corresponding.Processor 201
Described target detection data can be stored in memorizer 206, or by network 103 by described target detection
Data are transmitted to cloud service 101 or data server 102.
508, it is calculated the first test result according to described target detection data.
Concrete, processor 201 is calculated the first test result according to the described target detection data determined,
It is understood that described first test result is the standard results that described target detection data are corresponding, including
First test run speed and the first test GPS signal data.By corresponding for described every section of typical test segment
Described speed parameter in described sample frequency data is defined as described first test run speed, according to described
Described GPS signal data and gps signal algorithm that every section of typical test segment is corresponding calculate described first and survey
Examination GPS signal data, wherein, described gps signal algorithm is GPS signal strength expression formula
F (c, z, p, m)=S* (1-c) * (1-z) * (1-p) * (1-m).Optionally, described first test result shows including
Stating in the display interface of target detection data, described first test run speed can be along with typical case's test segment
Change and change, described first test GPS signal data represents the change that gps signal is strong and weak, also with
The change of typical case's test segment and change.
509, obtain the second test result based on program to be tested described in described target detection data run.
Wherein, described second test result is simulation test result, including the second test run speed and second
Test GPS signal data.In a kind of mode in the cards, program test device includes virtual simulator,
Described target detection data are injected in this virtual simulator by processor 201, and control this virtual simulator base
In program to be tested described in described target detection data run, obtain described second test result.Can in one
In the mode that can realize, program test device is connected with the user terminal installing described program to be tested, journey
Described target detection data are injected in this user terminal according to described sample frequency data by sequence test device, place
Reason device 201 controls this user terminal based on program to be tested described in described target detection data run, and obtains
The operation result of this user terminal, as described second test result.In a kind of mode in the cards
In, described target detection data are injected described journey to be tested according to described sample frequency data by processor 201
Sequence, and control described program to be tested and carry out based on described target detection data, obtain described second test knot
Really.
510, output includes described first test result and the test result of described second test result.
Concrete, processor 201 controls output module 205 output and includes described first test result and described
The test result of the second test result, tester can be to described first test result and described second test knot
Fruit contrasts, it is to be understood that if described first test result differs relatively with described second test result
Greatly, then described program existing defects to be tested or problem.Program test device can be according to described test result
Generate advisory information, described test result may also include advisory information, described advisory information include testing evaluation,
In optimum sampling frequency and the described program process to be tested of operation, the CPU usage curve chart of record, internal memory account for
With rate curve chart, battery temperature curve chart, provide suggestion for tester intelligently, it is simple to tester's root
It is suggested that information to be tested is tested described again, improve the accuracy of test further.
In embodiments of the present invention, by program to be tested, and the multiple test that program to be tested is corresponding is exported
According to the selection instruction inputted for multiple test scene, scene, determines that the target including target detection path is surveyed
Examination hall scape, obtains target detection data corresponding to target detection path and tests based on target detection data
And output test result, and then improve the accuracy of test, reduce testing cost, shorten length of testing speech.
Refer to Fig. 6, for the structural representation of a kind of program test device that the present invention provides, this program test
Device 60 comprises the steps that scene output unit 601, scene determine unit 602, data capture unit 603 and
Result output unit 604.
Scene output unit 601, is used for loading program to be tested, and it is corresponding many to export described program to be tested
Plant test scene.
Scene determines unit 602, for determining mesh according to the selection instruction for the input of described multiple test scene
Mark test scene, described target detection scene includes target detection path.
Data capture unit 603, for obtaining the target detection data that described target detection path is corresponding.
Result output unit 604, for testing based on described target detection data and output test result.
Program test device shown in Fig. 6 is used for realizing the program testing method shown in Fig. 3, the technology brought
Effect, concrete principle refers to the specific descriptions of Fig. 3, and here is omitted.
Refer to Fig. 7, for the structural representation of the data capture unit shown in Fig. 6, described data capture unit
603 include that data loading unit 6031, data determining unit 6032, data determination unit 6033, instruction connect
Receive unit 6034 and data alignment unit 6035.
Data loading unit 6031, for loading the default test data that described target detection path is corresponding.
Data determining unit 6032, is used for judging whether described default test data meet test condition.
Data determination unit 6033, for when the result that described data determining unit judges is as being, by described
Preset test data and be defined as target detection data.
Instruction reception unit 6034, for when the result that described data determining unit judges is no, receives pin
Adjustment instruction to the input of described default test data.
Data alignment unit 6035, for adjusting the instruction described default test data of adjustment according to described, and will
Described default test data after adjustment determine the target detection data that described target detection path is corresponding.
Wherein, described adjustment instruction includes presetting typical case's test in described default test data at least one section
The change directive in section and/or preset typical case's test segment for certain section in described default test data or a few sections
The change directive of corresponding test data.
Data loading unit 6031, data determining unit 6032, data determination unit 6033, command reception list
Unit 6034 and data alignment unit 6035 are used for realizing the step 503-step 507 of embodiment illustrated in fig. 5,
This repeats no more.
Refer to Fig. 8, for the structural representation of the structure output unit shown in Fig. 6, described structure output unit
604 include computing unit 6041, running unit 6042 and output unit 6043.
Computing unit 6041, for being calculated the first test result according to described target detection data, described
First test result includes the first test movement rate and the first test GPS signal data.Described computing unit
6041 specifically for by the described speed in described sample frequency data corresponding for described every section of typical test segment
Parameter determination is described first test run speed, according to described every section of typical test segment corresponding described in
GPS signal data and gps signal algorithm calculate described first test GPS signal data;
Wherein, described gps signal algorithm is that (c, z, p, m)=S* (1-c) * (1-z) * (1-p) * (1-m), c represent institute to F
State weather parameters, z represents that described barrier parameter, p represent described vegetal cover parameter, and m represents described magnetic
Field interference parameter, S represents default gps signal reference value.
Running unit 6042, for obtaining second based on program to be tested described in described target detection data run
Test result, described second test result includes the second test movement rate and the second test GPS signal data.
Output unit 6043, includes described first test result and the survey of described second test result for output
Test result.
Computing unit 6041, running unit 6042 and output unit 6043 are used for realizing embodiment illustrated in fig. 5
Step 508-step 510, do not repeat them here.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method,
Can be by computer program and complete to instruct relevant hardware, described program can be stored in a calculating
In machine read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.
Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory,
Or random store-memory body (Random Access Memory, RAM) etc. ROM).
Above disclosed be only present pre-ferred embodiments, certainly can not with this limit the present invention it
Interest field, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is contained.
Claims (19)
1. a program testing method, it is characterised in that including:
Load program to be tested, and export the multiple test scene that described program to be tested is corresponding;
Selection instruction according to inputting for described multiple test scene determines target detection scene, described target
Test scene includes target detection path;
Obtain the target detection data that described target detection path is corresponding;
Test based on described target detection data and output test result.
Method the most according to claim 1, it is characterised in that described program to be tested is for being applied to use
Mobile class application program in the terminal of family.
Method the most according to claim 2, it is characterised in that described target detection data include at least
In one section of typical test segment and described at least one section of typical test segment, every section of typical test segment is corresponding
Test data, described test data include sample frequency data, GPS signal data, system environment data and
External environment condition data.
Method the most according to claim 3, it is characterised in that described sample frequency data include curvature
Parameter and speed parameter;Described GPS signal data includes that weather parameters, barrier parameter, vegetal cover are joined
Number and magnetic interference parameter;Described system environment data includes memory parameters, CPU parameter and electrical parameter;
Described external environment condition data include ambient temperature parameter and pneumatic parameter.
Method the most according to claim 4, it is characterised in that described acquisition described target detection path
Corresponding target detection data, including:
Load the default test data that described target detection path is corresponding, and judge that described default test data are
No meet test condition;
When the result judged is as being, described default test data are defined as target detection data.
Method the most according to claim 5, it is characterised in that the described default test data of described judgement
After whether meeting test condition, also include:
When the result judged is no, receive the adjustment instruction for the input of described default test data;
According to described adjust instruction adjust described default test data, and will adjust after described default test number
The target detection data corresponding according to determining described target detection path;
Wherein, described adjustment instruction includes presetting typical case's test in described default test data at least one section
The change directive in section and/or preset typical case's test segment for certain section in described default test data or a few sections
The change directive of corresponding test data.
7. according to the method described in claim 5 or 6, it is characterised in that described based on described target detection
Data are tested and output test result, including:
Being calculated the first test result according to described target detection data, described first test result includes
One test movement rate and the first test GPS signal data;
The second test result is obtained based on program to be tested described in described target detection data run, described second
Test result includes the second test movement rate and the second test GPS signal data;
Output includes described first test result and the test result of described second test result.
Method the most according to claim 7, it is characterised in that described according to described target detection data
It is calculated the first test result, including:
Described speed parameter in described sample frequency data corresponding for described every section of typical test segment is determined
For described first test run speed;
The described GPS signal data corresponding according to described every section of typical test segment and gps signal algorithm meter
Calculate described first test GPS signal data;
Wherein, described gps signal algorithm is that (c, z, p, m)=S* (1-c) * (1-z) * (1-p) * (1-m), c represent institute to F
State weather parameters, z represents that described barrier parameter, p represent described vegetal cover parameter, and m represents described magnetic
Field interference parameter, S represents default gps signal reference value.
Method the most according to claim 7, it is characterised in that described test result also includes recommendation letter
Breath, described advisory information includes testing evaluation, optimum sampling frequency and runs in described program process to be tested
The CPU usage curve chart of record, memory usage curve chart, battery temperature curve chart.
10. a program test device, it is characterised in that including:
Scene output unit, is used for loading program to be tested, and exports corresponding multiple of described program to be tested
Test scene;
Scene determines unit, for determining target according to the selection instruction for the input of described multiple test scene
Test scene, described target detection scene includes target detection path;
Data capture unit, for obtaining the target detection data that described target detection path is corresponding;
Result output unit, for testing based on described target detection data and output test result.
11. devices according to claim 10, it is characterised in that described program to be tested is for being applied to
Mobile class application program on user terminal.
12. devices according to claim 11, it is characterised in that described target detection data include to
In few one section of typical test segment and described at least one section of typical test segment, every section of typical test segment is corresponding
Test data, described test data include sample frequency data, GPS signal data, system environment data
With external environment condition data.
13. devices according to claim 12, it is characterised in that described sample frequency data include song
Degree parameter and speed parameter;Described GPS signal data includes weather parameters, barrier parameter, vegetal cover
Parameter and magnetic interference parameter;Described system environment data includes memory parameters, CPU parameter and electricity ginseng
Number;Described external environment condition data include ambient temperature parameter and pneumatic parameter.
14. devices according to claim 13, it is characterised in that described data capture unit includes:
Data loading unit, for loading the default test data that described target detection path is corresponding;
Data determining unit, is used for judging whether described default test data meet test condition;
Data determination unit, for when the result that described data determining unit judges is as being, presets described
Test data are defined as target detection data.
15. devices according to claim 14, it is characterised in that described data capture unit also includes:
Instruction reception unit, for when the result that described data determining unit judges is no, receives for institute
State the adjustment instruction presetting test data input;
Data alignment unit, for adjusting the instruction described default test data of adjustment according to described, and will adjust
After described default test data determine the target detection data that described target detection path is corresponding;
Wherein, described adjustment instruction includes presetting typical case's test in described default test data at least one section
The change directive in section and/or preset typical case's test segment for certain section in described default test data or a few sections
The change directive of corresponding test data.
16. according to the device described in claims 14 or 15, it is characterised in that described result output unit
Including:
Computing unit, for being calculated the first test result according to described target detection data, described first
Result includes the first test movement rate and the first test GPS signal data;
Running unit, for obtaining the second test based on program to be tested described in described target detection data run
As a result, described second test result includes the second test movement rate and the second test GPS signal data;
Output unit, includes the test knot of described first test result and described second test result for output
Really.
17. devices according to claim 16, it is characterised in that described computing unit is specifically for inciting somebody to action
Described speed parameter in the described sample frequency data that described every section of typical test segment is corresponding is defined as described
First test run speed, the described GPS signal data corresponding according to described every section of typical test segment and
Gps signal algorithm calculates described first test GPS signal data;
Wherein, described gps signal algorithm is that (c, z, p, m)=S* (1-c) * (1-z) * (1-p) * (1-m), c represent institute to F
State weather parameters, z represents that described barrier parameter, p represent described vegetal cover parameter, and m represents described magnetic
Field interference parameter, S represents default gps signal reference value.
18. devices according to claim 16, it is characterised in that described test result also includes suggestion
Information, described advisory information includes testing evaluation, optimum sampling frequency and runs described program process to be tested
The CPU usage curve chart of middle record, memory usage curve chart, battery temperature curve chart.
19. 1 kinds of program test devices, it is characterised in that described program test device includes processor, defeated
Enter module, output module, communication interface and memorizer, wherein, memorizer storage batch processing code,
And processor is for calling the program code of storage in memorizer so that described program test device performs such as power
Profit requires the method described in any one of 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610298945.5A CN105975394B (en) | 2016-05-06 | 2016-05-06 | A kind of program testing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610298945.5A CN105975394B (en) | 2016-05-06 | 2016-05-06 | A kind of program testing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105975394A true CN105975394A (en) | 2016-09-28 |
CN105975394B CN105975394B (en) | 2019-04-19 |
Family
ID=56991998
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610298945.5A Active CN105975394B (en) | 2016-05-06 | 2016-05-06 | A kind of program testing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105975394B (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107818045A (en) * | 2017-09-29 | 2018-03-20 | 安徽四创电子股份有限公司 | A kind of method for testing software of safe city |
CN107885651A (en) * | 2016-09-30 | 2018-04-06 | 千寻位置网络有限公司 | The automated system regression testing method and its device of mobile terminal location algorithm |
CN107908556A (en) * | 2017-11-08 | 2018-04-13 | 中国平安人寿保险股份有限公司 | Interface test method, device, equipment and computer-readable recording medium |
CN107990909A (en) * | 2016-10-27 | 2018-05-04 | 千寻位置网络有限公司 | A kind of test method and its system of simulated roadway position data |
CN108156456A (en) * | 2017-12-25 | 2018-06-12 | 深圳创维-Rgb电子有限公司 | A kind of TV performance test methods, device and storage medium |
CN108536578A (en) * | 2017-03-06 | 2018-09-14 | 阿里巴巴集团控股有限公司 | A kind of test method and device |
CN108763076A (en) * | 2018-05-22 | 2018-11-06 | 深圳乐信软件技术有限公司 | A kind of Software Automatic Testing Method, device, equipment and medium |
CN109376069A (en) * | 2018-09-03 | 2019-02-22 | 中国平安人寿保险股份有限公司 | A kind of generation method and equipment of test report |
WO2019051714A1 (en) * | 2017-09-14 | 2019-03-21 | 深圳传音通讯有限公司 | Test method and test apparatus for application memory of smart device |
CN109639413A (en) * | 2018-12-10 | 2019-04-16 | 四川大学 | A kind of block catenary system based on mobile ad hoc network |
CN109783367A (en) * | 2018-12-15 | 2019-05-21 | 中国平安人寿保险股份有限公司 | Interface test method, device, computer installation and storage medium |
CN110209593A (en) * | 2019-06-14 | 2019-09-06 | 南京大学 | A kind of Android application testing method towards preference setting |
CN110806981A (en) * | 2019-11-05 | 2020-02-18 | 北京博睿宏远数据科技股份有限公司 | Application program testing method, device, equipment and storage medium |
CN111258882A (en) * | 2020-01-03 | 2020-06-09 | 恩亿科(北京)数据科技有限公司 | Test data acquisition method and device based on digital media system |
CN112131129A (en) * | 2020-09-29 | 2020-12-25 | 中国银行股份有限公司 | Application program testing method and system |
CN113671937A (en) * | 2021-08-20 | 2021-11-19 | 安徽江淮汽车集团股份有限公司 | AEB function optimization re-verification method |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120216176A1 (en) * | 2011-02-22 | 2012-08-23 | Zensar Technologies Ltd | Computer implemented system and method for indexing and optionally annotating use cases and generating test scenarios therefrom |
US20120254665A1 (en) * | 2011-03-31 | 2012-10-04 | Infosys Technologies Ltd. | Generation of functional tests for re-hosted applications |
CN102999320A (en) * | 2011-09-15 | 2013-03-27 | 阿里巴巴集团控股有限公司 | Automatic test case generation method and system |
CN103377120A (en) * | 2012-04-24 | 2013-10-30 | 深圳市财付通科技有限公司 | Test method and device for application programs |
CN103546904A (en) * | 2013-11-12 | 2014-01-29 | 秦捷欢 | Wireless network intelligent test and analysis system and test method |
CN103825780A (en) * | 2014-02-26 | 2014-05-28 | 珠海市君天电子科技有限公司 | Tag-on program identification method, service and system |
CN105354143A (en) * | 2015-12-02 | 2016-02-24 | 北京奇虎科技有限公司 | Test method and device for application programs |
CN105426309A (en) * | 2015-11-13 | 2016-03-23 | 上海斐讯数据通信技术有限公司 | Test case automatic generation method and apparatus |
CN105607997A (en) * | 2015-11-26 | 2016-05-25 | 珠海多玩信息技术有限公司 | Background service test method, apparatus and system for software product |
-
2016
- 2016-05-06 CN CN201610298945.5A patent/CN105975394B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120216176A1 (en) * | 2011-02-22 | 2012-08-23 | Zensar Technologies Ltd | Computer implemented system and method for indexing and optionally annotating use cases and generating test scenarios therefrom |
US20120254665A1 (en) * | 2011-03-31 | 2012-10-04 | Infosys Technologies Ltd. | Generation of functional tests for re-hosted applications |
CN102999320A (en) * | 2011-09-15 | 2013-03-27 | 阿里巴巴集团控股有限公司 | Automatic test case generation method and system |
CN103377120A (en) * | 2012-04-24 | 2013-10-30 | 深圳市财付通科技有限公司 | Test method and device for application programs |
CN103546904A (en) * | 2013-11-12 | 2014-01-29 | 秦捷欢 | Wireless network intelligent test and analysis system and test method |
CN103825780A (en) * | 2014-02-26 | 2014-05-28 | 珠海市君天电子科技有限公司 | Tag-on program identification method, service and system |
CN105426309A (en) * | 2015-11-13 | 2016-03-23 | 上海斐讯数据通信技术有限公司 | Test case automatic generation method and apparatus |
CN105607997A (en) * | 2015-11-26 | 2016-05-25 | 珠海多玩信息技术有限公司 | Background service test method, apparatus and system for software product |
CN105354143A (en) * | 2015-12-02 | 2016-02-24 | 北京奇虎科技有限公司 | Test method and device for application programs |
Non-Patent Citations (1)
Title |
---|
张冬玲: "基于工作流的场景测试建模方法研究", 《电子测试》 * |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107885651A (en) * | 2016-09-30 | 2018-04-06 | 千寻位置网络有限公司 | The automated system regression testing method and its device of mobile terminal location algorithm |
CN107885651B (en) * | 2016-09-30 | 2020-11-24 | 千寻位置网络有限公司 | Automatic system regression testing method and device for mobile terminal positioning algorithm |
CN107990909A (en) * | 2016-10-27 | 2018-05-04 | 千寻位置网络有限公司 | A kind of test method and its system of simulated roadway position data |
CN107990909B (en) * | 2016-10-27 | 2021-05-25 | 千寻位置网络有限公司 | Test method and system for simulating road position data |
CN108536578A (en) * | 2017-03-06 | 2018-09-14 | 阿里巴巴集团控股有限公司 | A kind of test method and device |
WO2019051714A1 (en) * | 2017-09-14 | 2019-03-21 | 深圳传音通讯有限公司 | Test method and test apparatus for application memory of smart device |
CN107818045A (en) * | 2017-09-29 | 2018-03-20 | 安徽四创电子股份有限公司 | A kind of method for testing software of safe city |
CN107908556A (en) * | 2017-11-08 | 2018-04-13 | 中国平安人寿保险股份有限公司 | Interface test method, device, equipment and computer-readable recording medium |
CN108156456A (en) * | 2017-12-25 | 2018-06-12 | 深圳创维-Rgb电子有限公司 | A kind of TV performance test methods, device and storage medium |
CN108763076A (en) * | 2018-05-22 | 2018-11-06 | 深圳乐信软件技术有限公司 | A kind of Software Automatic Testing Method, device, equipment and medium |
CN109376069B (en) * | 2018-09-03 | 2023-07-21 | 中国平安人寿保险股份有限公司 | Method and device for generating test report |
CN109376069A (en) * | 2018-09-03 | 2019-02-22 | 中国平安人寿保险股份有限公司 | A kind of generation method and equipment of test report |
CN109639413A (en) * | 2018-12-10 | 2019-04-16 | 四川大学 | A kind of block catenary system based on mobile ad hoc network |
CN109639413B (en) * | 2018-12-10 | 2020-04-24 | 四川大学 | Block chain system based on mobile ad hoc network |
CN109783367A (en) * | 2018-12-15 | 2019-05-21 | 中国平安人寿保险股份有限公司 | Interface test method, device, computer installation and storage medium |
CN109783367B (en) * | 2018-12-15 | 2023-10-27 | 中国平安人寿保险股份有限公司 | Interface testing method, device, computer device and storage medium |
CN110209593B (en) * | 2019-06-14 | 2021-05-28 | 南京大学 | Preference setting-oriented android application testing method |
CN110209593A (en) * | 2019-06-14 | 2019-09-06 | 南京大学 | A kind of Android application testing method towards preference setting |
CN110806981B (en) * | 2019-11-05 | 2023-03-31 | 北京博睿宏远数据科技股份有限公司 | Application program testing method, device, equipment and storage medium |
CN110806981A (en) * | 2019-11-05 | 2020-02-18 | 北京博睿宏远数据科技股份有限公司 | Application program testing method, device, equipment and storage medium |
CN111258882A (en) * | 2020-01-03 | 2020-06-09 | 恩亿科(北京)数据科技有限公司 | Test data acquisition method and device based on digital media system |
CN111258882B (en) * | 2020-01-03 | 2023-08-25 | 恩亿科(北京)数据科技有限公司 | Test data acquisition method and device based on digital media system |
CN112131129A (en) * | 2020-09-29 | 2020-12-25 | 中国银行股份有限公司 | Application program testing method and system |
CN112131129B (en) * | 2020-09-29 | 2023-09-08 | 中国银行股份有限公司 | Application program testing method and system |
CN113671937A (en) * | 2021-08-20 | 2021-11-19 | 安徽江淮汽车集团股份有限公司 | AEB function optimization re-verification method |
Also Published As
Publication number | Publication date |
---|---|
CN105975394B (en) | 2019-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105975394A (en) | Program testing method and device | |
CN105045950A (en) | Three-dimensional laser scan based bridge safety evaluation system | |
CN111551147B (en) | Arch dam surface deformation monitoring system based on GNSS and measuring robot fusion | |
CN102831268B (en) | Support the programmable logic device (PLD) domain rapid generation of customization | |
CN1444744A (en) | System method and apparatus for portable design, deployment, test and optimization of communication network | |
KR20110093100A (en) | Method and apparatus for providing user interface in mobile terminal | |
CN103337221B (en) | A kind of indoor map method for making and indoor map | |
CN106441276A (en) | Movement trajectory generation method and mobile terminal | |
CN111240673A (en) | Interactive graphic work generation method, device, terminal and storage medium | |
Gazcón et al. | Fieldwork in Geosciences assisted by ARGeo: A mobile Augmented Reality system | |
US20190130625A1 (en) | Expression Interpretation Engine for Computer Map Visualizations | |
CN106294804A (en) | The examination & verification of a kind of nature reserve area and inspection system and application process | |
Nagpal | Android Sensor Programming By Example | |
CN110674026B (en) | Navigation track simulation method and device, storage medium and terminal equipment | |
CN108694039A (en) | A kind of efficiency of research and development promotion optimization method and device of agility flow | |
JP2003203194A (en) | Wind environment predicting program, medium storing this program and wind environment predicting method | |
JP2002049298A (en) | Program and method for predicting wind environment | |
CN111255434A (en) | Well testing method and device for gas well and computer storage medium | |
CN108595677A (en) | Road disease methods of exhibiting and device, electronic equipment, computer read/write memory medium | |
CN110134601A (en) | A kind of software pressure surveys coverage measure method, system, medium and electronic equipment | |
CN102859497B (en) | Data access method and data access device | |
CN115509897A (en) | Automatic driving simulation test map display method and related device | |
CN114397829A (en) | Method, apparatus, device and medium for constructing automatic driving simulation scene | |
Zhang et al. | Design and implementation of the detection software of a wireless microseismic acquisition station based on the Android platform | |
Kumar et al. | Using flutter to develop a hybrid application of augmented reality |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210428 Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Device Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right |