CN109960651A - Bury a test method, system, device and computer readable storage medium - Google Patents
Bury a test method, system, device and computer readable storage medium Download PDFInfo
- Publication number
- CN109960651A CN109960651A CN201910112770.8A CN201910112770A CN109960651A CN 109960651 A CN109960651 A CN 109960651A CN 201910112770 A CN201910112770 A CN 201910112770A CN 109960651 A CN109960651 A CN 109960651A
- Authority
- CN
- China
- Prior art keywords
- test
- bury
- burying
- point data
- buries
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000010998 test method Methods 0.000 title claims abstract description 34
- 238000012360 testing method Methods 0.000 claims abstract description 198
- 230000009471 action Effects 0.000 claims abstract description 20
- 230000006870 function Effects 0.000 claims description 7
- 238000004088 simulation Methods 0.000 claims description 6
- 230000006399 behavior Effects 0.000 claims description 2
- 238000012545 processing Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 10
- 238000000034 method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000000712 assembly Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 241001455214 Acinonyx jubatus Species 0.000 description 1
- 241000209140 Triticum Species 0.000 description 1
- 235000021307 Triticum Nutrition 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000003542 behavioural effect Effects 0.000 description 1
- 238000012512 characterization method Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000013522 software testing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000007306 turnover Effects 0.000 description 1
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/3684—Test management for test design, e.g. generating new test cases
-
- 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/3692—Test management for test results analysis
Abstract
The application buries a test method, system, device and computer readable storage medium about one kind.A test method of burying includes: that acquisition buries and a little corresponding buries point data, wherein, it is described to bury a setting in application to be measured, a domain name of burying for the application to be measured is arranged to testing service device, by burying a little corresponding functional module described in trigger action triggering execution, and sends and bury point data to the testing service device;And bury point data by described and bury a test case and be compared, a test report is buried to obtain.Due to checking and analyzing to point data is buried without tester, to alleviate the operating pressure of tester, and testing efficiency is improved.
Description
Technical field
The application belongs to computer software testing field, especially one kind and buries a test method, system, device and computer
Readable storage medium storing program for executing.
Background technique
With more and more frequent, the app of use of internet product, the core function of the products such as H5, web needs counting user
Behavioral data and various service conditions, then mostly use the mode for burying in the product a little to collect in the related technology and analyze
These data out, the accuracy of these data has in subsequent various decisions to have very important significance, and guarantees to bury a little in product
Correctness become extremely important, therefore, before each product sends out version, require bury a test.
Bury a test method the problem is that: it is more due to burying quantity, cause tester need frequently crawl bury
Point reports request, and whether field checks and bury point data and report normally one by one, takes time and effort, and testing efficiency also compared with
It is low.
Summary of the invention
For problem present in the relevant technologies, the application discloses one kind and buries a test method, system, device and computer
Readable storage medium storing program for executing, with solve it is existing in the prior art bury point data due to needing tester frequently to check and analyze, lead
The more low problem of the testing efficiency of cause.
In a first aspect, the embodiment of the invention provides one kind to bury a test method, comprising:
Acquisition, which is buried, a little corresponding buries point data, wherein described bury is arranged in application to be measured, and the application to be measured is buried
Point domain name is arranged to testing service device, by trigger action trigger described in bury a little corresponding functional module send bury point data to
The testing service device;And
It buries point data by described and buries a test case and be compared, bury a test report to obtain.
In some embodiments, the trigger action is generated by simulation test tool.
In some embodiments, it includes burying a checkpoint and expected test result that a test case is buried described in every, and every
The point data of burying includes identification information and actual test as a result, the identification information and the trigger action are corresponding.
In some embodiments, described to bury point data by described and bury a test case and be compared, it is surveyed with obtaining to bury
Examination is reported
Described a checkpoint is buried and each of point data identification information that buries compares for each;
It is matched described to bury the corresponding expected test result in a checkpoint and the identification information is corresponding by comparison result
Actual test result compared one by one, and obtained burying a test report according to comparison result.
In some embodiments, described to bury a checkpoint, the expected test result, the identification information and the reality
Test result is all made of key-value pair mode and indicates.
In some embodiments, a test case of burying is stored in text file, every a line of the text file
To bury a test case described in one.
In some embodiments, further includes: an application based on nginx building receives the packet that the application to be measured is sent
Containing the information for burying point data, and nginx log is accordingly generated, it includes: parsing that a little corresponding point data of burying is buried in the acquisition
Nginx log is to obtain described burying point data.
In some embodiments, by automatic test script realize described in bury a test method.
Second aspect, the embodiment of the present invention provide one kind and bury a test macro, comprising:
Data acquisition module a little corresponding buries point data for obtaining to bury, wherein described to bury a setting in application to be measured
In, a domain name of burying for the application to be measured is arranged to testing service device, by burying a correspondence described in trigger action triggering execution
Functional module, and send bury point data to the testing service device;
Test report generation module is buried a little for burying point data by described and burying a test case and be compared with obtaining
Test report.
In some embodiments, the trigger action is generated by simulation test tool.
In some embodiments, a test case of burying includes burying a checkpoint and expected test result, described to bury a little
Data include identification information and actual test as a result, the identification information and the trigger action are corresponding.
In some embodiments, the test report generation module includes:
First comparing unit, for described burying a checkpoint and each of point data mark of burying is believed for each
Breath compares;
Second comparing unit, for by comparison result be it is matched it is described bury the corresponding expected test result in a checkpoint and
The corresponding actual test result of the identification information is compared one by one;
As a result output unit is used for and is obtained burying a test report according to comparison result.
In some embodiments, described to bury a checkpoint, the expected test result, the identification information and the reality
Test result is all made of key-value pair mode and indicates.
In some embodiments, a test case of burying is stored in text file, every a line of the text file
A test case is buried for one.
In some embodiments, further includes: nginx application module, the nginx application module are to be constructed based on nginx
An application, bury the information of point data comprising described for receive that the application to be measured sends, and generate nginx log;
And the data acquisition module obtains described burying point data for parsing nginx log.
In some embodiments, by automatic test script realize described in bury a test macro.
The third aspect provides one kind and buries a test device, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, a test method is buried described in above-mentioned any one the processor is configured to executing.
Fourth aspect, provides a kind of computer readable storage medium, and the computer-readable recording medium storage has calculating
Machine instruction, the computer instruction, which is performed, to be realized and described in any of the above embodiments buries a test method.
5th aspect, the embodiment of the present invention provide computer program product, including computer program product, the computer
Program includes program instruction, and when described program instruction is executed by processor, execute above-mentioned any one buries a test method.
The technical solution that embodiments herein provides can include the following benefits: acquisition is buried point data and will be buried a little
It data and buries a test case and is compared, to obtain burying a test report.Due to being carried out without tester to point data is buried
It checks and analyzes, to alleviate the operating pressure of tester, and improve testing efficiency.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The application can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application
Example, and together with specification it is used to explain the principle of the application.
Fig. 1 show the flow chart for burying a test method that an exemplary embodiment of the invention provides;
Fig. 2 show the deployment diagram of application to be measured;
Fig. 3 show the flow chart for burying a test method that an exemplary embodiment of the invention provides;
Fig. 4 show the flow chart for burying a test macro that an exemplary embodiment of the invention provides;
Fig. 5 show the structural block diagram for burying a test macro of one exemplary embodiment of embodiment offer;
Fig. 6 show the test report generation module for burying a test macro of one exemplary embodiment of embodiment offer
Structure chart;
Fig. 7 show a kind of structural block diagram for burying a test device of the offer of embodiment five;
The another kind that Fig. 8 show the offer of embodiment six buries the structural block diagram of a test device.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the application.
Fig. 1 show the flow chart for burying a test method that an exemplary embodiment of the invention provides.This buries a test
Method is generally used for being tested before online using APP.Certainly, even if can also be used upper after application APP is online
It states and buries a test method constantly to testing using APP.This buries a test method and specifically includes following steps.
In step s101, it obtains to bury and a little corresponding buries point data, wherein a setting is buried in application to be measured, it is to be measured to answer
It buries a domain name and is arranged to testing service device, executed by trigger action triggering and bury a little corresponding functional module, and sent
Point data is buried to testing service device.
In step s 102, point data will be buried and bury a test case and be compared, bury a test report to obtain.
The present embodiment is further detailed below with reference to the deployment diagram of the application to be measured of Fig. 2.It is to be measured with reference to Fig. 2
It can be in various terminals, for example, mobile phone, notebook, desktop computer, IPAD etc. using deployment.On the diagram with terminal A and terminal B
Expression deploys two terminals of application to be measured.Terminal A is respectively with testing service device, service server via internet or local
Net connection.Equally, terminal B is respectively with testing service device, service server via internet or LAN connection.Application to be measured can
Think various using APP, such as can be QQ, wechat, cheetah, quick worker.It buries and is a little set in advance in application to be measured, and in advance
Testing service device 210 is set by a domain name of burying for application to be measured.When application to be measured work, the business datum of generation is sent
To service server 211.After burying in application to be measured is a little triggered operation triggering, buries a little corresponding functional module and is performed,
It obtains burying point data, and then point data will be buried and be sent to testing service device 210.Testing service device 210 receive bury point data it
Afterwards, the test case of burying burying point data He being pre-created is compared, is obtained burying a test report according to comparison result.
To sum up, in the present embodiment, it obtains to bury point data and point data will be buried and bury a test case and be compared, with
To burying a test report.Due to checking and analyzing to point data is buried without tester, to alleviate tester's
Operating pressure, and improve testing efficiency.
In the above-described embodiments, send bury point data function can by burying the corresponding Implement of Function Module of point data,
It can be realized by other function module.Burying point data can be sent in real time in testing service device, can also save at the terminal
It is re-send to after a period of time in testing service device.Preferably, the function of burying point data is sent by burying a little corresponding functional module
It executes, after it gets and buries point data, point data will be buried in real time and be sent on testing service device, to avoid point data is buried
It stores at the terminal, to affect the application to be measured even performance of terminal.
In the above-described embodiments, the trigger action that a little corresponding functional module is buried in triggering execution can be manual operation,
It can be generated with simulation test tool.Before application to be measured is online, simulation test tool is mostly used to be tested, to improve test
Efficiency.
In the above-described embodiments, it can will bury point data using http protocol or other agreements and clothes to be measured are sent to by terminal
It is engaged on device.Commonplace at present is to send request using http protocol.
Fig. 3 show the flow chart for burying a test method that an exemplary embodiment of the invention provides.In the present embodiment
In, each burying a test case includes at least two fields: burying a checkpoint and expected test result, every is buried point data and includes
At least two fields: identification information and actual test result.It buries a checkpoint characterization and buries a position, such as can will bury a correspondence
The title of functional module be set as burying a checkpoint.Identification information corresponds to trigger action, and trigger action buries a little for triggering
Corresponding functional module, therefore identification information also can be set as burying the title of a little corresponding functional module.Trigger action is to use
Operation of the family on the interface of application to be measured, such as click some button or upward, downward page turn over operation.According to above-mentioned number
Test case and point data is buried according to burying for structure, the present embodiment includes the following steps.
In step S301, acquisition, which is buried, a little corresponding buries point data, wherein a setting is buried in application to be measured, it is to be measured to answer
It buries a domain name and is arranged to testing service device, executed by trigger action triggering and bury a little corresponding functional module, and sent
Point data is buried to testing service device.
This step is identical with abovementioned steps S101, just repeats no more here.
In step s 302, by each each identification information comparison burying a checkpoint and burying in point data.
In step S303, comparison result is buried into the corresponding expected test result in checkpoint and identification information to be matched
Corresponding actual test result is compared one by one, and is obtained burying a test report according to comparison result.
In the present embodiment, burying point data may include one or more data, and burying a test case may include one
Or a plurality of test case.In step S302-S303, first by every bury point data bury a checkpoint and every is buried point data
Identification information be compared, determine every bury point data bury a checkpoint and which item buries identification information in a test case
Matching;Then, by it is matched bury the corresponding expected test result in a checkpoint and the corresponding actual test result of identification information into
Row compares, and determines whether this test case passes through according to comparison result, and the implementing result for burying a test case is written
To burying in a test report.
In some embodiments, the data structure for burying a test case is as follows:
Number | Description | Bury a checkpoint | Expected test result |
Burying a test case can store in database table or text file.If be stored in text file, use
Data line indicates that one is buried a test case, is spaced between field using additional character such as ' | '.When a survey is buried in needs use
When example on probation, read from text file and each bury a test case, one by one with bury point data and be compared.It is of course also possible to
All test cases of burying disposably are read into memory, the comparison of point data is then executed and bury in memory.
In some embodiments, the data structure for burying point data is as follows:
Action type | Time of origin | Identification information | Actual test result |
It buries point data to be sent on testing service device from application to be measured, can generally store in journal file.Then it solves
Journal file is analysed, buries point data (corresponding to actual test result) to obtain.If other information in journal file it is excessive or
Person include in journal file every buries that point data is more dispersed, for example, one bury point data needed for field be dispersed in two rows
In log, can first parse journal file, and go out to bury point data by by preset data preparation, in order to bury a test case
It is compared.
It is alternatively possible to which the Nginx framework based on open source constructs an application, and the application is deployed in testing service device
On.The application buries the information of point data comprising described for receive that application to be measured sends, and accordingly generates nginx log, then
It can obtain burying point data by parsing nginx log.
In some embodiments, the data structure for burying a test report is as follows:
Number | Description | Bury a checkpoint | Expected test result | Actual test result | State |
Bury state of the test report for describing each to bury a test case.If the expected test of a test case
As a result consistent with actual test result, then the state of this test case be successfully, otherwise be failure.
Fig. 4 is the exemplary diagram for burying a test report.On Fig. 4, an inspection is buried corresponding to above-mentioned in the checkpoint case
Point, actual log result correspond to above-mentioned actual test result.As can be seen that burying a checkpoint and actual test result is adopted
It is described with key-value pair mode.Identification information can also be described with point data is buried using key-value pair mode.Then correspondingly,
By comparing each key-value pair, so that it is determined that the difference of actual test result and expected test result, and then obtain each
The state of test case.The state of each use-case indicates use-case success for example, by using pass, indicates use-case failure using fail.
It should be understood that an above-mentioned test method of burying can be realized using automatic test script.When by application to be measured
It is deployed to after multiple terminals, point data is buried by the transmission of simulation test tool, automatic test script is periodically from testing service
It is obtained in the journal file of device and buries point data, and bury a test report with the comparison generation for burying point data according to a test case is buried
It accuses, so that whole flow process is not necessarily to manpower intervention.
Fig. 5 show the flow chart for burying a test macro that an exemplary embodiment of the invention provides.This buries a test
System 500 comprises the following modules.
Data acquisition module 501 a little corresponding buries point data for obtaining to bury, wherein a setting is buried in application to be measured,
A domain name of burying for application to be measured is arranged to testing service device, buries a little corresponding functional module transmission by trigger action triggering and buries
Point data is to testing service device.
Test report generation module 502 is compared for that will bury point data and bury a test case, buries a survey to obtain
Examination report.
In the present embodiment, it buries point data to be generated by application to be measured, application to be measured is generally deployed in terminal, is answered to be measured
Domain name is set as testing service device so that it is to be measured apply bury a little corresponding functional module be triggered operation triggering execute
Afterwards, the point data of burying of generation is sent to testing service device, and then buries point data by data acquisition module acquisition, will bury points
According to bury test case and compare, and generate and bury a test report.Due to without tester to bury point data check and
Analysis, to alleviate the operating pressure of tester, and improves testing efficiency.
In some embodiments, burying a test case includes burying a checkpoint and expected test result, and burying point data includes
Identification information and actual test are as a result, identification information and trigger action are corresponding.Correspondingly, the knot of test report generation module 502
Composition is as shown in fig. 6, include with lower unit.
First comparing unit 5021 is used for each each identification information comparison burying a checkpoint and burying in point data.
Second comparing unit 5022 be used for by comparison result be it is matched bury the corresponding expected test result in a checkpoint and
The corresponding actual test result of identification information is compared one by one.
As a result output unit 5023 is used for comparison result storage to burying a test report.
In some embodiments, a checkpoint, expected test result, identification information and actual test result are buried and is all made of key
Value indicates mode.
In some embodiments, it buries a test case to be stored in text file, each behavior one of text file buries
Point test case reads line by line from text file and each buries a little when that will bury a test case and bury point data and be compared
Test case.
In some embodiments, a test macro is buried further include: nginx application module, the nginx application module are base
It include to bury the information of point data, and generate nginx days for receive application transmission to be measured in an application of nginx building
Will;Then data acquisition module 501 can obtain burying point data by parsing nginx log.
A test macro is buried about in above-described embodiment, since the function of wherein modules is in the above method
It is described in detail in embodiment, therefore has carried out relatively simple description.
Fig. 7 is the frame for burying a test device that a test method is buried in a kind of execution shown according to an exemplary embodiment
Figure.Burying a test device includes processor and the memory for storage processor executable instruction;
Wherein, what processor was configured as executing above-mentioned any one buries a test method.
For example, burying a test device 1200 can be mobile phone, and computer, digital broadcasting terminal, messaging device,
Game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 7, burying a test device 1200 may include following one or more components: processing component 1202, storage
Device 1204, electric power assembly 1206, multimedia component 1208, audio component 1210, the interface 1212 of input/output (I/O), sensing
Device assembly 1214 and communication component 1216.
The integrated operation of a test device 1200 is buried in the usually control of processing component 1202, such as with display, call, number
According to communication, camera operation and record operate associated operation.Processing component 1202 may include one or more processors
1220 execute instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1202 may include one
Or multiple modules, convenient for the interaction between processing component 1202 and other assemblies.For example, processing component 1202 may include more matchmakers
Module, to facilitate the interaction between multimedia component 1208 and processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in equipment 1200.These data
Example includes the instruction of any application or method for operating on burying a test device 1200, contact data, electricity
Talk about book data, message, picture, video etc..Memory 1204 can be by any kind of volatibility or non-volatile memory device
Or their combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory
(EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory
(ROM), magnetic memory, flash memory, disk or CD.
Power supply module 1206 provides electric power to bury the various assemblies of a test device 1200.Power supply module 1206 may include
Power-supply management system, one or more power supplys and other to bury a test device 1200, to generate, manage, and distribute electric power related
The component of connection.
Multimedia component 1208 includes in the screen for burying one output interface of offer between a test device 1200 and user
Curtain.In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touching
Panel, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touchings
Sensor is touched to sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense touch or sliding is dynamic
The boundary of work, but also detect duration and pressure relevant to touch or slide.In some embodiments, multimedia
Component 1208 includes a front camera and/or rear camera.When equipment 1200 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1210 is configured as output and/or input audio signal.For example, audio component 1210 includes a wheat
Gram wind (MIC), is in operation mode when burying a test device 1200, when such as call mode, recording mode, and voice recognition mode,
Microphone is configured as receiving external audio signal.The received audio signal can be further stored in memory 1204 or
It is sent via communication component 1216.In some embodiments, audio component 1210 further includes a loudspeaker, for exporting audio
Signal.
I/O interface 1212 provides interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module
It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, enable button and
Locking press button.
Sensor module 1214 includes one or more sensors, for providing various aspects to bury a test device 1200
Status assessment.For example, sensor module 1214 can detecte the state that opens/closes of equipment 1200, component it is relatively fixed
Position, such as component are the display and keypad for burying a test device 1200, and sensor module 1214, which can also detect, buries a survey
Trial assembly sets 1200 or buries the position change of 1,200 1 components of a test device, and user deposits with bury that a test device 1200 contacts
Or be not present, bury 1200 orientation of a test device or acceleration/deceleration and bury the temperature change of a test device 1200.Sensor
Component 1214 may include proximity sensor, be configured to detect depositing for neighbouring object without any physical contact
?.Sensor module 1214 can also include optical sensor, such as CMOS or ccd image sensor, for making in imaging applications
With.In some embodiments, which can also include acceleration transducer, gyro sensor, magnetic sensing
Device, pressure sensor or temperature sensor.
Communication component 1216, which is configured to facilitate, buries wired or wireless way between a test device 1200 and other equipment
Communication.The wireless network based on communication standard, such as WiFi can be accessed by burying a test device 1200, carrier network (such as 2G,
3G, 4G or 5G) or their combination.In one exemplary embodiment, communication component 1216 comes from via broadcast channel reception
The broadcast singal or broadcast related information of external broadcasting management system.In one exemplary embodiment, communication component 1216 is gone back
Including near-field communication (NFC) module, to promote short range communication.For example, it can be based on radio frequency identification (RFID) technology in NFC module,
Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, burying a test device 1200 can be by one or more application specific integrated circuit
(ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), scene can
It programs gate array (FPGA), controller, microcontroller, microprocessor or other electronic components to realize, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 1204 of instruction, above-metioned instruction can be executed above-mentioned to complete by the processor 1220 for burying a test device 1200
Method.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic
Band, floppy disk and optical data storage devices etc..
Fig. 8 is the frame for burying a test device that a test method is buried in a kind of execution shown according to an exemplary embodiment
Figure.For example, device 1300 may be provided as a server.Referring to Fig. 8, device 1300 includes processing component 1322, into one
Step includes one or more processors, and the memory resource as representated by memory 1332, and being used to store can be by processing group
The instruction of the execution of part 1322, such as application program.The application program stored in memory 1332 may include one or one
Each above corresponds to the module of one group of instruction.In addition, processing component 1322 is configured as executing instruction, it is above-mentioned to execute
Bury a test method.
Device 1300 can also include that a power supply module 1326 be configured as the power management of executive device 1300, and one
Wired or wireless network interface 1350 is configured as device 1300 being connected to network and input and output (I/O) interface
1358.Device 1300 can be operated based on the operating system for being stored in memory 1332, such as Windows ServerTM, Mac
OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, computer program product, including computer program are additionally provided, computer program includes
Program instruction makes to bury a test device and executes and above-mentioned bury a test method when program instruction, which is buried test device, to be executed.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the application
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or
Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the application
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following
Claim is pointed out.
It should be understood that the application is not limited to the precise structure that has been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims.
Claims (10)
1. one kind buries a test method characterized by comprising
Acquisition, which is buried, a little corresponding buries point data, wherein described bury is arranged in application to be measured, and a domain is buried in the application to be measured
Name is arranged to testing service device, by burying a little corresponding functional module described in trigger action triggering execution, and sends and buries points
According to arrive the testing service device;And
It buries point data by described and buries a test case and be compared, bury a test report to obtain.
2. according to claim 1 bury a test method, which is characterized in that the trigger action is produced by simulation test tool
It is raw.
3. according to claim 1 bury a test method, which is characterized in that burying a test case described in every includes burying a little
Checkpoint and expected test result, it includes identification information and actual test as a result, the identification information that point data is buried described in every
It is corresponding with the trigger action.
4. according to claim 3 bury a test method, which is characterized in that it is described by it is described bury point data and bury test use
Example is compared, and buries a test report with acquisition and includes:
Described a checkpoint is buried and each of point data identification information that buries compares for each;
It is matched described to bury the corresponding expected test result in a checkpoint and the corresponding reality of the identification information by comparison result
Border test result is compared one by one, and is obtained burying a test report according to comparison result.
5. according to claim 3 or 4 bury a test method, which is characterized in that described to bury a checkpoint, the expected survey
Test result, the identification information and the actual test result, which are all made of key-value pair mode, to be indicated.
6. according to claim 1 bury a test method, which is characterized in that a test case of burying is stored in text text
In part, a test case is buried described in each behavior one of the text file.
7. according to claim 1 bury a test method, which is characterized in that further include: one based on nginx building is answered
The information of point data is buried comprising described with what the reception application to be measured was sent, and accordingly generates nginx log, the acquisition is buried
Point is corresponding, and to bury point data include: parsing nginx log to obtain described burying point data.
8. one kind buries a test macro characterized by comprising
Data acquisition module a little corresponding buries point data for obtaining to bury, wherein described to bury a setting in application to be measured, institute
The domain name of burying for stating application to be measured is arranged to testing service device, by burying a little corresponding function described in trigger action triggering execution
Module, and send and bury point data to the testing service device;
Test report generation module buries a test for burying point data by described and burying a test case and be compared to obtain
Report.
9. one kind buries a test device characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, a test method is buried described in 1 to 7 any one of the claims the processor is configured to executing.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer to refer to
It enables, the computer instruction, which is performed, to be realized and as described in any one of claim 1 to 7 bury a test method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910112770.8A CN109960651A (en) | 2019-02-13 | 2019-02-13 | Bury a test method, system, device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910112770.8A CN109960651A (en) | 2019-02-13 | 2019-02-13 | Bury a test method, system, device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109960651A true CN109960651A (en) | 2019-07-02 |
Family
ID=67023633
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910112770.8A Pending CN109960651A (en) | 2019-02-13 | 2019-02-13 | Bury a test method, system, device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109960651A (en) |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110532141A (en) * | 2019-08-30 | 2019-12-03 | 峰米(北京)科技有限公司 | A kind of automatization test system and method, a kind of storage medium of intelligent display terminal |
CN110674048A (en) * | 2019-09-27 | 2020-01-10 | 北京新氧科技有限公司 | Buried point test feature acquisition method and related device |
CN110851339A (en) * | 2019-10-12 | 2020-02-28 | 平安普惠企业管理有限公司 | Method and device for reporting buried point data, storage medium and terminal equipment |
CN110908879A (en) * | 2019-10-16 | 2020-03-24 | 平安普惠企业管理有限公司 | Method, device, terminal and storage medium for reporting buried point data |
CN110990255A (en) * | 2019-10-28 | 2020-04-10 | 贝壳技术有限公司 | Buried point testing method and server |
CN111090592A (en) * | 2019-12-20 | 2020-05-01 | 上海品顺信息科技有限公司 | Automatic testing method of buried point, terminal and readable storage medium |
CN111263215A (en) * | 2020-02-12 | 2020-06-09 | 湖南快乐阳光互动娱乐传媒有限公司 | Method and system for processing reported data of IPTV set top box |
CN111338933A (en) * | 2020-02-07 | 2020-06-26 | 北京每日优鲜电子商务有限公司 | Buried point verification method, device, equipment and storage medium |
CN111367814A (en) * | 2020-03-17 | 2020-07-03 | 深圳市前海随手数据服务有限公司 | Embedded point testing method and device, terminal equipment and storage medium |
CN111382071A (en) * | 2020-03-03 | 2020-07-07 | 北京九州云动科技有限公司 | User behavior data testing method and system |
CN111611140A (en) * | 2020-04-30 | 2020-09-01 | 广州华多网络科技有限公司 | Reporting verification method and device of buried point data, electronic equipment and storage medium |
CN111813655A (en) * | 2020-06-02 | 2020-10-23 | 广州多益网络股份有限公司 | Embedded point testing method and device, embedded point management system and storage medium |
CN111813693A (en) * | 2020-07-31 | 2020-10-23 | 南方科技大学 | Software compatibility detection method, intelligent terminal and storage medium |
CN112148618A (en) * | 2020-10-10 | 2020-12-29 | 北京达佳互联信息技术有限公司 | Buried point testing method and buried point testing platform |
CN112181821A (en) * | 2020-09-24 | 2021-01-05 | 浙江大搜车软件技术有限公司 | Interface test coverage detection method and device, electronic device and storage medium |
CN112445697A (en) * | 2019-09-03 | 2021-03-05 | 北京京东振世信息技术有限公司 | Method and apparatus for testing applications |
CN112749078A (en) * | 2019-10-31 | 2021-05-04 | 北京沃东天骏信息技术有限公司 | Buried point testing method and device |
CN112817816A (en) * | 2021-01-25 | 2021-05-18 | 微民保险代理有限公司 | Embedded point processing method and device, computer equipment and storage medium |
CN113010481A (en) * | 2021-03-18 | 2021-06-22 | 成都欧珀通信科技有限公司 | File capture method, device, terminal and storage medium |
CN113179195A (en) * | 2021-04-28 | 2021-07-27 | 重庆长安汽车股份有限公司 | CAN message embedded point detection method, system, device and computer readable storage medium |
CN113300912A (en) * | 2021-05-21 | 2021-08-24 | 湖南快乐阳光互动娱乐传媒有限公司 | Equipment testing method and device and electronic equipment |
CN114598930A (en) * | 2022-03-02 | 2022-06-07 | 湖南快乐阳光互动娱乐传媒有限公司 | Test method, test device, electronic equipment and computer storage medium |
CN115061888A (en) * | 2022-05-27 | 2022-09-16 | 上海鸿翼软件技术股份有限公司 | System point burying method for analyzing operation habits by computer |
CN116820992A (en) * | 2023-07-05 | 2023-09-29 | 上海灵动微电子股份有限公司 | Automatic testing method and system for embedded software |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180007175A1 (en) * | 2016-07-01 | 2018-01-04 | Mcafee, Inc. | Cloud Assisted Behavioral Automated Testing |
CN107688530A (en) * | 2017-04-06 | 2018-02-13 | 平安科技(深圳)有限公司 | Method for testing software and device |
CN107832216A (en) * | 2017-11-08 | 2018-03-23 | 无线生活(杭州)信息科技有限公司 | One kind buries a method of testing and device |
CN107832210A (en) * | 2017-10-27 | 2018-03-23 | 广州四三九九信息科技有限公司 | Access method of testing, device and a server are buried in daily record |
CN108491322A (en) * | 2018-03-06 | 2018-09-04 | 平安科技(深圳)有限公司 | Automated testing method, device and storage medium |
-
2019
- 2019-02-13 CN CN201910112770.8A patent/CN109960651A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180007175A1 (en) * | 2016-07-01 | 2018-01-04 | Mcafee, Inc. | Cloud Assisted Behavioral Automated Testing |
CN107688530A (en) * | 2017-04-06 | 2018-02-13 | 平安科技(深圳)有限公司 | Method for testing software and device |
CN107832210A (en) * | 2017-10-27 | 2018-03-23 | 广州四三九九信息科技有限公司 | Access method of testing, device and a server are buried in daily record |
CN107832216A (en) * | 2017-11-08 | 2018-03-23 | 无线生活(杭州)信息科技有限公司 | One kind buries a method of testing and device |
CN108491322A (en) * | 2018-03-06 | 2018-09-04 | 平安科技(深圳)有限公司 | Automated testing method, device and storage medium |
Non-Patent Citations (1)
Title |
---|
枣面包: ""网站用户行为日志采集和后台日志服务器搭建"", 《HTTPS://ZAOMIANBAO.BLOG.CSDN.NET/ARTICLE/DETAILS/80894827》 * |
Cited By (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110532141A (en) * | 2019-08-30 | 2019-12-03 | 峰米(北京)科技有限公司 | A kind of automatization test system and method, a kind of storage medium of intelligent display terminal |
CN112445697A (en) * | 2019-09-03 | 2021-03-05 | 北京京东振世信息技术有限公司 | Method and apparatus for testing applications |
CN110674048A (en) * | 2019-09-27 | 2020-01-10 | 北京新氧科技有限公司 | Buried point test feature acquisition method and related device |
CN110674048B (en) * | 2019-09-27 | 2023-09-22 | 北京新氧科技有限公司 | Buried point test characteristic acquisition method and related device |
CN110851339A (en) * | 2019-10-12 | 2020-02-28 | 平安普惠企业管理有限公司 | Method and device for reporting buried point data, storage medium and terminal equipment |
CN110908879B (en) * | 2019-10-16 | 2023-10-20 | 陕西合友网络科技有限公司 | Reporting method, reporting device, reporting terminal and recording medium of buried point data |
CN110908879A (en) * | 2019-10-16 | 2020-03-24 | 平安普惠企业管理有限公司 | Method, device, terminal and storage medium for reporting buried point data |
CN110990255A (en) * | 2019-10-28 | 2020-04-10 | 贝壳技术有限公司 | Buried point testing method and server |
CN110990255B (en) * | 2019-10-28 | 2023-07-04 | 贝壳技术有限公司 | Buried point testing method and server |
CN112749078A (en) * | 2019-10-31 | 2021-05-04 | 北京沃东天骏信息技术有限公司 | Buried point testing method and device |
CN111090592A (en) * | 2019-12-20 | 2020-05-01 | 上海品顺信息科技有限公司 | Automatic testing method of buried point, terminal and readable storage medium |
CN111338933A (en) * | 2020-02-07 | 2020-06-26 | 北京每日优鲜电子商务有限公司 | Buried point verification method, device, equipment and storage medium |
CN111263215A (en) * | 2020-02-12 | 2020-06-09 | 湖南快乐阳光互动娱乐传媒有限公司 | Method and system for processing reported data of IPTV set top box |
CN111382071A (en) * | 2020-03-03 | 2020-07-07 | 北京九州云动科技有限公司 | User behavior data testing method and system |
CN111367814A (en) * | 2020-03-17 | 2020-07-03 | 深圳市前海随手数据服务有限公司 | Embedded point testing method and device, terminal equipment and storage medium |
CN111611140A (en) * | 2020-04-30 | 2020-09-01 | 广州华多网络科技有限公司 | Reporting verification method and device of buried point data, electronic equipment and storage medium |
CN111611140B (en) * | 2020-04-30 | 2023-05-16 | 广州华多网络科技有限公司 | Report verification method and device for buried point data, electronic equipment and storage medium |
CN111813655A (en) * | 2020-06-02 | 2020-10-23 | 广州多益网络股份有限公司 | Embedded point testing method and device, embedded point management system and storage medium |
CN111813693A (en) * | 2020-07-31 | 2020-10-23 | 南方科技大学 | Software compatibility detection method, intelligent terminal and storage medium |
CN111813693B (en) * | 2020-07-31 | 2023-06-06 | 南方科技大学 | Software compatibility detection method, intelligent terminal and storage medium |
CN112181821A (en) * | 2020-09-24 | 2021-01-05 | 浙江大搜车软件技术有限公司 | Interface test coverage detection method and device, electronic device and storage medium |
CN112148618A (en) * | 2020-10-10 | 2020-12-29 | 北京达佳互联信息技术有限公司 | Buried point testing method and buried point testing platform |
CN112817816A (en) * | 2021-01-25 | 2021-05-18 | 微民保险代理有限公司 | Embedded point processing method and device, computer equipment and storage medium |
CN113010481A (en) * | 2021-03-18 | 2021-06-22 | 成都欧珀通信科技有限公司 | File capture method, device, terminal and storage medium |
CN113179195A (en) * | 2021-04-28 | 2021-07-27 | 重庆长安汽车股份有限公司 | CAN message embedded point detection method, system, device and computer readable storage medium |
CN113300912A (en) * | 2021-05-21 | 2021-08-24 | 湖南快乐阳光互动娱乐传媒有限公司 | Equipment testing method and device and electronic equipment |
CN114598930A (en) * | 2022-03-02 | 2022-06-07 | 湖南快乐阳光互动娱乐传媒有限公司 | Test method, test device, electronic equipment and computer storage medium |
CN115061888A (en) * | 2022-05-27 | 2022-09-16 | 上海鸿翼软件技术股份有限公司 | System point burying method for analyzing operation habits by computer |
CN116820992A (en) * | 2023-07-05 | 2023-09-29 | 上海灵动微电子股份有限公司 | Automatic testing method and system for embedded software |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109960651A (en) | Bury a test method, system, device and computer readable storage medium | |
CN110245213B (en) | Questionnaire generation method, device, equipment and storage medium | |
CN104572942A (en) | Push message display method and push message display device | |
JP2017504121A5 (en) | ||
JP2017504121A (en) | Measuring device of user behavior and participation using user interface in terminal device | |
CN107092555A (en) | A kind of method and system of test application program | |
CN105635266B (en) | Method, apparatus and terminal for reported data | |
CN112148579B (en) | User interface testing method and device | |
CN104066009A (en) | Method, device, terminal, server and system for program identification | |
CN106131133B (en) | Browsing history record information viewing method, device and system | |
CN107943683A (en) | A kind of test script generation method, device, electronic equipment and storage medium | |
CN105095081A (en) | Application program function testing method and device | |
CN111274131A (en) | Interface testing method and device, electronic equipment and storage medium | |
CN105446854B (en) | Consumption detection method, system and terminal | |
CN111078556B (en) | Application testing method and device | |
CN108365982A (en) | Unit exception adjustment method, device, equipment and storage medium | |
CN108196968A (en) | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium | |
CN114741292A (en) | Test script management method and device, electronic equipment and storage medium | |
CN110502444A (en) | A kind of test method and test device of image processing algorithm | |
CN106339452B (en) | Event response method and device | |
CN112016027A (en) | Method and device for monitoring access data operation platform | |
CN108255631A (en) | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium | |
CN112416751A (en) | Processing method and device for interface automation test and storage medium | |
CN111338971A (en) | Application testing method and device, electronic equipment and storage medium | |
CN109857660A (en) | Project measurement method, system, device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190702 |