CN108241577A - test method and device - Google Patents

test method and device Download PDF

Info

Publication number
CN108241577A
CN108241577A CN201611223478.6A CN201611223478A CN108241577A CN 108241577 A CN108241577 A CN 108241577A CN 201611223478 A CN201611223478 A CN 201611223478A CN 108241577 A CN108241577 A CN 108241577A
Authority
CN
China
Prior art keywords
test
data
tested
line
result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611223478.6A
Other languages
Chinese (zh)
Inventor
曹皓
张祥
孟振伟
齐志宏
刘利刚
覃安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201611223478.6A priority Critical patent/CN108241577A/en
Publication of CN108241577A publication Critical patent/CN108241577A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Abstract

This application discloses test methods and device.One specific embodiment of the method includes:Test instruction is received, above-mentioned test instruction includes:The mark of operation to be tested;According to above-mentioned mark, above-mentioned operation to be tested is performed to test data, obtains test result, above-mentioned test is included with data:The corresponding search result of query word stored in search engine;Generation includes the reference information of implementing result in above-mentioned test result and line, and implementing result includes on above-mentioned line:Operation to be tested that the search engine run on line performed test with data and above-mentioned belongs to result obtained from the operation of a type.The embodiment realizes operation to be tested and fast and efficiently tests.

Description

Test method and device
Technical field
This application involves information technology fields, and in particular to technical field of measurement and test more particularly to test method and device.
Background technology
With the continuous development of Internet technology, the network information is in explosive increase, how efficiently and accurately to be obtained desired Information become a huge challenge.Search engine technique comes into being, and collects information from internet first, then presses Information is presented to user on demand according to certain sort algorithm, how to allow user that can accurately and rapidly find information needed is The mission of search engine.Therefore, the implementation effect for how testing search engine becomes the technical issues of urgently to be resolved hurrily.
At this stage, search engine research staff can be tested search engine by offline searching system and be operated (for example, sequence Operation etc.) implementation effect, research staff is firstly the need of understanding offline searching system, and be configured and treat in offline searching system Then the relevant information of test operation is treated test operation and is tested.Data needed for test process come from the offline of unification Data service.Due to being limited by factors such as learning cost, off-line data service ability, off-line data service stabilities, entirely Test process is cumbersome, and efficiency is low.
Invention content
The purpose of the application is to propose a kind of test method and device, to solve the skill that background section above is mentioned Art problem.
In a first aspect, this application provides a kind of test method, the above method includes:Receive test instruction, above-mentioned test Instruction includes:The mark of operation to be tested;According to above-mentioned mark, above-mentioned operation to be tested is performed to test data, is surveyed Test result, above-mentioned test are included with data:The corresponding search result of query word stored in search engine;Generation includes above-mentioned survey The reference information of implementing result on test result and line, implementing result includes on above-mentioned line:The search engine run on line is to test Operation to be tested performed with data and above-mentioned belongs to result obtained from the operation of a type.
In some embodiments, before test instruction is received, the above method further includes:The search engine run on line Middle setting data collection point;The search engine run on line is obtained by data collection point to generate when retrieving query word Data, and the data of acquisition are stored as test with data.
In some embodiments, it is above-mentioned to store the data of acquisition as test with data, including:For each The data generated when the search engine run on line being used to retrieve the query word with inquiry mark are associated with and deposit by query word Storage, wherein, inquiry is identified as the unique mark that the search engine run on line is generated for each information retrieval operation.
In some embodiments, above-mentioned operation to be tested includes sorting operation, and above-mentioned test result includes:To search result The ranking results obtained after being ranked up.
In some embodiments, it is above-mentioned that above-mentioned operation to be tested is performed to test data, including:It is default dynamic by calling Application programming interface corresponding to the above-mentioned operation to be tested encapsulated in state chained library performs above-mentioned operation to be tested.
Second aspect, this application provides a kind of test device, above device includes:Receiving unit is tested for receiving Instruction, above-mentioned test instruction include:The mark of operation to be tested;Execution unit, for according to above-mentioned mark, to test data Above-mentioned operation to be tested is performed, obtains test result, above-mentioned test is included with data:The query word stored in search engine corresponds to Search result;Generation unit, for generating the reference information for including implementing result on above-mentioned test result and line, on above-mentioned line Implementing result includes:Operation to be tested that the search engine run on line performed test with data and above-mentioned belongs to one Result obtained from the operation of a type.
In some embodiments, above device further includes:Setting unit, for being set in the search engine that runs on line Data collection point;Acquiring unit is examined for obtaining the search engine run on line by data collection point to query word The data generated during rope, and the data of acquisition are stored as test with data.
In some embodiments, above-mentioned acquiring unit is further used for:For each query word, it will use and be run on line The data that generate when being retrieved to the query word of search engine and inquiry mark associated storage, wherein, inquiry is identified as line The unique mark that the search engine of upper operation is generated for each information retrieval operation.
In some embodiments, above-mentioned operation to be tested includes sorting operation, and above-mentioned test result includes:To search result The ranking results obtained after being ranked up.
In some embodiments, above-mentioned execution unit is further used for:Pass through what is encapsulated in the default dynamic link library of calling Application programming interface corresponding to above-mentioned operation to be tested performs above-mentioned operation to be tested.
The test method and device that the application provides perform test data according to the mark of operation to be tested to be tested Operation, obtains test result, and test includes the corresponding search result of query word stored in search engine with data, then generates The reference information of implementing result in test result and line is included, it is achieved thereby that operation to be tested is fast and efficiently tested.
Description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the flow chart according to one embodiment of the test method of the application;
Fig. 3 is to carry out data storage schematic diagram using the data store organisation of Sequence File;
Fig. 4 is the schematic diagram according to an application scenarios of the test method of the application;
Fig. 5 is the structure diagram according to one embodiment of the test device of the application;
Fig. 6 is adapted for the structural representation for realizing the terminal device of the embodiment of the present application or the computer system of server Figure.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention rather than the restriction to the invention.It also should be noted that in order to Convenient for description, illustrated only in attached drawing and invent relevant part with related.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the exemplary system architecture that can apply the test method of the application or the embodiment of test device 100。
As shown in Figure 1, system architecture 100 can include terminal device 101,102,103, network 104 and server 105, Wherein it is possible to including single server 105, multiple servers 105 can also be included.Network 104 to terminal device 101, The 102nd, the medium of communication link is provided between 103 and server 105.Network 104 can include various connection types, such as have Line, wireless communication link or fiber optic cables etc..
User can be interacted with using terminal equipment 101,102,103 by network 104 with server 105, to receive or send out Send message etc..Various telecommunication customer end applications can be installed, such as web browser should on terminal device 101,102,103 With, shopping class application, searching class application, instant messaging tools, mailbox client, social platform software etc..
Terminal device 101,102,103 can be the various electronic equipments for having display screen, including but not limited to intelligent hand Machine, tablet computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, pocket computer on knee and desktop computer etc. Deng.
Server 105 can be to provide the server of various services, such as sent according to terminal device 101,102,103 Test instruction provide testing service background server, background server can according to the mark of operation to be tested received, Test data are performed with operation to be tested, and by generation, the reference information comprising test result and implementing result on line it is anti- It feeds terminal device.
It should be noted that the test method that the embodiment of the present application is provided generally is performed by server 105, correspondingly, Test device is generally positioned in server 105.
It should be understood that the number of the terminal device, network and server in Fig. 1 is only schematical.According to realization need Will, can have any number of terminal device, network and server.
With continued reference to Fig. 2, the flow 200 of one embodiment of test method according to the application is shown.The survey Method for testing includes the following steps:
Step 201, test instruction is received.
In the present embodiment, test method operation electronic equipment (such as server 105 shown in FIG. 1) thereon can be with Test is received by wired connection mode or radio connection using the terminal device of its transmission test instruction from user to refer to It enables, wherein, above-mentioned test can include the mark of operation to be tested in instructing, above-mentioned operation to be tested can refer to that user wants Test its implementation effect, with the relevant various types of operations of search engine, for example, web crawling operation, webpage and inquiry Word relatedness computation operation, webpage sorting operation etc..The mark of above-mentioned operation to be tested can be used for identifying behaviour to be tested The type of work.Herein, above-mentioned user can refer to the research staff or tester that are tested the operation of search engine. It should be pointed out that above-mentioned radio connection can include but is not limited to 3G/4G connections, WiFi connections, bluetooth connection, WiMAX connections, Zigbee connections, UWB (ultra wideband) connections and other it is currently known or in the future exploitation it is wireless Connection mode.
In some optional realization methods of the present embodiment, before step 201, following steps can also be performed:It is first First, data collection point is set in the search engine run on line, wherein, setting data collection point can refer to be used to implement In the code insertion search engine of the data acquisition function and relevant position of data transmission, in this way, data collection point can refer to The above-mentioned code for being used to implement data acquisition function being inserted into a search engine, with the relevant position of data transmission, can be with It sets by various modes, for example, can realize that data are adopted by way of in the search engine run on line bury a little Collect the setting of point;Then, the search engine run on line is obtained by data collection point to generate when retrieving query word Data, and the data of acquisition are stored as test with data.In general, it can be needed according to practical data acquisition pre- Setting is used for the data collection point of gathered data in the search engine first run on line, when the network user passes through the search engine When carrying out the retrieval of query word, the data collection point of setting can carry out the acquisition of data.With above-mentioned operation to be tested for webpage For sorting operation, it can obtain what is generated when the search engine run on line retrieves query word by data collection point Relevant data are operated with webpage sorting, for example, query (query word) analyzes data, the positive number of rows evidence for recalling webpage, searches for and draw Hold up data (for example, cookie data, session data etc.) of front end generation etc..
It is above-mentioned to store the data of acquisition as test with data in some optional realization methods, Ke Yitong Cross in the following manner realization:For each query word, when will use the search engine run on line to retrieve the query word The data of generation and inquiry mark associated storage, wherein, inquiry is identified as the search engine run on line and is directed to each information The unique mark of search operaqtion generation.For the network user when search engine is used to carry out search operaqtion, search engine can be directed to this One unique mark of secondary operation generation, this unique mark are to inquire mark (inquiry ID).Herein, the data of associated storage It can be stored using various data memory formats, for example, the data using Sequence File (sequential file) store knot Structure is stored, as an example, Fig. 3 shows that the webpage sorting operation related data for acquiring data collection point is identified with inquiry The schematic diagram stored using the data store organisation of Sequence File, wherein, a length of information retrieval behaviour of search key Make the length of corresponding search key, the length of a length of the stored data of value, wherein, query analysis data etc. can be It is collected by multiple data collection points, the data that individual data collection point acquires can be known as subvalue, subvalue is a length of The length of subvalue.It should be noted that the data store organisation for illustrating Sequence File of being given for example only property of Fig. 3, not The content stored is defined.
Step 202, according to mark, operation to be tested is performed to test data, obtains test result.
In the present embodiment, the mark of operation to be tested that above-mentioned electronic equipment can be received according to step 201, to surveying Data on probation perform operation to be tested, so as to obtain test result, wherein, above-mentioned test data can include in search engine The corresponding search result of query word of storage.Herein, can above-mentioned electronic equipment be set according to the data volume of test data Quantity, for example, when the data volume that test data are included is larger, more above-mentioned electronic equipments can be set, and to more The test stored in the above-mentioned electronic equipment of platform performs operation to be tested with data parallel, it is achieved thereby that the batch of test data Processing is conducive to improve the testing efficiency and stability of test.
In some optional realization methods of the present embodiment, above-mentioned operation to be tested can include sorting operation, above-mentioned Test result includes:The ranking results obtained after being ranked up to search result.The search engine run on line can be according to net Network query word input by user is scanned for from index data base, so as to obtain the multiple webpage conducts to match with the query word Search result.When above-mentioned operation to be tested is sorting operation, above-mentioned test result can refer to what is pair matched with query word The ranking results that multiple webpages obtain after being ranked up.
In some optional realization methods of the present embodiment, it is above-mentioned above-mentioned operation to be tested is performed to test data can To specifically include:Above-mentioned electronic equipment can be preset by calling corresponding to the above-mentioned operation to be tested encapsulated in dynamic link library Application programming interface perform above-mentioned operation to be tested.It, can be by setting dynamic link library in this realization method Mode realizes operation to be tested and the decoupling of test searching system, when research staff or tester are wanted to newly developed Search engine operation is when being tested, only need to in dynamic link library, the function that is used to implement the operation modify, greatly Learning cost is reduced greatly, makes test process simpler, quick.
Step 203, reference information of the generation comprising test result with implementing result on line.
In the present embodiment, above-mentioned electronic equipment can generate the reference for including implementing result in above-mentioned test result and line Information, wherein, implementing result can include on above-mentioned line:It is that the search engine run on line performed test with data, with Above-mentioned operation to be tested belongs to result obtained from the operation of a type.Above-mentioned electronic equipment can believe the reference of generation Breath is sent to above-mentioned terminal device used by a user, and shown by terminal device, so that the more above-mentioned test knot of user Whether fruit is better than implementing result on above-mentioned line.
With continued reference to Fig. 4, Fig. 4 is a schematic diagram according to the application scenarios of the test method of the present embodiment.Fig. 4's In application scenarios, server 402 receives test instruction by step S1 from user terminal used in research staff 401 first, Wherein, test instruction includes the mark of webpage sorting operation;Later, by step S2, server 402 can be to test number According to webpage sorting operation is performed, test result is obtained, wherein, test can include the query word stored in search engine with data Corresponding search result, test result can include the ranking results obtained after being ranked up to search result;Then, pass through step Rapid S3, server 402 can generate the reference information for including implementing result in test result and line;Finally, pass through step S4, clothes The reference information that step S3 is generated can be sent to user terminal 401 by business device 402, and research and development people is presented to by user terminal 401 Member.
The method that above-described embodiment of the application provides performs test data by the mark of operation to be tested to be measured Examination operation obtains test result, and generates the reference information comprising test result with implementing result on line, it is achieved thereby that be measured Examination operation is fast and efficiently tested.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of test devices One embodiment, the device embodiment is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to various electricity In sub- equipment.
As shown in figure 5, the test device 500 described in the present embodiment includes:Receiving unit 501, execution unit 502 and generation Unit 503.Wherein, for receiving test instruction, above-mentioned test instruction includes receiving unit 501:The mark of operation to be tested;It holds Row unit 502 is used for according to above-mentioned mark, is performed above-mentioned operation to be tested to test data, is obtained test result, above-mentioned survey Data on probation include:The corresponding search result of query word stored in search engine;Generation unit 503 is for generation comprising above-mentioned The reference information of implementing result on test result and line, implementing result includes on above-mentioned line:The search engine run on line is to surveying Operation to be tested that data on probation performed and above-mentioned belongs to result obtained from the operation of a type.
In the present embodiment, the specific processing of receiving unit 501, execution unit 502 and generation unit 503 can be with reference chart The detailed description of 2 corresponding embodiment steps 201, step 202 and step 203, details are not described herein.
In some optional realization methods of the present embodiment, above device 500 further includes:Setting unit (not shown), For setting data collection point in the search engine that runs on line;Acquiring unit (not shown), for passing through data collection point The data that the search engine run on line is generated when being retrieved to query word are obtained, and are used the data of acquisition as test Data are stored.The realization method can refer to the detailed description of corresponding realization method in above-mentioned Fig. 2 corresponding embodiments, herein not It repeats again.
In some optional realization methods of the present embodiment, above-mentioned acquiring unit is further used for:Each is looked into Word is ask, the data generated when the search engine run on line being used to retrieve the query word with inquiry mark are associated with and are deposited Storage, wherein, inquiry is identified as the unique mark that the search engine run on line is generated for each information retrieval operation.The reality Existing mode can refer to the detailed description of corresponding realization method in above-mentioned Fig. 2 corresponding embodiments, and details are not described herein.
In some optional realization methods of the present embodiment, above-mentioned operation to be tested includes sorting operation, above-mentioned test As a result include:The ranking results obtained after being ranked up to search result.The realization method can refer to above-mentioned Fig. 2 corresponding embodiments In corresponding realization method detailed description, details are not described herein.
In some optional realization methods of the present embodiment, above-mentioned execution unit 502 is further used for:It is pre- by calling If the application programming interface corresponding to the above-mentioned operation to be tested encapsulated in dynamic link library performs above-mentioned operation to be tested. The realization method can refer to the detailed description of corresponding realization method in above-mentioned Fig. 2 corresponding embodiments, and details are not described herein.
Below with reference to Fig. 6, it illustrates suitable for being used for realizing the calculating of the terminal device of the embodiment of the present application or server The structure diagram of machine system 600.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into program in random access storage device (RAM) 603 from storage section 608 and Perform various appropriate actions and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
I/O interfaces 605 are connected to lower component:Importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loud speaker etc.;Storage section 608 including hard disk etc.; And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net performs communication process.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on driver 610, as needed in order to be read from thereon Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product, it is machine readable including being tangibly embodied in Computer program on medium, the computer program are included for the program code of the method shown in execution flow chart.At this In the embodiment of sample, which can be downloaded and installed from network by communications portion 609 and/or from removable Medium 611 is unloaded to be mounted.When the computer program is performed by central processing unit (CPU) 601, perform in the present processes The above-mentioned function of limiting.
Flow chart and block diagram in attached drawing, it is illustrated that according to the system of the various embodiments of the application, method and computer journey Architectural framework in the cards, function and the operation of sequence product.In this regard, each box in flow chart or block diagram can generation The part of one module of table, program segment or code, a part for the module, program segment or code include one or more The executable instruction of logic function as defined in being used to implement.It should also be noted that in some implementations as replacements, institute in box The function of mark can also be occurred with being different from the sequence marked in attached drawing.For example, two boxes succeedingly represented are practical On can perform substantially in parallel, they can also be performed in the opposite order sometimes, this is depended on the functions involved.Also It is noted that the combination of each box in block diagram and/or flow chart and the box in block diagram and/or flow chart, Ke Yiyong The dedicated hardware based systems of functions or operations as defined in execution is realized or can be referred to specialized hardware and computer The combination of order is realized.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit can also be set in the processor, for example, can be described as:A kind of processor packet Include receiving unit, execution unit and generation unit.Wherein, the title of these units is not formed under certain conditions to the unit The restriction of itself, for example, receiving unit is also described as " unit for receiving test instruction ".
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, the non-volatile calculating Machine storage medium can be nonvolatile computer storage media included in device described in above-described embodiment;Can also be Individualism, without the nonvolatile computer storage media in supplying terminal.Above-mentioned nonvolatile computer storage media is deposited One or more program is contained, when one or more of programs are performed by an equipment so that the equipment:It receives Test instruction, the test instruction include:The mark of operation to be tested;According to the mark, to test described in data perform Operation to be tested, obtains test result, and the test is included with data:The corresponding search knot of query word stored in search engine Fruit;Generation includes the reference information of implementing result in the test result and line, and implementing result includes on the line:It is run on line Search engine test was performed with data, with the operation to be tested belong to knot obtained from the operation of a type Fruit.
The preferred embodiment and the explanation to institute's application technology principle that above description is only the application.People in the art Member should be appreciated that invention scope involved in the application, however it is not limited to the technology that the specific combination of above-mentioned technical characteristic forms Scheme, while should also cover in the case where not departing from the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature The other technical solutions for arbitrarily combining and being formed.Such as features described above has similar work(with (but not limited to) disclosed herein The technical solution that the technical characteristic of energy is replaced mutually and formed.

Claims (10)

1. a kind of test method, which is characterized in that the method includes:
Test instruction is received, the test instruction includes:The mark of operation to be tested;
According to the mark, the operation to be tested is performed to test data, obtains test result, the test data packet It includes:The corresponding search result of query word stored in search engine;
Generation includes the reference information of implementing result in the test result and line, and implementing result includes on the line:It is transported on line Operation to be tested that capable search engine performed test with data and described is belonged to obtained from the operation of a type As a result.
2. according to the method described in claim 1, it is characterized in that, before test instruction is received, the method further includes:
Data collection point is set in the search engine run on line;
The data generated by the search engine run on data collection point acquisition line when being retrieved to query word, and will obtain The data taken are stored as test with data.
3. according to the method described in claim 2, it is characterized in that, described deposit the data of acquisition as test with data Storage, including:
For each query word, by the data generated when the search engine run on line being used to retrieve the query word with Inquiry mark associated storage, wherein, inquiry is identified as the search engine run on line and is generated for each information retrieval operation Unique mark.
4. according to the method described in claim 1, it is characterized in that, the operation to be tested includes sorting operation, the test As a result include:The ranking results obtained after being ranked up to search result.
5. according to the method described in claim 1, it is characterized in that, described pair of test performs the operation to be tested with data, Including:
The application programming interface corresponding to the operation to be tested encapsulated in dynamic link library is preset by calling to perform The operation to be tested.
6. a kind of test device, which is characterized in that described device includes:
Receiving unit, for receiving test instruction, the test instruction includes:The mark of operation to be tested;
Execution unit, for according to the mark, performing the operation to be tested to test data, obtaining test result, institute Test is stated with data to be included:The corresponding search result of query word stored in search engine;
For generating the reference information comprising the test result with implementing result on line, knot is performed on the line for generation unit Fruit includes:Operation to be tested that the search engine run on line performed test with data and described belongs to a type Operation obtained from result.
7. device according to claim 6, which is characterized in that described device further includes:
Setting unit, for setting data collection point in the search engine that runs on line;
Acquiring unit generates for obtaining the search engine run on line by data collection point when being retrieved to query word Data, and the data of acquisition are stored as test with data.
8. device according to claim 7, which is characterized in that the acquiring unit is further used for:
For each query word, by the data generated when the search engine run on line being used to retrieve the query word with Inquiry mark associated storage, wherein, inquiry is identified as the search engine run on line and is generated for each information retrieval operation Unique mark.
9. device according to claim 6, which is characterized in that the operation to be tested includes sorting operation, the test As a result include:The ranking results obtained after being ranked up to search result.
10. device according to claim 6, which is characterized in that the execution unit is further used for:
The application programming interface corresponding to the operation to be tested encapsulated in dynamic link library is preset by calling to perform The operation to be tested.
CN201611223478.6A 2016-12-27 2016-12-27 test method and device Pending CN108241577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611223478.6A CN108241577A (en) 2016-12-27 2016-12-27 test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611223478.6A CN108241577A (en) 2016-12-27 2016-12-27 test method and device

Publications (1)

Publication Number Publication Date
CN108241577A true CN108241577A (en) 2018-07-03

Family

ID=62702133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611223478.6A Pending CN108241577A (en) 2016-12-27 2016-12-27 test method and device

Country Status (1)

Country Link
CN (1) CN108241577A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614326A (en) * 2018-12-05 2019-04-12 广东小天才科技有限公司 A kind of test method and server of searching algorithm

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662826A (en) * 2012-03-02 2012-09-12 百度在线网络技术(北京)有限公司 Test guiding method and system and test proxy server
CN103984624A (en) * 2014-04-29 2014-08-13 北京京东尚科信息技术有限公司 Automatic testing method and system for webpage
CN104199767A (en) * 2014-08-19 2014-12-10 北京金山安全软件有限公司 Test method and device
US20150363299A1 (en) * 2014-06-13 2015-12-17 International Business Machines Corporation Performance testing of software applications
CN105515883A (en) * 2014-09-22 2016-04-20 阿里巴巴集团控股有限公司 Test method and system
US20160350202A1 (en) * 2013-12-19 2016-12-01 Tencent Technology (Shenzhen) Company Limited Method and apparatus for finding bugs in computer program codes

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662826A (en) * 2012-03-02 2012-09-12 百度在线网络技术(北京)有限公司 Test guiding method and system and test proxy server
US20160350202A1 (en) * 2013-12-19 2016-12-01 Tencent Technology (Shenzhen) Company Limited Method and apparatus for finding bugs in computer program codes
CN103984624A (en) * 2014-04-29 2014-08-13 北京京东尚科信息技术有限公司 Automatic testing method and system for webpage
US20150363299A1 (en) * 2014-06-13 2015-12-17 International Business Machines Corporation Performance testing of software applications
CN104199767A (en) * 2014-08-19 2014-12-10 北京金山安全软件有限公司 Test method and device
CN105515883A (en) * 2014-09-22 2016-04-20 阿里巴巴集团控股有限公司 Test method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
穆安民: "《科技文献检索实用教程》", 31 March 2015, 重庆大学出版社 *
许世卫: "《农业信息科技进展与前沿》", 31 October 2007, 中国农业出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614326A (en) * 2018-12-05 2019-04-12 广东小天才科技有限公司 A kind of test method and server of searching algorithm

Similar Documents

Publication Publication Date Title
CN108153901A (en) The information-pushing method and device of knowledge based collection of illustrative plates
CN105187237B (en) The method and apparatus for searching associated user identifier
CN108459953A (en) test method and device
CN107105031A (en) Information-pushing method and device
CN105574092B (en) Information mining method and device
CN107818118B (en) Date storage method and device
WO2012030411A1 (en) Method for classification of objects in a graph data stream
CN113987074A (en) Distributed service full-link monitoring method and device, electronic equipment and storage medium
CN106484766B (en) Searching method and device based on artificial intelligence
CN109976997A (en) Test method and device
CN109815105A (en) Applied program testing method and device based on Btrace
CN107885873A (en) Method and apparatus for output information
CN108287927A (en) Method and device for obtaining information
CN108536867A (en) Method and apparatus for generating information
CN109376534A (en) Method and apparatus for detecting application
CN110334059A (en) Method and apparatus for handling file
CN107704357B (en) Log generation method and device
CN109885564A (en) Method and apparatus for sending information
CN113360376A (en) Buried point testing method and device
CN109635923A (en) Method and apparatus for handling data
CN111488386B (en) Data query method and device
CN108241577A (en) test method and device
CN109857661B (en) Method and system for intelligently generating test cases based on big data analysis
CN109408279A (en) Data back up method and device
CN111813685A (en) Automatic testing method and device

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: 20180703