CN109299015B - Software testing method, device and system - Google Patents

Software testing method, device and system Download PDF

Info

Publication number
CN109299015B
CN109299015B CN201811197316.9A CN201811197316A CN109299015B CN 109299015 B CN109299015 B CN 109299015B CN 201811197316 A CN201811197316 A CN 201811197316A CN 109299015 B CN109299015 B CN 109299015B
Authority
CN
China
Prior art keywords
test
task
server
testing
software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811197316.9A
Other languages
Chinese (zh)
Other versions
CN109299015A (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 Testin Information 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 Testin Information Technology Co Ltd filed Critical Beijing Testin Information 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

Images

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

The application discloses a software testing method, device and system. The method comprises the following steps: sending an access request to a server, wherein the access request comprises an identifier of a test task; receiving test data corresponding to the identification of the test task returned by the server, so as to test the software corresponding to the test task based on the test data; and determining a test report of the software and uploading the test report to the server. The method and the device allow part or all of the software testing tasks to be performed on the mobile terminal, so that the application range of the software testing tasks is expanded, and the software testing efficiency is improved.

Description

Software testing method, device and system
Technical Field
The present application relates to the field of computer technologies, and in particular, to a software testing method, device, and system.
Background
Software testing refers to the process of operating a program under specified conditions to discover program errors, measure software quality, and evaluate whether it can meet design requirements.
At present, the processes of registration, test report submission and the like related to software testing are realized by a Personal Computer (PC) terminal, and the limitation is large.
Therefore, there is a need to provide a faster software testing scheme.
Disclosure of Invention
The embodiment of the specification provides a software testing method, which is used for realizing part or all of software testing tasks on a mobile terminal so as to expand the application range of the software testing tasks and improve the software testing efficiency.
In a first aspect, an embodiment of the present specification further provides a device testing method, including:
sending an access request to a server, wherein the access request comprises an identifier of a test task;
and receiving test data corresponding to the identification of the test task returned by the server, so as to test the software corresponding to the test task based on the test data.
Optionally, before sending the access request to the server, the method further includes:
sending a login request to the server, wherein the login request carries the identity characteristics of the user;
and receiving and displaying a test task set corresponding to the identity characteristics returned by the server.
Optionally, the method further includes:
and sending an application request to the server, wherein the application request carries the identity characteristics of the user and the applied test task identifier.
Optionally, the test data is a download link of the software, and the method further includes:
and downloading and installing the software on the mobile terminal based on the download link so as to test the software.
Optionally, determining the test report of the software includes:
obtaining test reports of the test tasks submitted by other terminals;
and generating a test report of the software based on the test reports submitted by other terminals and the test result of the mobile terminal.
Optionally, the test report includes a test document and a test certificate, and the test certificate is used for proving the authenticity of the test document.
In a second aspect, an embodiment of the present specification further provides a software testing method, including:
sending an access request to a server, wherein the access request comprises an identifier of an audit task;
receiving auditing data corresponding to the identifier of the auditing task returned by the server for processing the auditing task based on the auditing data, wherein the auditing data are related data for a tester to perform software testing;
and determining the auditing result of the auditing task and uploading the auditing result to the server.
Optionally, the audit task includes: an entry auditing task; the data for auditing comprises the identity characteristics of a tester and a test task identifier applied by the tester;
wherein, processing the audit task comprises:
and determining requirement information of the test task applied by the tester, so as to determine whether the tester is qualified to execute the test task based on the requirement information and the identity characteristics.
Optionally, the audit task includes: a test report auditing task; the data for auditing comprises a test report of a test task, and the test report comprises: test documents and test proof documents;
wherein, processing the audit task comprises:
and checking whether the test document is valid or not based on the test certification file.
In a third aspect, an embodiment of the present specification further provides a software testing apparatus, including:
the sending module is used for sending an access request to the server, wherein the access request comprises an identifier of the test task;
the receiving module is used for receiving the test data which is returned by the server and corresponds to the identification of the test task, so that the software corresponding to the test task can be tested based on the test data;
and the determining module is used for determining the test report of the software and uploading the test report to the server.
Optionally, the sending module is further configured to:
sending a login request to the server, wherein the login request carries the identity characteristics of the user; and receiving and displaying a test task set corresponding to the identity characteristics returned by the server.
Optionally, the sending module is further configured to:
and sending an application request to the server, wherein the application request carries the identity characteristics of the user and the applied test task identifier.
Optionally, if the test data is a download link of the software, the apparatus further includes:
and the download installation module is used for downloading and installing the software on the mobile terminal based on the download link so as to test the software.
Optionally, the determining module is specifically configured to:
obtaining test reports of the test tasks submitted by other terminals; and generating a test report of the software based on the test reports submitted by other terminals and the test result of the mobile terminal.
Optionally, the test report includes a test document and a test certificate, and the test certificate is used for proving the authenticity of the test document.
In a fourth aspect, an embodiment of the present specification further provides a software testing apparatus, including:
the sending module is used for sending an access request to the server, wherein the access request comprises an identifier of the audit task;
the receiving module is used for receiving auditing data corresponding to the identifier of the auditing task returned by the server so as to process the auditing task based on the auditing data, wherein the auditing data are related data for a tester to perform software testing;
and the determining module is used for determining the auditing result of the auditing task and uploading the auditing result to the server.
Optionally, the audit task includes: an entry auditing task; the data for auditing comprises the identity characteristics of a tester and a test task identifier applied by the tester;
wherein, the device still includes:
the processing module is used for determining requirement information of a test task applied by the tester, so as to determine whether the tester has qualification for executing the test task based on the requirement information and the identity characteristics.
Optionally, the audit task includes: a test report auditing task; the data for auditing comprises a test report of a test task, and the test report comprises: test documents and test proof documents;
wherein, the processing module is further configured to:
and checking whether the test document is valid or not based on the test certification file.
In a fifth aspect, an embodiment of the present specification further provides a software testing system, including: the system comprises a testing side terminal, an auditing side terminal and a server, wherein:
a tester terminal for performing the steps of the software testing method according to the first aspect;
an auditor terminal for performing the steps of the software testing method according to the second aspect;
and the server is used for responding to the access request of the testing party terminal or the auditing party terminal and returning data corresponding to the identity characteristics of the user.
The embodiment of the specification adopts at least one technical scheme which can achieve the following beneficial effects:
and interacting with the server through an application interface applied to the mobile terminal so that the relevant user can access the corresponding data for testing or auditing, and further executing the testing or auditing operation. Compared with the prior art, the method and the mobile terminal allow a user to perform part or all of the software testing tasks on the mobile terminal, can effectively expand the application range of the software testing tasks, and improve the software testing efficiency.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic diagram of an application scenario provided in the present application;
fig. 2 is a schematic flowchart of a software testing method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a test task presentation interface according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating a software testing method according to another embodiment of the present application;
FIG. 5 is a flowchart illustrating a software testing method according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of a software testing apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a software testing apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As stated in the background section, the current test task registration, software installation, etc., BUG retrieval, submission, auditing, etc., all depend on the PC side, and in the era of rapidly developing mobile internet, the frequency of using mobile communication equipment by users is much higher than that of the PC side, so the existing scheme has great limitation to the software test work of users.
Based on the above, the invention provides a software testing method, which interacts with a server through an application interface applicable to a mobile terminal, so that a relevant user can access corresponding testing data or auditing data, and further perform testing or auditing operation. Compared with the prior art, the method and the mobile terminal allow a user to perform part or all of the software testing tasks on the mobile terminal, can effectively expand the application range of the software testing tasks, and improve the software testing efficiency.
The application interface can be an applet interface on the mobile terminal or an interface of an application installed on the mobile terminal, namely the method can be applied to the applet on the mobile terminal and can also be applied to the application installed on the mobile terminal; the test tasks include: one or more of Bug exploration, case execution and case design; the mobile terminal or called mobile communication terminal refers to a computer device which can be used in mobile, and broadly includes a mobile phone, a notebook, a tablet computer, a POS machine, and even a vehicle-mounted computer. But most often refer to cell phones or smart phones and tablets with multiple application functions.
An application scenario of the present invention is exemplarily illustrated with reference to fig. 1.
The application scene comprises the following steps: the tester terminal 110, the auditor terminal 120 and the server 130, wherein:
the tester terminal 110, which is a mobile terminal of a tester, is configured to initiate a read access request to the server 130 to read a test task in the tester permission, and includes: can register the test task that participates in, the test task in progress, etc.; initiating a write access request to the server 130 to write a test report of the test task;
the auditor terminal 120, which is a mobile terminal of the auditor, is configured to initiate a read access request to the server 130 to read the test task in the auditor permission, and includes: checking the registration request of the tester, checking the test report submitted by the tester, and the like; initiating a write access request to the server 130 to write the audit result;
the server 130 is configured to respond to the read access requests of the tester terminal 110 and the auditor terminal 120, and return a corresponding test task/audit task; or, in response to the write access requests of the tester terminal 110 and the auditor terminal 120, recording the test report, the audit result, and the like written by the tester terminal 110 and the auditor terminal 120.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 2 is a schematic flowchart of a software testing method provided in an embodiment of this specification, where the method may be executed by the tester terminal in fig. 1, and with reference to fig. 1, the method may specifically include the following steps:
step 220, sending an access request to a server, wherein the access request comprises an identifier of a test task;
the test task identifier may be an identifier of a test task selected by a tester.
It is understood that, before step 220, the method further includes: the registration-login-registration step may specifically be as follows:
a registration step: the tester initiates a registration request to the server through the tester terminal, where the registration request carries identity information of the tester and a role that the tester wants to register, for example: test work experience, associated documentation, etc.;
the server generates a registration auditing task for the auditing party to audit whether the identity information of the tester is matched with the registered role requirement, if so, the registration is successful; otherwise, the registration fails.
A login step: the testing direction sends a login request to the server, wherein the login request carries the identity characteristics registered by the user; and receiving and displaying a test task set corresponding to the identity characteristics returned by the server.
The identity characteristic of the user may be registered account information, which is used to indicate the identity of the user. It is understood that if the user role is the tester, the server returns a test task set; and if the user role is an auditor, returning an audit task set by the server.
With reference to fig. 3, a test task display interface generated based on data returned by the server shows: task type, task status, and an exemplary plurality of test tasks. Among them, the task types may include: BUG search, case execution and case design; the task states include: participation can be carried out, neutralization is carried out and the process is finished;
therefore, the testing party can clearly check each testing task and state of the personal registration participation, each testing task and state of the personal registration, and the testing party can apply for registration. Among these, task 3 and task 5 in the recruitment in FIG. 3 may be considered tasks for which testers may enter parameters.
Registering and applying: sending an application request to the server, wherein the application request carries the identity characteristics of the user and the applied test task identifier;
the server generates an entry auditing task for the auditing party to audit whether the identity information of the testing party is matched with the entry testing task requirement, and if so, the entry is successful; otherwise, the registration fails.
The test tasks applied for are the test tasks selected by the tester from the test task display interface and in recruitment.
Based on the registration-login-registration step, the tester may perform step 220 to request access to data related to a test task for which the tester is responsible.
Step 240, receiving test data corresponding to the identifier of the test task returned by the server, so as to test the software corresponding to the test task based on the test data;
wherein, the data for testing can be the download link of the software, and the download can be two-dimensional code, website, etc., then the method further comprises:
and downloading and installing the software on the mobile terminal based on the download link so as to test the software.
Therefore, the embodiment can directly install the software to be tested in the mobile terminal, and compared with the scheme that the PC terminal downloads the installation package of the software to be tested and transmits the installation package to the mobile terminal for installation in the prior art, the software testing efficiency can be effectively improved.
And step 260, determining a test report of the software and uploading the test report to the server. One implementation may be:
s1, obtaining test reports of the test tasks submitted by other terminals;
wherein the test report comprises a test document and a test proof file, and the test proof file is used for proving the authenticity of the test document. The test document is a document written by the test process and the test result and is used for analyzing the found problems and defects, providing a basis for correcting the quality problems of the software and laying a foundation for acceptance and delivery of the software; the test proof file refers to a file for proving that the whole test process is executed and the BUG appears in the test process, such as pictures, videos and the like collected in the test process.
And S2, generating a test report of the software based on the test reports submitted by other terminals and the test result of the mobile terminal.
The other terminals may be other types of terminals of the same user, for example: a PC side other than the mobile terminal; the terminal equipment can also be mobile terminals, PC terminals and the like used by other users.
Taking the former as an example: because the testing party may submit a test report at other terminals such as the PC terminal once, and the test report already contains a part of bugs, in order to avoid the test report carrying retransmitted bugs, when generating the test report, the implementation method further synchronizes the bugs in the test reports submitted from other terminals, and removes the submitted bugs from the bugs appearing in the test result, thereby obtaining an optimized test report.
Taking the latter as an example: the testing parties participating in the testing task may not be unique, and the testing reports obtained by testing of the testing parties may not be the same, so that the testing reports of other testing parties can be obtained at the terminal side before the testing reports are sent to the server, and the testing reports tested by the testing party are optimized based on the testing reports of other testing parties. For example: when detecting that the bug which is not detected by the testing party exists in the testing reports of other testing parties, sending a prompt to prompt the testing party to test the bug which is detected and verify whether the bug which is not detected exists indeed, and if so, writing the bug which is not detected into the testing report; another example is: if there is a bug whose test report does not exist in the test report of the tester, a prompt is sent to provide the tester to verify whether the bug really exists.
As can be seen, in the embodiment, the applet interface on the mobile terminal or the interface of the application installed on the mobile terminal interacts with the server, so that the tester can access the corresponding test data, and then perform the test operation. Compared with the prior art, the method and the mobile terminal allow a user to perform part or all of software testing related tasks on the mobile terminal, further effectively expand the application range of the software testing related tasks and improve the software testing efficiency.
Fig. 4 is a schematic flowchart of a software testing method according to another embodiment of the present disclosure, where the method may be executed by the auditor terminal in fig. 1, and referring to fig. 4, the method may specifically include the following steps:
step 420, sending an access request to a server, wherein the access request comprises an identifier of an audit task;
it will be appreciated that prior to performing step 420, the method further comprises: registration-login-registration and the like; since this step is similar to the registration-login-registration of the tester, it is not repeated here.
Step 440, receiving auditing data corresponding to the identifier of the auditing task returned by the server for processing the auditing task based on the auditing data, wherein the auditing data is related data for software testing of a tester;
and 460, determining the auditing result of the auditing task and uploading the auditing result to the server.
Wherein, the audit task comprises: registering an audit task and testing a report audit task; accordingly, step 440 and step 460 may be specifically exemplified by:
example 1, if the access request is an entry audit task, the audit data returned by the server includes: the identity characteristics of a tester and a test task identifier applied by the tester; the identity characteristics may include: experience in practice, areas of expertise and documentation thereof, and the like
Further determining requirement information of the applied test task for determining whether the tester qualifies to execute the test task based on the requirement information and the identity feature; for example: and the testing task applied by the testing party requires that the testing party needs 3 years of related working experience, and whether the testing party has 3 years of related working experience is determined based on the identity characteristics.
If yes, determining that the auditing result is passed; otherwise it is not passed.
Example 2, if the access request is for a test report audit task, the audit data returned by the server includes: a test report of the test task;
the test report may include: a test document and a test proof file, and further determining whether the test document is valid based on the test proof file;
if yes, determining that the auditing result is passed; otherwise, the product is failed.
Moreover, the step of determining whether the test is valid further comprises:
and determining whether the BUG in the test report is repeated with the previously detected BUG, and if so, adding the label of the repeated BUG to the test report.
As can be seen, in the embodiment, the applet interface on the mobile terminal or the interface of the application installed on the mobile terminal interacts with the server, so that the auditor accesses the corresponding data for auditing, and further executes the auditing operation. Compared with the prior art, the method and the mobile terminal allow a user to perform part or all of software testing related tasks on the mobile terminal, further effectively expand the application range of the software testing related tasks and improve the software testing efficiency.
Fig. 5 is a schematic flow chart of a software testing method according to another embodiment of the present disclosure, and referring to fig. 5, the method may specifically include the following steps:
step 502, the testing party initiates a registration login request to the server through the applet or the application of the testing party terminal so as to be verified by the server and distribute a testing authority for the testing party;
the account number for registering and logging in can be a mobile phone number, a mailbox, or a number distributed by the server;
in addition, the auditor can also initiate a registration request to the server through the applet or the application of the auditor terminal, so that the server can verify that the auditor does not distribute the audit right.
Step 504, the server returns a task hall to the tester/auditor;
wherein, the task hall is provided with a task display interface; for a task hall of a testing party, various testing tasks are contained; and (4) a task hall of the auditor contains various audit tasks.
Step 506, the testing party screens and confirms a certain testing task from the task hall so as to initiate an entry participation request to the server;
step 508, the server displays the request of participation of entry of the tester as a checking task in a task hall of the auditor, so that the auditor can check whether the identity characteristics of the tester meet the requirement of the test task of participation of entry, and returns a checking result;
step 510, the testing party initiates a request for processing a certain testing task to the server, and the server returns testing data to the testing party;
and step 512, the testing party downloads and installs the software to be tested based on the data for testing and tests the software.
Step 514, after completing the test work, the tester fills in the form and the accessories, and sends the form and the accessories as a test report to the server;
wherein, the form content includes: title, premise, step, expected result, actual result, remark, etc.; the accessories include pictures and videos and other information used for proving the test results.
Step 516, the server generates an audit task of the audit test report and displays the audit task in a task hall of the auditor;
step 518, the auditor audits the test report, marks the test report as valid, invalid and repeated based on the audit result, and refers to the server and the client;
if the mark is repeated, the auditor needs to fill in the repeated bug id.
And when the bug id submits the bug, the server background automatically calculates, and the calculation mode can be a random algorithm.
Therefore, in the embodiment, the interaction with the server is performed through the small program interface on the mobile terminal or the interface of the application installed on the mobile terminal, so that the problem that the prior art can only perform test task registration and bug submission on the PC terminal is solved, the limitation of the prior art is reduced, the simplicity of bug submission is optimized, and the registration rate and the test quality of the task are further improved.
In addition, for simplicity of explanation, the above-described method embodiments are described as a series of acts or combinations, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts or steps described, as some steps may be performed in other orders or simultaneously according to the present invention. Furthermore, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Fig. 6 is a schematic flowchart of a software testing apparatus according to an embodiment of the present disclosure, where the apparatus may specifically include: a sending module 61, a receiving module 62 and a determining module 63, wherein:
a sending module 61, configured to send an access request to a server, where the access request includes an identifier of a test task;
a receiving module 62, configured to receive test data corresponding to the identifier of the test task, where the test data is returned by the server, so that software corresponding to the test task is tested based on the test data;
and the determining module 63 is used for determining the test report of the software and uploading the test report to the server.
Optionally, the sending module is further configured to:
sending a login request to the server, wherein the login request carries the identity characteristics of the user; and receiving and displaying a test task set corresponding to the identity characteristics returned by the server.
Optionally, the sending module is further configured to:
and sending an application request to the server, wherein the application request carries the identity characteristics of the user and the applied test task identifier.
Optionally, if the test data is a download link of the software, the apparatus further includes:
and the download installation module is used for downloading and installing the software on the mobile terminal based on the download link so as to test the software.
Optionally, the determining module is specifically configured to:
obtaining test reports of the test tasks submitted by other terminals; and generating a test report of the software based on the test reports submitted by other terminals and the test result of the mobile terminal.
Optionally, the test report includes a test document and a test certificate, and the test certificate is used for proving the authenticity of the test document.
Fig. 7 is a schematic structural diagram of a software testing apparatus provided in an embodiment of the present specification, where the apparatus may specifically include: a sending module 71, a receiving module 72 and a determining module 73, wherein:
a sending module 71, configured to send an access request to a server, where the access request includes an identifier of an audit task;
a receiving module 72, configured to receive data for audit, corresponding to the identifier of the audit task, returned by the server, so as to process the audit task based on the data for audit, where the data for audit is related to software testing performed by a tester;
and the determining module 73 is configured to determine an audit result of the audit task and upload the audit result to the server.
Optionally, the audit task includes: an entry auditing task; the data for auditing comprises the identity characteristics of a tester and a test task identifier applied by the tester;
wherein, the device still includes:
the processing module is used for determining requirement information of a test task applied by the tester, so as to determine whether the tester has qualification for executing the test task based on the requirement information and the identity characteristics.
Optionally, the audit task includes: a test report auditing task; the data for auditing comprises a test report of a test task, and the test report comprises: test documents and test proof documents;
wherein, the processing module is further configured to:
and checking whether the test document is valid or not based on the test certification file.
For the embodiments corresponding to fig. 6 and fig. 7, the embodiment interacts with the server through the application interface applied to the mobile terminal, so that the relevant user can access the corresponding test data/data for auditing, and further perform the test/auditing operation. Compared with the prior art, the method and the mobile terminal allow a user to perform part or all of the software testing tasks on the mobile terminal, can effectively expand the application range of the software testing tasks, and improve the software testing efficiency.
With reference to fig. 1, the present specification further provides a software testing system, including: a tester terminal comprising the apparatus corresponding to fig. 6, an auditor terminal comprising the apparatus corresponding to fig. 7, and a server, wherein:
the testing side terminal is used for executing the steps of the software testing method of the embodiment corresponding to the figure 2;
the auditor terminal is used for executing the steps of the software testing method corresponding to the embodiment in FIG. 4;
and the server is used for responding to the access request of the testing party terminal or the auditing party terminal and returning data corresponding to the identity characteristics of the user.
In addition, as for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to part of the description of the method embodiment. Further, it should be noted that, among the respective components of the apparatus of the present invention, the components thereof are logically divided according to the functions to be realized, but the present invention is not limited thereto, and the respective components may be newly divided or combined as necessary.
Fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure, and referring to fig. 8, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include hardware required by other services. The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the software testing device on the logic level. Of course, besides the software implementation, the present application does not exclude other implementations, such as logic devices or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
The network interface, the processor and the memory may be interconnected by a bus system. The bus may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 8, but that does not indicate only one bus or one type of bus.
The memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both read-only memory and random access memory, and provides instructions and data to the processor. The Memory may include a Random-Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least 1 disk Memory.
The processor is used for executing the program stored in the memory and specifically executing:
sending an access request to a server, wherein the access request comprises an identifier of a test task;
receiving test data corresponding to the identification of the test task returned by the server, so as to test the software corresponding to the test task based on the test data;
and determining a test report of the software and uploading the test report to the server.
Alternatively, the first and second electrodes may be,
sending an access request to a server, wherein the access request comprises an identifier of an audit task;
receiving auditing data corresponding to the identifier of the auditing task returned by the server for processing the auditing task based on the auditing data, wherein the auditing data are related data for a tester to perform software testing;
and determining the auditing result of the auditing task and uploading the auditing result to the server.
The method performed by the software testing device or manager (Master) node according to the embodiments of fig. 6-7 of the present application can be implemented in or by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The software testing apparatus may also perform the methods of fig. 2-5 and implement the methods performed by the administrator node.
Based on the same invention creation, the embodiment of the present application further provides a computer readable storage medium, which stores one or more programs, and when the one or more programs are executed by an electronic device including a plurality of application programs, the electronic device is caused to execute the software testing method provided by the corresponding embodiment of fig. 2 to 5.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (4)

1. A software testing method, comprising:
the testing party initiates a registration login request to the server through the applet or the application of the testing party terminal so that the server can verify and distribute testing authority for the testing party; the account number for registering and logging in is a mobile phone number, a mailbox or a number distributed by a server;
the auditor also initiates a registration request to the server through the applet or application of the auditor terminal so as to be verified by the server and distribute audit authority for the auditor;
the server returns a task hall to the tester/auditor; wherein, the task hall is provided with a task display interface; for a task hall of a testing party, various testing tasks are contained; for a task hall of an auditor, various audit tasks are contained;
the testing party screens and confirms a certain testing task from the task hall so as to initiate an entry participation request to the server;
the server displays the registration participation request of the tester as a checking task in a task hall of the auditor so that the auditor can check whether the identity characteristics of the tester meet the requirements of the test task of registration participation or not, and returns a checking result;
the testing party initiates a request for processing a certain testing task to the server, and the server returns testing data to the testing party;
the testing party downloads and installs the software to be tested based on the data for testing and tests the software;
after the test work is finished, the tester fills in the form and the accessories and uploads the form and the accessories to the server as a test report; wherein, the form content includes: title, premise, step, expected result, actual result, remark; the accessory comprises pictures and videos of information for proving test results;
the server generates an audit task of an audit test report and displays the audit task in a task hall of an auditor;
the auditor audits the test report, marks the test report as valid, invalid and repeated based on the audit result, and submits the test report to the server and the client;
if the mark is repeated, the auditor needs to fill in the repeated bug id;
and when the bug id submits the bug, the server background automatically calculates in a random algorithm.
2. The method of claim 1, wherein the test data is a download link of the software, the method further comprising:
and downloading and installing the software on the tester terminal based on the download link so as to test the software.
3. The method of claim 1, wherein the test report includes a test document and a test proof file, the test proof file for proving authenticity of the test document.
4. A software testing system for executing the software testing method according to any one of claims 1 to 3, characterized by comprising: the system comprises a testing side terminal, an auditing side terminal and a server.
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 CN109299015A (en) 2019-02-01
CN109299015B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112101973B (en) * 2019-06-17 2023-08-29 百度在线网络技术(北京)有限公司 Advertisement material processing method, device, server, equipment and storage medium
CN111611167B (en) * 2020-05-22 2023-04-18 厦门理工学院 Embedded software testing method and system based on DSP
CN111651349B (en) * 2020-05-26 2023-07-14 泰康保险集团股份有限公司 Test method and device
CN111866253B (en) * 2020-07-24 2021-11-19 深圳市乐天堂科技有限公司 Mobile terminal software testing system based on big data sharing
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
CN115103028B (en) * 2022-07-22 2022-11-15 深圳竹云科技股份有限公司 SaaS application request processing method and device and computer equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244592B (en) * 2010-05-11 2014-10-08 ***通信集团公司 Network service quality testing system, method, testing center and testing terminal
CN105607994B (en) * 2015-10-19 2018-12-11 珠海金山网络游戏科技有限公司 A kind of mobile terminal software test method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN109299015A (en) 2019-02-01

Similar Documents

Publication Publication Date Title
CN109299015B (en) Software testing method, device and system
CN108415832B (en) Interface automation test method, device, equipment and storage medium
CN111045756B (en) Method, apparatus, computing device and medium for generating interface service
CN107122296B (en) Method and apparatus for data assertion for test interface
CN109308263B (en) Applet testing method, device and equipment
CN112199300B (en) Interface testing method and device, electronic equipment and storage medium
CN110874315B (en) Test method, test device, electronic equipment and storage medium
CN107480056B (en) Software testing method and device
CN112256984B (en) Method and device for acquiring interface background screenshot corresponding to webpage
CN105743725A (en) Method and device for testing application programs
CN112650689A (en) Test method, test device, electronic equipment and storage medium
CN109815083B (en) Application crash monitoring method and device, electronic equipment and medium
CN108710658B (en) Data record storage method and device
CN112734349A (en) Interface generation method, data calling method, device and electronic equipment
CN108650150B (en) Data verification method and device
US10169216B2 (en) Simulating sensors
CN113419952B (en) Cloud service management scene testing device and method
CN112506781B (en) Test monitoring method, device, electronic equipment, storage medium and program product
CN110297625B (en) Application processing method and device
CN111858335A (en) Block chain SDK testing method and device
CN116107781A (en) Log tracking method, device, electronic equipment and computer program product
CN111225075A (en) Configuration method and device for Internet of things directional access service
CN111258873A (en) Test method and device
CN112560035B (en) Application detection method, device, equipment and storage medium
CN116361145A (en) Application access detection and processing method, device and 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

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.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant