CN109299015A - A kind of method for testing software, apparatus and system - Google Patents

A kind of method for testing software, apparatus and system Download PDF

Info

Publication number
CN109299015A
CN109299015A CN201811197316.9A CN201811197316A CN109299015A CN 109299015 A CN109299015 A CN 109299015A CN 201811197316 A CN201811197316 A CN 201811197316A CN 109299015 A CN109299015 A CN 109299015A
Authority
CN
China
Prior art keywords
test
software
audit
server
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811197316.9A
Other languages
Chinese (zh)
Other versions
CN109299015B (en
Inventor
蒋晓海
庞佳琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Testin Information Technology Co Ltd
Original Assignee
Beijing Cloud Measurement Network 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 Cloud Measurement Network Technology Co Ltd filed Critical Beijing Cloud Measurement Network Technology Co Ltd
Priority to CN201811197316.9A priority Critical patent/CN109299015B/en
Publication of CN109299015A publication Critical patent/CN109299015A/en
Application granted granted Critical
Publication of CN109299015B publication Critical patent/CN109299015B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

This application discloses a kind of method for testing software, apparatus and system.Method includes: to send access request to server, and the access request includes the mark of test assignment;The test data corresponding with the mark of the test assignment that the server returns are received, for being tested with data the corresponding software of the test assignment based on the test;It determines the test report of the software and is uploaded to the server.The application allows to carry out part or all of software test task on mobile terminals, to expand the scope of application of software test task, improves Efficiency of Software Testing.

Description

A kind of method for testing software, apparatus and system
Technical field
This application involves field of computer technology more particularly to a kind of method for testing software, apparatus and system.
Background technique
Software test, which refers to, under the defined conditions operates program, to find program error, measures software quality, And whether the process that design requirement is assessed is able to satisfy to it.
Currently, the processes such as the relevant registration of software test, submission test report all rely on personal computer Realize that limitation is larger in the end (personal computer, PC).
Accordingly, it is desirable to provide a kind of more quick software test scheme.
Summary of the invention
This specification embodiment provides a kind of method for testing software, for realizing part or all of software on mobile terminals Test assignment improves Efficiency of Software Testing to expand the scope of application of software test task.
In a first aspect, this specification embodiment also provides a kind of test method, comprising:
Access request is sent to server, includes the mark of test assignment in the access request;
The test data corresponding with the mark of the test assignment that the server returns are received, for being based on institute It states test and the corresponding software of the test assignment is tested with data.
Optionally, before sending access request to server, further includes:
Logging request is sent to the server, the logging request carries the identity characteristic of user;
It receives the corresponding test assignment collection of the identity characteristic that the server returns and merges displaying.
Optionally, further includes:
Application request is sent to the server, the application request carries the identity characteristic of the user and the survey of application Try task identification.
Optionally, test data are the download link of the software, then method further include:
Based on the download link, download and install the software on the mobile terminal, for the software into Row test.
Optionally, the test report for determining the software includes:
Obtain the test report of the test assignment of other terminals submission;
The test result of the test report and the mobile terminal submitted based on other terminals, generates the test of the software Report.
Optionally, the test report includes test document and test documentary evidence, and the test documentary evidence is for demonstrate,proving The authenticity of the bright test document.
Second aspect, this specification embodiment also provide a kind of method for testing software, comprising:
Access request is sent to server, includes the mark of audit task in the access request;
The audit data corresponding with the mark of the audit task that the server returns are received, for based on careful Core audits task, the audit related data that data are that the side of test carries out software test described in data processing;
It determines the auditing result of the audit task and is uploaded to the server.
Optionally, the audit task includes: registration audit task;The audit data include that the identity of tester is special The test assignment mark that the tester that seeks peace applies;
Wherein, processing audit task includes:
The require information of the test assignment of tester's application is determined, for being based on the require information and the identity Feature, determines whether the tester has the qualification for executing the test assignment.
Optionally, the audit task includes: test report audit task;The audit data include test assignment Test report, the test report include: test document and test documentary evidence;
Wherein, processing audit task includes:
Based on the test documentary evidence, whether effective the test document is audited.
The third aspect, this specification embodiment also provide a kind of software testing device, comprising:
Sending module includes the mark of test assignment in the access request for sending access request to server;
Receiving module, the test number corresponding with the mark of the test assignment returned for receiving the server According to for being tested with data the corresponding software of the test assignment based on the test;
Determining module, for determining the test report of the software and being uploaded to the server.
Optionally, the sending module, is also used to:
Logging request is sent to the server, the logging request carries the identity characteristic of user;Receive the service The corresponding test assignment collection of the identity characteristic that device returns, which merges, to be shown.
Optionally, the sending module, is also used to:
Application request is sent to the server, the application request carries the identity characteristic of the user and the survey of application Try task identification.
Optionally, test data are the download link of the software, then device further include:
Downloading installation module, for downloading and installing the software on the mobile terminal based on the download link, For testing the software.
Optionally, determining module is specifically used for:
Obtain the test report of the test assignment of other terminals submission;Based on other terminals submit test report and The test result of the mobile terminal generates the test report of the software.
Optionally, the test report includes test document and test documentary evidence, and the test documentary evidence is for demonstrate,proving The authenticity of the bright test document.
Fourth aspect, this specification embodiment also provide a kind of software testing device, comprising:
Sending module includes the mark of audit task in the access request for sending access request to server;
Receiving module, the audit number corresponding with the mark of the audit task returned for receiving the server According to for auditing task, the audit phase that data are that the side of test carries out software test described in data processing based on audit Close data;
Determining module, for determining the auditing result of the audit task and being uploaded to the server.
Optionally, the audit task includes: registration audit task;The audit data include that the identity of tester is special The test assignment mark that the tester that seeks peace applies;
Wherein, device further include:
Processing module, the require information of the test assignment for determining tester's application, for being based on the requirement Information and the identity characteristic, determine whether the tester has the qualification for executing the test assignment.
Optionally, the audit task includes: test report audit task;The audit data include test assignment Test report, the test report include: test document and test documentary evidence;
Wherein, processing module is also used to:
Based on the test documentary evidence, whether effective the test document is audited.
5th aspect, this specification embodiment also provide a kind of software testing system, comprising: test side's terminal, audit side Terminal and server, in which:
Test side's terminal, for the step of executing method for testing software as described in relation to the first aspect;
Audit side's terminal, for the step of executing the method for testing software as described in second aspect;
Server, the access request for responding test side's terminal or audit side's terminal return to the identity of user The corresponding data of feature.
This specification embodiment use at least one above-mentioned technical solution can reach it is following the utility model has the advantages that
It by the application interface being applied on mobile terminal, interacts with server, is corresponded to so that associated user accesses Test data or audit data, and then execute test or review operations.Compared with prior art, the present invention allows user Part or all of software test task is carried out on mobile terminals, can effectively be expanded the scope of application of software test task, be mentioned High Efficiency of Software Testing.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is a kind of schematic diagram of application scenarios provided by the present application;
Fig. 2 is a kind of flow diagram for method for testing software that one embodiment of the application provides;
Fig. 3 is the schematic diagram that the test assignment that one embodiment of the application provides shows interface;
Fig. 4 is a kind of flow diagram for method for testing software that another embodiment of the application provides;
Fig. 5 is a kind of flow diagram for method for testing software that the another embodiment of the application provides;
Fig. 6 is a kind of structural schematic diagram for software testing device that one embodiment of the application provides;
Fig. 7 is a kind of structural schematic diagram for software testing device that one embodiment of the application provides;
Fig. 8 is the structural schematic diagram for a kind of electronic equipment that one embodiment of the application provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
As background technology part statement, current test assignment registration, software installation etc., BUG retrieval is submitted, is examined Core etc. has relied on the end PC, and in fast-developing mobile internet era, user is wanted using the frequency of mobile communication equipment The significantly larger than end PC, therefore, existing scheme have very big limitation to the Experience of Software Testing Work of user.
Based on this, the present invention provides a kind of method for testing software, by the application interface in suitable for movable terminal, with service Device interacts, and so that associated user accesses corresponding test data or audit data, and then executes test or audit behaviour Make.Compared with prior art, the present invention allows user to carry out part or all of software test task, Neng Gouyou on mobile terminals Effect expands the scope of application of software test task, improves Efficiency of Software Testing.
Wherein, application interface can be the small routine interface on mobile terminal, or install on mobile terminals The interface of application, i.e. this method can be applied to the small routine on mobile terminal, can also using with installation answering on mobile terminals With;Test assignment includes: one or more of Bug exploration, use-case execution, case designing;Mobile terminal is named mobile logical Letter terminal refers to that the computer equipment that can be used on the move, broad sense are said including mobile phone, notebook, tablet computer, POS machine It even include vehicle-mounted computer.But refer to mobile phone or smart phone with a variety of application functions and flat in most cases Plate computer.
Application scenarios of the invention are illustrated referring to Fig. 1.
It include: test side's terminal 110, audit side's terminal 120 and server 130 in the application scenarios, in which:
Test side's terminal 110 is used to initiate read access request to server 130 for the mobile terminal of test side, to read Test assignment in test side's permission, comprising: the test assignment that can sign up for, ongoing test assignment etc.;To service Device 130 initiates write access request, the test report of test assignment is written;
Audit side's terminal 120 is used to initiate read access request to server 130 for the mobile terminal of audit side, to read Test assignment in audit side's permission, comprising: the test report etc. that the registration request of audit test side, audit audit side are submitted Deng;Write access request is initiated to server 130, auditing result is written;
Server 130 returns corresponding for the read access request of response test side's terminal 110 and audit side's terminal 120 Test assignment/audit task;Alternatively, the write access request of response test side's terminal 110 and audit side's terminal 120, record test Test report, the auditing result etc. that square terminal 110 and audit side's terminal 120 are written.
Below in conjunction with attached drawing, the technical scheme provided by various embodiments of the present application will be described in detail.
Fig. 2 is a kind of flow diagram for method for testing software that one embodiment of this specification provides, and this method can be by Fig. 1 In test side's terminal execute, referring to Fig. 1, can specifically include following steps:
Step 220 sends access request to server, includes the mark of test assignment in the access request;
Wherein, test assignment mark can be the mark for the test assignment that test side selects.
It is understandable to be, before step 220, further includes: registration-login-registration step specifically can be exemplified are as follows:
Registration step: test side initiates registration request by test side's terminal to server, carries test in registration request The identity information of side and the role for wishing registration, such as: test job experience, related documentary evidence etc.;
Server generates a registration audit task, so that the identity information of audit test side of audit side and the role of registration are wanted Seeking Truth is no to match, if so, succeeding in registration;Otherwise, registration failure.
Login step: server described in measurement direction sends logging request, and the logging request carries the body of user's registration Part feature;It receives the corresponding test assignment collection of the identity characteristic that the server returns and merges displaying.
Wherein, the identity characteristic of user can be the account information of registration, for showing user identity.It is understandable It is that, if user role is test side, what server returned is test assignment set;If user role is audit side, service What device returned is audit set of tasks.
In conjunction with Fig. 3, is shown in interface based on the test assignment that the data that server returns generate and show have: task type, Task status and exemplary multiple test assignments.Wherein, task type may include: BUG search, use-case executes and use-case Design;Task status includes: that may participate in, be neutralized and terminated;
Based on this, test, which can understand, views each test assignment and its state signed up in person, and I can Each test assignment and its state of registration, so that test side is signed up with.Wherein, the task 3 in the recruitment in Fig. 3 and appoint Business 5 is regarded as testing the task for the parameter that can register.
It signs up with step: sending application request to the server, the application request carries the identity of the user Feature and the test assignment of application mark;
Server generates a registration audit task, so that the identity information of audit test side of audit side and the test of registration are appointed Business requires whether match, if so, registering successfully;Otherwise, registration failure.
Wherein, the test assignment of application is that test side appoints from the test in recruiting that test assignment shows that interface is chosen Business.
Based on above-mentioned registration-login-registration step, test can execute above-mentioned steps 220, be responsible for requesting access to me Certain test assignment related data.
Step 240 receives the test data corresponding with the mark of the test assignment that the server returns, with For being tested based on the test data the corresponding software of the test assignment;
Wherein, test data can be the software download link, downloading can be two dimensional code, network address etc., then Method further include:
Based on the download link, download and install the software on the mobile terminal, for the software into Row test.
Based on this, the present embodiment can directly by software installation to be tested in the terminal, and in the prior art, the end PC It downloads the installation kit of software to be tested and is transferred to the scheme that mobile terminal is installed and compare, software test effect can be effectively improved Rate.
Step 260, the test report for determining the software are simultaneously uploaded to the server.A kind of its implementation can be with Are as follows:
S1, the test report for obtaining the test assignment that other terminals are submitted;
Wherein, test report includes test document and test documentary evidence, and the test documentary evidence is described for proving The authenticity of test document.Test document refers to the process of the document that test and result are write as, for discovery the problem of and Defect is analyzed, and provides foundation to correct the existing quality problems of software, while laying the foundation for software acceptance and delivery; Test documentary evidence refer to the picture acquired in test process, video etc. for prove perform entire test process and test The file of the BUG occurred in the process.
The test result of S2, the test report and the mobile terminal submitted based on other terminals, generate the software Test report.
Wherein, other terminals can be the other kinds of terminal of same user, such as: the PC in addition to the mobile terminal End;Or the terminal devices such as other users mobile terminal, the end PC for using.
For the former: since test side may submit a test report in other terminals such as end PC, the test report Part bug is already contained in announcement, therefore, in order to avoid this test report carries the bug retransmitted, is generating test report When, this implementation also further synchronizes the bug from the test report that other terminals are submitted, and occurs from this test result The test report rejecting the bug having been filed in bug, and then being optimized.
By taking the latter as an example: the test side for participating in the test assignment may not be unique, and each test side tests obtained test report Announcement may also be not quite similar, and therefore, before test report is sent to server, can first obtain other test sides in terminal side Test report, and the test report based on other test sides optimizes the test report that this test is just measured.Such as: detect it There are the bug that this test Fang Wei is measured in the test report of his side of test, then issue prompting, to remind this test policy to for survey Bug out is tested and is verified whether be implicitly present in the bug not measured, is tested if so, the bug not measured is written In report;Another example is: be not present in the test report of this test side there are the test report of other test sides of predetermined accounting Bug then issues prompting, just verifies whether the bug is implicitly present in provide this test.
As it can be seen that the present embodiment connecing by the application of small routine interface or installation on mobile terminals on mobile terminal Mouthful, it is interacted with server, so that test side accesses corresponding test data, and then executes test operation.With existing skill Art is compared, and the present invention allows user to carry out part or all of software test inter-related task on mobile terminals, and then can be effective Expand the scope of application of software test inter-related task, improves Efficiency of Software Testing.
Fig. 4 is the flow diagram of a kind of method for testing software that another embodiment of this specification provides, and this method can be by Audit side's terminal in Fig. 1 executes, and referring to fig. 4, can specifically include following steps:
Step 420 sends access request to server, includes the mark of audit task in the access request;
It is understandable to be, before executing step 420, the method also includes: registration-login-registration and etc.;By It is similar to registration-login-registration of test side in the step, therefore, details are not described herein again.
Step 440 receives the audit data corresponding with the mark of the audit task that the server returns, with For being based on auditing task, the audit dependency number that data are that the side of test carries out software test described in audit data processing According to;
Step 460, the auditing result for determining the audit task are simultaneously uploaded to the server.
Wherein, audit task includes: registration audit task and test report audit task;Correspondingly, step 440 and step Rapid 460 specifically can be exemplified are as follows:
If example 1, request access to be registration audit task, server return audit data include: tester Identity characteristic and the tester application test assignment mark;Wherein, identity characteristic may include: working experience, profession Field and its documentary evidence etc.
And then determine the require information of the test assignment of the application, for special based on the require information and the identity Sign, determines whether the tester has the qualification for executing the test assignment;Such as: the test assignment requirement that test side applies Test side need to have 3 yearly correlation working experiences, then identity-based feature determines whether the test side has 3 yearly correlation working experiences.
If so, determining that auditing result is to pass through;It otherwise is not pass through.
If example 2, request access to be test report audit task, server return audit data include: survey The test report of trial business;
The test report can include: test document and test documentary evidence, and then it can be based on the test documentary evidence, Determine whether the test document is effective;
If so, determining that auditing result is to pass through;No person is not pass through.
Moreover, determining that test includes whether effective step further include:
Determine whether the BUG in test report repeats with the BUG phase detected before, if so, by the mark of duplicate BUG Number it is added to test report.
As it can be seen that the present embodiment connecing by the application of small routine interface or installation on mobile terminals on mobile terminal Mouthful, it is interacted with server, so that audit side accesses corresponding audit data, and then executes review operations.With existing skill Art is compared, and the present invention allows user to carry out part or all of software test inter-related task on mobile terminals, and then can be effective Expand the scope of application of software test inter-related task, improves Efficiency of Software Testing.
Fig. 5 is a kind of flow diagram for method for testing software that the another embodiment of this specification provides, should referring to Fig. 5 Method can specifically include following steps:
Step 502, test side initiate registration logging request to server by the small routine or application of test side's terminal, with Verifying is carried out for server and is test side's allocation for test permission;
Wherein, the account for registering login can be cell-phone number, mailbox, be also possible to the number of server distribution;
In addition, audit side equally can initiate registration request to server by the small routine or application of audit side's terminal, with Not audit side's distribution audit permission is verified for server.
Step 504, server return to task hall to test side/audit side;
Wherein, setting task in task hall shows interface;For the task hall of test side, wherein appointing comprising various tests Business;For the task hall of audit side, wherein including various audit tasks.
Step 506, test side screen from task hall, confirm certain test assignment, to sign up for server initiation Request;
Step 508, server sign up for task of the request as audit task displaying in audit side for test side Hall so that whether the identity characteristic of audit test side of audit side meets the requirement of the test assignment signed up for, and returns and examines Core result;
Step 510, measurement direction server initiate to handle the request of certain test assignment, return and survey from server to test side Data on probation;
Software to be tested is downloaded based on test data and installed to step 512, test side, and surveys to the software Examination.
After step 514, completion test job, list and attachment are filled in by test side, and are sent to service as test report Device;
Wherein, list content includes: title, premise, step, expected result, actual result, remarks etc.;Attachment includes Picture and video etc. are used to prove the information of test result.
Step 516, server generate the audit task of audit test report and show in the task hall of audit side;
Step 518, audit side audit test report, and based on auditing result by test report labeled as effectively, it is invalid and It repeats, and refers to server and client;
If the side of audit need to fill in duplicate bug id labeled as repeating.
Wherein, when bug id is submission bug, what server background calculated automatically, calculation can be random algorithm.
As it can be seen that the present embodiment connecing by the application of small routine interface or installation on mobile terminals on mobile terminal Mouthful, it is interacted with server, is only capable of the pain spot for carrying out test assignment registration on the end PC, bug is submitted to solve the prior art, Its limitation is reduced, the ease of bug, and then the registration rate of bigger promotion task and test quality are submitted in optimization.
In addition, for simple description, therefore, it is stated as a series of action groups for above method embodiment It closes, but those skilled in the art should understand that, embodiment of the present invention is not limited by the described action sequence, because Embodiment according to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art It should be aware of, embodiment described in this description belongs to preferred embodiment, and related movement is not necessarily originally Necessary to invention embodiment.
Fig. 6 is a kind of flow diagram for software testing device that one embodiment of this specification provides, which specifically may be used To include: sending module 61, receiving module 62 and determining module 63, in which:
Sending module 61 includes the mark of test assignment in the access request for sending access request to server;
Receiving module 62 is used for receiving the test corresponding with the mark of the test assignment that the server returns Data, for being tested with data the corresponding software of the test assignment based on the test;
Determining module 63, for determining the test report of the software and being uploaded to the server.
Optionally, the sending module, is also used to:
Logging request is sent to the server, the logging request carries the identity characteristic of user;Receive the service The corresponding test assignment collection of the identity characteristic that device returns, which merges, to be shown.
Optionally, the sending module, is also used to:
Application request is sent to the server, the application request carries the identity characteristic of the user and the survey of application Try task identification.
Optionally, test data are the download link of the software, then device further include:
Downloading installation module, for downloading and installing the software on the mobile terminal based on the download link, For testing the software.
Optionally, determining module is specifically used for:
Obtain the test report of the test assignment of other terminals submission;Based on other terminals submit test report and The test result of the mobile terminal generates the test report of the software.
Optionally, the test report includes test document and test documentary evidence, and the test documentary evidence is for demonstrate,proving The authenticity of the bright test document.
Fig. 7 is a kind of structural schematic diagram for software testing device that one embodiment of this specification provides, which specifically may be used To include: sending module 71, receiving module 72 and determining module 73, in which:
Sending module 71 includes the mark of audit task in the access request for sending access request to server;
Receiving module 72 is used for receiving the audit corresponding with the mark of the audit task that the server returns Data, for auditing task described in data processing based on audit, the audit is that the side of test carries out software test with data Related data;
Determining module 73, for determining the auditing result of the audit task and being uploaded to the server.
Optionally, the audit task includes: registration audit task;The audit data include that the identity of tester is special The test assignment mark that the tester that seeks peace applies;
Wherein, device further include:
Processing module, the require information of the test assignment for determining tester's application, for being based on the requirement Information and the identity characteristic, determine whether the tester has the qualification for executing the test assignment.
Optionally, the audit task includes: test report audit task;The audit data include test assignment Test report, the test report include: test document and test documentary evidence;
Wherein, processing module is also used to:
Based on the test documentary evidence, whether effective the test document is audited.
Embodiment corresponding for Fig. 6 and Fig. 7, by be applied to mobile terminal on application interface, with server into Row interaction so that associated user accesses corresponding test data/audit data, and then executes test/review operations.With it is existing There is technology to compare, the present invention allows user to carry out part or all of software test task on mobile terminals, can effectively expand The scope of application of software test task improves Efficiency of Software Testing.
In conjunction with Fig. 1, a kind of software testing system that this specification also provides, comprising: the test including the corresponding device of Fig. 6 Square terminal, audit side's terminal and server including the corresponding device of Fig. 7, in which:
Test side's terminal, for the step of executing the method for testing software such as Fig. 2 corresponding embodiment;
Audit side's terminal, for the step of executing the method for testing software such as Fig. 4 corresponding embodiment;
Server, the access request for responding test side's terminal or audit side's terminal return to the identity of user The corresponding data of feature.
In addition, for above-mentioned apparatus embodiment, since it is substantially similar to method implementation, so description Fairly simple, related place illustrates referring to the part of method implementation.Moreover, it should be noted that of the invention In all parts of device, logical partitioning is carried out to component therein according to the function that it to be realized, still, the present invention is not It is limited to this, can according to need and all parts are repartitioned or are combined.
Fig. 8 is the structural schematic diagram for a kind of electronic equipment that one embodiment of this specification provides, and referring to Fig. 8, which is set Standby includes processor, internal bus, network interface, memory and nonvolatile memory, is also possible that other business certainly Required hardware.Processor from read in nonvolatile memory corresponding computer program into memory then run, Software testing device is formed on logic level.Certainly, other than software realization mode, other realization sides are not precluded in the application Formula, such as logical device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is simultaneously unlimited Due to each logic unit, it is also possible to hardware or logical device.
Network interface, processor and memory can be connected with each other by bus system.Bus can be ISA (Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always Line etc..Only to be indicated with a four-headed arrow in Fig. 8, it is not intended that an only bus or a type of convenient for indicating Bus.
Memory is for storing program.Specifically, program may include program code, and said program code includes computer Operational order.Memory may include read-only memory and random access memory, and provide instruction and data to processor.It deposits Reservoir may include high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-volatile Memory (non-volatile memory), for example, at least 1 magnetic disk storage.
Processor for executing the program of the memory storage, and specifically executes:
Access request is sent to server, includes the mark of test assignment in the access request;
The test data corresponding with the mark of the test assignment that the server returns are received, for being based on institute It states test and the corresponding software of the test assignment is tested with data;
It determines the test report of the software and is uploaded to the server.
Alternatively,
Access request is sent to server, includes the mark of audit task in the access request;
The audit data corresponding with the mark of the audit task that the server returns are received, for based on careful Core audits task, the audit related data that data are that the side of test carries out software test described in data processing;
It determines the auditing result of the audit task and is uploaded to the server.
Software testing device or manager (Master) node disclosed in above-mentioned Fig. 6-7 illustrated embodiment such as the application are held Capable method can be applied in processor, or be realized by processor.Processor may be a kind of IC chip, have The processing capacity of signal.During realization, each step of the above method can pass through the integration logic of the hardware in processor The instruction of circuit or software form is completed.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be number Signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.May be implemented or Person executes disclosed each method, step and logic diagram in the embodiment of the present application.General processor can be microprocessor or Person's processor is also possible to any conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present application, can be straight Connect and be presented as that hardware decoding processor executes completion, or in decoding processor hardware and software module combination executed At.Software module can be located at random access memory, and flash memory, read-only memory, programmable read only memory or electrically-erasable can In the storage medium of this fields such as programmable memory, register maturation.The storage medium is located at memory, and processor reads storage Information in device, in conjunction with the step of its hardware completion above method.
The method that software testing device can also carry out Fig. 2-5, and realize the method that manager's node executes.
Based on identical innovation and creation, the embodiment of the present application also provides a kind of computer readable storage medium, the meter Calculation machine readable storage medium storing program for executing stores one or more programs, and one or more of programs are when by the electricity including multiple application programs When sub- equipment executes, so that the electronic equipment executes the method for testing software that the corresponding embodiment of Fig. 2-5 provides.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can With or may be advantageous.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions each in flowchart and/or the block diagram The combination of process and/or box in process and/or box and flowchart and/or the block diagram.It can provide these computers Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute In the dress for realizing the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram It sets.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer include, but are not limited to phase change memory (PRAM), static random access memory (SRAM), Dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable Except programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD- ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetism are deposited Equipment or any other non-transmission medium are stored up, can be used for storage can be accessed by a computing device information.According to boundary herein Fixed, computer-readable medium does not include temporary computer readable media (transitory media), such as the data-signal of modulation and Carrier wave.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (12)

1. a kind of method for testing software, which is characterized in that be applied to mobile terminal, comprising:
Access request is sent to server, includes the mark of test assignment in the access request;
The test data corresponding with the mark of the test assignment that the server returns are received, for being based on the survey Data on probation test the corresponding software of the test assignment;
It determines the test report of the software and is uploaded to the server.
2. the method according to claim 1, wherein before sending access request to server, further includes:
Logging request is sent to the server, the logging request carries the identity characteristic of user;
It receives the corresponding test assignment collection of the identity characteristic that the server returns and merges displaying.
3. according to the method described in claim 2, it is characterized by further comprising:
Application request is sent to the server, the application request carries the identity characteristic of the user and the test of application is appointed Business mark.
4. the method according to claim 1, wherein it is described test with data be the software download link, Then method further include:
Based on the download link, the software is downloaded and installed on the mobile terminal, for surveying to the software Examination.
5. the method according to claim 1, wherein determining that the test report of the software includes:
Obtain the test report of the test assignment of other terminals submission;
The test result of the test report and the mobile terminal submitted based on other terminals, generates the test report of the software It accuses.
6. the method according to claim 1, wherein the test report includes that test document and test prove text Part, the test documentary evidence are used to prove the authenticity of the test document.
7. a kind of method for testing software, which is characterized in that be applied to mobile terminal, comprising:
Access request is sent to server, includes the mark of audit task in the access request;
The audit data corresponding with the mark of the audit task that the server returns are received, for using based on audit Task, the audit related data that data are that the side of test carries out software test are audited described in data processing;
It determines the auditing result of the audit task and is uploaded to the server.
8. the method according to the description of claim 7 is characterized in that the audit task includes: registration audit task;It is described to examine Core data include the identity characteristic of tester and the test assignment mark of tester application;
Wherein, processing audit task includes:
The require information of the test assignment of tester's application is determined, for special based on the require information and the identity Sign, determines whether the tester has the qualification for executing the test assignment.
9. the method according to the description of claim 7 is characterized in that the audit task includes: test report audit task;Institute The test report that audit data include test assignment is stated, the test report includes: test document and test documentary evidence;
Wherein, processing audit task includes:
Based on the test documentary evidence, whether effective the test document is audited.
10. a kind of software testing device characterized by comprising
Sending module includes the mark of test assignment in the access request for sending access request to server;
Receiving module, the test data corresponding with the mark of the test assignment returned for receiving the server, For being tested with data the corresponding software of the test assignment based on the test;
Determining module, for determining the test report of the software and being uploaded to the server.
11. a kind of software testing device characterized by comprising
Sending module includes the mark of audit task in the access request for sending access request to server;
Receiving module, the audit data corresponding with the mark of the audit task returned for receiving the server, For auditing task, the audit dependency number that data are that the side of test carries out software test described in data processing based on audit According to;
Determining module, for determining the auditing result of the audit task and being uploaded to the server.
12. a kind of software testing system characterized by comprising test side's terminal, audit side's terminal and server, in which:
Test side's terminal, for executing such as method for testing software described in any one of claims 1 to 6;
Audit side's terminal, for executing the method for testing software as described in any one of claim 7 to 9;
Server, the access request for responding test side's terminal or audit side's terminal return to the identity characteristic of user Corresponding data.
CN201811197316.9A 2018-10-15 2018-10-15 Software testing method, device and system Active CN109299015B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811197316.9A CN109299015B (en) 2018-10-15 2018-10-15 Software testing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811197316.9A CN109299015B (en) 2018-10-15 2018-10-15 Software testing method, device and system

Publications (2)

Publication Number Publication Date
CN109299015A true CN109299015A (en) 2019-02-01
CN109299015B CN109299015B (en) 2021-10-08

Family

ID=65162513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811197316.9A Active CN109299015B (en) 2018-10-15 2018-10-15 Software testing method, device and system

Country Status (1)

Country Link
CN (1) CN109299015B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111611167A (en) * 2020-05-22 2020-09-01 厦门理工学院 Embedded software testing method and system based on DSP
CN111651349A (en) * 2020-05-26 2020-09-11 泰康保险集团股份有限公司 Test method and device
CN111866253A (en) * 2020-07-24 2020-10-30 耿天真 Mobile terminal software testing system based on big data sharing
CN112101973A (en) * 2019-06-17 2020-12-18 百度在线网络技术(北京)有限公司 Advertisement material processing method and device, server, equipment and storage medium
CN112286794A (en) * 2020-09-28 2021-01-29 五八到家有限公司 Method and device for testing online recruitment system and storage medium
CN113515446A (en) * 2021-05-08 2021-10-19 上海安畅网络科技股份有限公司 Applet testing method, device, equipment and storage medium
CN115103028A (en) * 2022-07-22 2022-09-23 深圳竹云科技股份有限公司 SaaS application request processing method and device and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244592A (en) * 2010-05-11 2011-11-16 中国移动通信集团公司 Network service quality testing system, method, testing center and testing terminal
CN102710753A (en) * 2012-05-15 2012-10-03 华为技术有限公司 Method, device and system for publishing Internet application
CN104679654A (en) * 2015-02-26 2015-06-03 百度在线网络技术(北京)有限公司 Method, equipment and system for testing application program
CN105607994A (en) * 2015-10-19 2016-05-25 珠海金山网络游戏科技有限公司 Mobile terminal software testing method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244592A (en) * 2010-05-11 2011-11-16 中国移动通信集团公司 Network service quality testing system, method, testing center and testing terminal
CN102710753A (en) * 2012-05-15 2012-10-03 华为技术有限公司 Method, device and system for publishing Internet application
CN104679654A (en) * 2015-02-26 2015-06-03 百度在线网络技术(北京)有限公司 Method, equipment and system for testing application program
CN105607994A (en) * 2015-10-19 2016-05-25 珠海金山网络游戏科技有限公司 Mobile terminal software testing method and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112101973A (en) * 2019-06-17 2020-12-18 百度在线网络技术(北京)有限公司 Advertisement material processing method and device, server, equipment and storage medium
CN112101973B (en) * 2019-06-17 2023-08-29 百度在线网络技术(北京)有限公司 Advertisement material processing method, device, server, equipment and storage medium
CN111611167A (en) * 2020-05-22 2020-09-01 厦门理工学院 Embedded software testing method and system based on DSP
CN111611167B (en) * 2020-05-22 2023-04-18 厦门理工学院 Embedded software testing method and system based on DSP
CN111651349A (en) * 2020-05-26 2020-09-11 泰康保险集团股份有限公司 Test method and device
CN111866253A (en) * 2020-07-24 2020-10-30 耿天真 Mobile terminal software testing system based on big data sharing
CN111866253B (en) * 2020-07-24 2021-11-19 深圳市乐天堂科技有限公司 Mobile terminal software testing system based on big data sharing
CN112286794A (en) * 2020-09-28 2021-01-29 五八到家有限公司 Method and device for testing online recruitment system and storage medium
CN112286794B (en) * 2020-09-28 2023-12-12 五八到家有限公司 Method and device for testing online recruitment system and storage medium
CN113515446A (en) * 2021-05-08 2021-10-19 上海安畅网络科技股份有限公司 Applet testing method, device, equipment and storage medium
CN115103028A (en) * 2022-07-22 2022-09-23 深圳竹云科技股份有限公司 SaaS application request processing method and device and computer equipment

Also Published As

Publication number Publication date
CN109299015B (en) 2021-10-08

Similar Documents

Publication Publication Date Title
CN109299015A (en) A kind of method for testing software, apparatus and system
US10936465B2 (en) Method for optimized canary deployments for improved customer experience
US8630836B2 (en) Predicting system performance and capacity using software module performance statistics
CN105046482A (en) Mobile terminal payment method, device, and system
CN107239403A (en) A kind of positioning problems method and apparatus
CN106095688A (en) A kind of software performance testing method and device
US11010207B2 (en) Metering software for cloud and non-cloud computer systems
CN111241107A (en) Service processing method, device, medium and electronic equipment
CN108280024B (en) Flow distribution strategy testing method and device and electronic equipment
CN112291321B (en) Service processing method, device and system
CN109254904A (en) A kind of database pressure surveys method, apparatus and electronic equipment
CN110058992A (en) A kind of official documents and correspondence template staining effect method, apparatus and electronic equipment
Mittal et al. Cloud testing-the future of contemporary software testing
CN104142817A (en) Method and device for measuring resource usage of users in Java applications
CN108650150A (en) A kind of data verification method and device
CN109542775A (en) A kind of generation and execution method and device of test script
US11647377B2 (en) Mobile device roaming optimization and operation
CN112379967B (en) Simulator detection method, device, equipment and medium
CN109068303A (en) A kind of resource sharing method, device and electronic equipment
CN108710658A (en) A kind of storage method and device of data record
CN108334317A (en) Graphics engine, graphics engine construction method, update method and device
CN109656805A (en) Generation method, device and the service server of code link for business diagnosis
Sodhi et al. Appification of web applications: Architectural aspects
CN104360819B (en) Method for writing data and device
CN109933413A (en) Service implementation method and device, electronic equipment, 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210720

Address after: 100016 no.4301, No.52 Jiuxianqiao hospital, Chaoyang District, Beijing

Applicant after: BEIJING TESTIN INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 100041 room 9579, building 3, 3 Xijing Road, Badachu hi tech park, Shijingshan District, Beijing

Applicant before: BEIJING TESTIN NETWORK TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant