CN111651349A - Test method and device - Google Patents

Test method and device Download PDF

Info

Publication number
CN111651349A
CN111651349A CN202010457071.XA CN202010457071A CN111651349A CN 111651349 A CN111651349 A CN 111651349A CN 202010457071 A CN202010457071 A CN 202010457071A CN 111651349 A CN111651349 A CN 111651349A
Authority
CN
China
Prior art keywords
test
task
resource
testing
test resource
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
CN202010457071.XA
Other languages
Chinese (zh)
Other versions
CN111651349B (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.)
Taikang Insurance Group Co Ltd
Original Assignee
Taikang Insurance Group 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 Taikang Insurance Group Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN202010457071.XA priority Critical patent/CN111651349B/en
Publication of CN111651349A publication Critical patent/CN111651349A/en
Application granted granted Critical
Publication of CN111651349B publication Critical patent/CN111651349B/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 invention discloses a testing method and a testing device, which can solve the problem that testing resources are difficult to coordinate in the prior art, thereby improving the testing efficiency. The test method comprises the following steps: receiving an input first message, wherein the first message carries identification information of a first task; acquiring a first test resource corresponding to the identification information from a first test resource set according to the identification information, wherein the first test resource set is determined from a resource pool according to the role of the user, the resource pool stores a plurality of test resource sets, and one test resource set comprises the test resource of each task in a plurality of tasks of one role; and executing a first test task according to the first test resource, wherein the first test task is used for testing the first task and is distributed.

Description

Test method and device
Technical Field
The invention relates to the field of software system testing, in particular to a testing method and a testing device.
Background
As the functions of software systems become more abundant, when large-scale software is developed, the large-scale software is often divided into a plurality of subsystems and handed to a plurality of departments for collaborative development. In the testing stage of software, in the prior art, a tester needs to connect different departments and jointly adjust different service interfaces, and particularly when service interaction is compact and complex, a plurality of departments need to cooperate to prepare test data, build a test environment and the like. In addition, in order to ensure the running stability of the large-scale software, a tester often needs to perform multiple tests, and resources need to be reconciled in each test. In the coordination process, the problems of asymmetric messages, unclear responsibility boundaries, non-uniform contents, non-standard interfaces and the like of all the participating parties often occur, so that the test progress and efficiency are seriously influenced.
Therefore, the software system in the prior art has low testing efficiency.
Disclosure of Invention
The embodiment of the invention provides a testing method and a testing device, which can solve the problem that testing resources are difficult to coordinate in the prior art, so that the testing efficiency is improved.
In a first aspect, an embodiment of the present invention provides a testing method, where the method includes:
receiving an input first message, wherein the first message carries identification information of a first task;
acquiring a first test resource corresponding to the identification information from a first test resource set according to the identification information, wherein the first test resource set is determined from a resource pool according to the role of the user, the resource pool stores a plurality of test resource sets, and one test resource set comprises the test resource of each task in a plurality of tasks of one role;
and executing a first test task according to the first test resource, wherein the first test task is used for testing the first task and is distributed.
In the embodiment of the present invention, the first task may be considered as a certain task to be tested, and before the first task is formally tested, it may be considered that the test resources required for testing the first task have been created. For example, a plurality of test resource sets may be created in the resource pool in advance, each test resource set includes various test resources required by one user role, for example, the first test resource set includes all test resources required by the tester to perform various test tasks, and then the test resources required for testing the first task, for example, the first test resources, may be determined from the first test resource set according to the identification information of the current first task, so that the first test task is performed by using the first test resources, and the test on the first task is completed. The first test resource for testing the first task in the method is established in advance, so that the problem that the test resource is difficult to coordinate in the prior art can be solved, and the test efficiency is improved.
Optionally, the method further includes:
receiving an input second message, wherein the second message is used for indicating that the first test resource is changed;
and acquiring a second test resource from the first test resource set according to the second message, wherein the second test resource is a resource after the first test resource is changed.
In the embodiment of the present invention, the tester can know that the currently used first test resource changes through the second message, and then the tester can obtain the updated test resource, for example, the second test resource, from the first test resource set again, so as to perform the test task.
Optionally, the method further includes:
and outputting a first test result, wherein the first test result is an execution result of the first test task and is used for prompting the test progress.
In the embodiment of the invention, when the tester completes the first test task, the first test result corresponding to the first test task can be output, so that the manager is informed of the specific test progress.
Optionally, the method further includes:
and if the first test result indicates that the first task passes the test, updating the state of the first task to be a finished state.
In the embodiment of the present invention, if the first test result shows that the first task passes the test, the state of the first task may be updated, for example, the state of the first task is updated to be completed, so as to enter the test of the next task.
Optionally, the method further includes:
determining a third test resource when a test result of a second test task is not obtained currently, wherein the second test task is used for testing the second task; the second test task is executed earlier than the first test task, the third test resource is used for testing the first task, and the third test resource is different from the first test resource;
and executing the first test task according to the third test resource.
In the embodiment of the present invention, the second test task is executed before the first test task, and then the second test task may be considered as an upstream task of the first test task. When a tester needs to execute a first test task, if a test result of a second test task is not obtained, the second test task is considered to be not executed or the second test task has an error in the test process, and corresponding upstream data cannot be provided temporarily, a simulated test resource, such as a third test resource, can be generated at the moment, and the first task is tested through the simulated test resource, so that the test efficiency is improved.
Optionally, the method further includes:
and receiving an input third message, wherein the third message is used for allocating roles to all users, and different user roles are different.
In the embodiment of the invention, different roles can be considered to have different use permissions for the test resources in the resource pool, and different roles are allocated to different users, so that each user can only use the test resources under the role corresponding to the user.
Optionally, the method further includes:
and if the first test result indicates that the first task test does not pass, outputting prompt information, wherein the prompt information is used for indicating that a program executing the first task has a bug.
In the embodiment of the invention, if the first task test fails, it can be shown that the program related to the execution of the first task may have a bug, and at this time, prompt information can be output, where the prompt information is used to prompt a developer to repair the program executing the first task in time, so as to perform the next test as much as possible.
In a second aspect, an embodiment of the present invention provides a testing apparatus, including:
the receiving module is used for receiving an input first message, and the first message carries identification information of a first task;
an obtaining module, configured to obtain, according to the identification information, a first test resource corresponding to the identification information from a first test resource set, where the first test resource set is determined from a resource pool according to a role of a user, the resource pool stores multiple test resource sets, and one test resource set includes test resources of each task of multiple tasks of one role;
and the execution module is used for executing a first test task according to the first test resource, wherein the first test task is used for testing the first task, and the first test task is distributed.
Optionally, the method further includes:
the receiving module is further configured to receive an input second message, where the second message is used to indicate that the first test resource changes;
the obtaining module is further configured to obtain a second test resource from the first test resource set according to the second message, where the second test resource is a resource in which the first test resource is changed.
Optionally, the method further includes:
and the first output module is used for outputting a first test result, and the first test result is an execution result of the first test task and is used for prompting the test progress.
Optionally, the method further includes:
and the updating module is used for updating the state of the first task to be a finished state if the first test result indicates that the first task passes the test.
Optionally, the method further includes:
the determining module is used for determining a third testing resource when a testing result of a second testing task is not obtained currently, wherein the second testing task is used for testing the second task; the second test task is executed earlier than the first test task, the third test resource is used for testing the first task, and the third test resource is different from the first test resource;
the execution module is further configured to execute the first test task according to the third test resource.
Optionally, the method further includes:
the receiving module is further configured to receive an input third message, where the third message is used to assign roles to each user, and different user roles are different.
Optionally, the method further includes:
and the second output module is further configured to output prompt information if the first test result indicates that the first task test fails, where the prompt information is used to indicate that a program executing the first task has a bug.
In a third aspect, an embodiment of the present invention provides a testing apparatus, where the apparatus includes a processor and a memory, and the execution of the computer program stored in the memory by the processor is a step of implementing the method according to the embodiment of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method as described in the embodiment of the first aspect.
Drawings
Fig. 1 is a schematic diagram of a test system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a testing method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a testing apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a testing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments.
With the increasing demand for the richness of the software system functions, the code amount of the software system becomes huge. And because modern software systems mostly adopt the idea of modular development, for developing a large-scale software system, the cooperation among a plurality of departments is often involved. Under the condition of huge code quantity, it is difficult to ensure that the codes written by different developers in different departments can normally run. Therefore, before the software system is formally on-line, a development team often needs to perform multiple rounds of tests on the software system to find out the bugs existing in the software system as much as possible and repair the bugs in time. However, in the software system testing process, multiple departments are often required to prepare test data and build a test environment in a matching manner, and the test data required by each round of testing may be different, so that the problem that test resources are difficult to coordinate may occur, and the testing efficiency is affected.
In view of this, the embodiment of the present invention provides a testing method, which can establish corresponding testing resources in advance for testing tasks, thereby avoiding the problem that the testing resources are difficult to coordinate, and improving testing efficiency.
For ease of understanding, an application scenario of the embodiment of the present invention is first described. Fig. 1 is a schematic diagram of a test system according to an embodiment of the present invention. Fig. 1 includes a test resource management module 101, a right management module 102, a test task pool management module 103, a test execution management module 104, a simulation interface test module 105, and a test quality evaluation module 106. The test resource management module 101 is mainly used for performing unified management on test resources. For example, the test resources typically include the software system to be tested, interface applications (including access addresses, account numbers, passwords, and ports of the server, etc.), requirement documents, user operation manuals, and the like. The test resources can run through the whole test period, and the corresponding test resources can be changed at any time according to the change of the test requirements. The authority management module 102 mainly allocates different test resource usage authorities to different users participating in the test, so that different users can reasonably use the test resources. For example, the test projects may be classified into testers, developers, demanders, project managers, and the like according to the roles of different users in the test projects. The tester is mainly responsible for interface testing, the developer is mainly responsible for creating and releasing testing resources and solving bugs, the demander is mainly responsible for determining interface requirements, and the project manager is mainly responsible for creating and distributing testing tasks and grasping overall testing progress. The test task pool management module 103 is mainly used for performing unified management on test tasks, and for testers, the testers can clearly know own upstream tasks and downstream tasks; the specific test progress is clearly known to the project manager. The test execution management module 104 is mainly used for managing the test process of the test task. The simulation interface testing module 105 is mainly used for testing the current testing task in a manner of configuring a simulation interface to be tested when testing resources are insufficient, for example, an upstream task of the current testing task progresses slowly, so that the progress of the testing is not affected. The test quality evaluation module 106 is mainly used for counting the smoking one-time pass rate, the defect detection rate, the average defect processing time length, the test workload and other information of the test interface, and continuously optimizing the test flow, so that the test efficiency is improved.
Based on the schematic structural diagram of the test system shown in fig. 1, the following describes a technical solution provided by an embodiment of the present invention with reference to the accompanying drawings. Referring to fig. 2, an embodiment of the invention provides a testing method, and a flow of the method is described as follows:
step 201: the system receives an input first message, wherein the first message carries identification information of a first task.
For the demand personnel, firstly, a corresponding test task needs to be determined according to each business process of the software system to be tested, wherein each stage in one business process can correspond to one test task. For example, the first task may be considered as a test task corresponding to an initial stage, an intermediate stage, or an end stage in a business process of a business related to the system to be tested. In the embodiment of the invention, after determining that the software system to be tested needs to perform the testing task, the requirement personnel can enter the task to be tested into the system and set the corresponding identification information for the task to be tested, so that the relevant testing personnel can know which services included in the software system to be tested need to be tested according to the identification information.
As a possible implementation manner, the system may receive an input first message, where the first message carries identification information of the first task.
Please refer to table 1, which is an information table of the testing task of the software system to be tested. The information table comprises three testing tasks, namely an appointment task, a diagnosis task and a claim settlement task, wherein the three testing tasks can be considered to correspond to a certain service process of the software system to be tested. The first task may be considered to be any one of the three test tasks described above. Meanwhile, the information table at least comprises a task identifier, a start time, an end time, a task state and the like of the test task, so that a tester can develop the test task within a specified time, and the smooth operation of the whole business process test is ensured.
TABLE 1
Task name Task identification Starting time End time Task state
Reservation tasks test_1 20200302 20200304 Unfinished
Task of seeing doctor test_2 20200304 20200306 Unfinished
Claim settlement task test_3 20200306 20200308 Unfinished
Step 202: and the system acquires the first test resource corresponding to the identification information from the first test resource set according to the identification information.
Before a formal test is performed on a first task, a developer creates a plurality of test resource sets in a resource pool of a system, where each test resource set may be considered to include all resources required by a user role in executing different tasks, and when the tester tests the first task, the tester may first obtain a test resource set corresponding to role information from the resource pool according to a pre-allocated role (tester), for example, the system may receive input third information, where the third information is used to allocate roles to users, and different user roles are different, for example, obtain a first test resource set corresponding to the tester, and then obtain a test resource required for testing the first task from the first test resource set.
As a possible implementation manner, the system may obtain, from the first test resource set, the first test resource corresponding to the identification information according to the identification information. For example, the first test resource is an access address, a login account, a login password, a port number, a requirement document, and the like of the system required for testing the first task.
In some embodiments, it is contemplated that the first test resources required to test the first task may be altered in accordance with changes in actual test requirements. That is, the first test resource after the change replaces the first test resource before the change, so that the first test resource before the change cannot be used. If the tester testing the first task still uses the first testing resource before the change to test the first task, the test may fail. It should be appreciated that testing the first task via the first test resource before the change may not satisfy the new test requirements even though the first test resource before the change is still valid. Therefore, when the first test resource for testing the first task is changed, the changed first test resource can be input into the system again, so that a tester can test the first task by using the changed first test resource.
As a possible implementation, the system may receive an incoming second message indicating that the first test resource has changed. For example, a first test resource in the first set of test resources for testing a first task is changed to a second test resource. The system may determine a first set of test resources from the resource pool based on the role of the tester testing the first task. And then, the second test resource can be obtained from the first test resource set through the second message, and a tester for testing the first task can test the first task through the second test resource.
Step 203: the system executes a first test task according to the first test resource.
The first test task may be considered as a task allocated to a tester for testing the first task, and in this embodiment of the present invention, after acquiring the first test resource corresponding to the first task, the system may execute the first test task by using the first test resource, so as to achieve the purpose of testing the first task.
In some embodiments, after the first testing task is completed, the system may notify the project manager of the completion of the testing of the first task, so that the project manager may know the specific progress of each testing task in the software system to be tested.
As a possible implementation manner, the system may output the first test result, which is the execution result of the first test task, for prompting the test progress.
Specifically, if the first test result shows that the first test task is completed, i.e. the first task is deemed to pass the test, the system updates the status information of the first task, for example, updates the status information of the first task from "not completed" to "completed". If the first test result shows that the first test task is not completed, the system can output prompt information which is used for prompting a developer that a program executing the first task has a bug, so that the developer can quickly and accurately find the bug and repair the bug in time.
In some embodiments, given that the first task is strongly associated with the second task, e.g. the second task is an upstream task of the first task, the output data of the second task must be acquired before the first task is tested. Because the first task and the second task are possibly tested by different testers, the test progress may be different or the first task and the second task are tested by the same tester, but a program bug is found in the process of testing the second task and needs to be repaired by a developer. Based on the above possible situations, in order not to affect the testing progress of the first task, the system may generate simulation data corresponding to the first task, and test the first task by using the simulation data.
As a possible implementation manner, when the system does not currently obtain the test result of the second test task, a third test resource may be determined, and the first test task is executed through the third test resource, so as to test the first task.
For example, the second task may be a reservation task and the first task may be a visit task, i.e. the second task is an upstream task of the first task, and then the output data from the second task must be acquired before the first task is tested. If the corresponding program execution fails during the process of testing the second task, the test resources, such as the first test resources, cannot be provided for testing the first task. At this time, in order not to affect the test progress, the system may generate a test resource similar to the first test resource in a simulation manner, for example, the simulation resource is a third test resource. It will be appreciated that the third test resource is not a real test resource, but may still meet the requirements of the testing of the first task.
Referring to fig. 3, based on the same inventive concept, an embodiment of the invention provides a testing apparatus, which includes a receiving module 301, an obtaining module 302, and an executing module 303.
A receiving module 301, configured to receive an input first message, where the first message carries identification information of a first task;
an obtaining module 302, configured to obtain, according to the identification information, a first test resource corresponding to the identification information from a first test resource set, where the first test resource set is determined from a resource pool according to a role of a user, the resource pool stores multiple test resource sets, and one test resource set includes test resources of each task of multiple tasks of one role;
the executing module 303 is configured to execute a first test task according to the first test resource, where the first test task is used to test the first task, and the first test task is allocated.
Optionally, the method further includes:
the receiving module 301 is further configured to receive an input second message, where the second message is used to indicate that the first test resource changes;
the obtaining module 302 is further configured to obtain a second test resource from the first test resource set according to the second message, where the second test resource is a resource after the first test resource changes.
Optionally, the method further includes:
and the first output module is used for outputting a first test result, and the first test result is an execution result of the first test task and is used for prompting the test progress.
Optionally, the method further includes:
and the updating module is used for updating the state of the first task to be a finished state if the first test result indicates that the first task passes the test.
Optionally, the method further includes:
the determining module is used for determining a third testing resource when the testing result of the second testing task is not obtained currently, wherein the second testing task is used for testing the second task; the second test task is executed earlier than the first test task, the third test resource is used for testing the first task, and the third test resource is different from the first test resource;
the executing module 303 is further configured to execute the first test task according to the third test resource.
Optionally, the method further includes:
the receiving module 301 is further configured to receive an input third message, where the third message is used to assign roles to each user, and different user roles are different.
Optionally, the method further includes:
and the second output module is used for outputting prompt information if the first test result indicates that the first task fails to be tested, wherein the prompt information is used for indicating that a program executing the first task has a bug.
Referring to fig. 4, based on the same inventive concept, an embodiment of the present invention provides a testing apparatus, which includes at least one processor 401, where the processor 401 is configured to execute a computer program stored in a memory, and implement the steps of the testing method shown in fig. 2 provided by the embodiment of the present invention.
Optionally, the processor 401 may be specifically a central processing unit, a specific ASIC, and may be one or more integrated circuits for controlling the execution of the program.
Optionally, the testing apparatus may further comprise a memory 402 connected to the at least one processor 401, the memory 402 may comprise ROM, RAM and disk memory. The memory 402 is used for storing data required by the processors 401 during operation, that is, storing instructions executable by the at least one processor 401, and the at least one processor 401 executes the instructions stored in the memory 402 to perform the method shown in fig. 2. The number of the memories 402 is one or more. The memory 402 is also shown in fig. 4, but it should be understood that the memory 402 is not an optional functional block, and is shown in fig. 4 by a dotted line.
The physical devices corresponding to the receiving module 301, the obtaining module 302 and the executing module 303 may be the processor 301. The test apparatus may be used to perform the method provided by the embodiment shown in fig. 2. Therefore, regarding the functions that can be realized by the functional modules in the apparatus, reference may be made to the corresponding description in the embodiment shown in fig. 2, which is not repeated herein.
Embodiments of the present invention also provide a computer storage medium, where the computer storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer is caused to execute the method as described in fig. 2.
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 present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. 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.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method of testing, the method comprising:
receiving an input first message, wherein the first message carries identification information of a first task;
acquiring a first test resource corresponding to the identification information from a first test resource set according to the identification information, wherein the first test resource set is determined from a resource pool according to the role of the user, the resource pool stores a plurality of test resource sets, and one test resource set comprises the test resource of each task in a plurality of tasks of one role;
and executing a first test task according to the first test resource, wherein the first test task is used for testing the first task and is distributed.
2. The method of claim 1, wherein the method further comprises:
receiving an input second message, wherein the second message is used for indicating that the first test resource is changed;
and acquiring a second test resource from the first test resource set according to the second message, wherein the second test resource is a resource after the first test resource is changed.
3. The method of any of claims 1-2, further comprising:
and outputting a first test result, wherein the first test result is an execution result of the first test task and is used for prompting the test progress.
4. The method of claim 3, wherein the method further comprises:
and if the first test result indicates that the first task passes the test, updating the state of the first task to be a finished state.
5. The method of claim 3, wherein the method further comprises:
determining a third test resource when a test result of a second test task is not obtained currently, wherein the second test task is used for testing the second task; the second test task is executed earlier than the first test task, the third test resource is used for testing the first task, and the third test resource is different from the first test resource;
and executing the first test task according to the third test resource.
6. The method of claim 1, wherein the method further comprises:
and receiving an input third message, wherein the third message is used for allocating roles to all users, and different user roles are different.
7. The method of claim 4, wherein the method further comprises:
and if the first test result indicates that the first task test does not pass, outputting prompt information, wherein the prompt information is used for indicating that a program executing the first task has a bug.
8. A test apparatus, the apparatus comprising:
the receiving module is used for receiving an input first message, and the first message carries identification information of a first task;
an obtaining module, configured to obtain, according to the identification information, a first test resource corresponding to the identification information from a first test resource set, where the first test resource set is determined from a resource pool according to a role of a user, the resource pool stores multiple test resource sets, and one test resource set includes test resources of each task of multiple tasks of one role;
and the execution module is used for executing a first test task according to the first test resource, wherein the first test task is used for testing the first task, and the first test task is distributed.
9. A testing apparatus, characterized in that the apparatus comprises at least one processor and a memory connected to the at least one processor, the at least one processor being adapted to carry out the steps of the method according to any of claims 1-7 when executing a computer program stored in the memory.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202010457071.XA 2020-05-26 2020-05-26 Test method and device Active CN111651349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010457071.XA CN111651349B (en) 2020-05-26 2020-05-26 Test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010457071.XA CN111651349B (en) 2020-05-26 2020-05-26 Test method and device

Publications (2)

Publication Number Publication Date
CN111651349A true CN111651349A (en) 2020-09-11
CN111651349B CN111651349B (en) 2023-07-14

Family

ID=72346894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010457071.XA Active CN111651349B (en) 2020-05-26 2020-05-26 Test method and device

Country Status (1)

Country Link
CN (1) CN111651349B (en)

Citations (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331970A (en) * 2011-07-28 2012-01-25 北京航空航天大学 Safety critical system-oriented automatic testing resource management method and platform
CN102411540A (en) * 2012-01-12 2012-04-11 王轶辰 Automatic management system of workflow-based common software testing process
CN102567204A (en) * 2011-12-28 2012-07-11 云海创想信息技术(无锡)有限公司 Method for managing automatic testing data
CN104410543A (en) * 2014-11-19 2015-03-11 中国联合网络通信集团有限公司 An automatic testing method and system based on cloud resource
CN105049435A (en) * 2015-07-21 2015-11-11 重庆邮电大学 Cloud testing framework oriented to protocol conformance of heterogeneous wireless sensor network
CN105159833A (en) * 2015-09-30 2015-12-16 努比亚技术有限公司 Automatic testing device and method
CN105279087A (en) * 2015-10-21 2016-01-27 北京软件产品质量检测检验中心 Test method and test system applied to test software
CN105487977A (en) * 2015-11-30 2016-04-13 北京锐安科技有限公司 Agility-oriented automatic test management system and method
WO2016188077A1 (en) * 2015-05-25 2016-12-01 中兴通讯股份有限公司 Burn-in test method and device
CN106648945A (en) * 2016-09-30 2017-05-10 北京金山安全软件有限公司 Interface data testing method and device and electronic equipment
CN107133096A (en) * 2017-04-13 2017-09-05 新华三技术有限公司 A kind of resource allocation methods and device
CN107197475A (en) * 2016-03-14 2017-09-22 重庆邮电大学 A kind of sensing node identifier resolution method of testing and system based on multithreading
WO2017193737A1 (en) * 2016-05-09 2017-11-16 中兴通讯股份有限公司 Software testing method and system
US20180089066A1 (en) * 2016-09-23 2018-03-29 American Express Travel Related Services Company, Inc. Software testing management
CN108108297A (en) * 2016-11-25 2018-06-01 腾讯科技(深圳)有限公司 The method and apparatus of automatic test
CN108446221A (en) * 2018-03-05 2018-08-24 平安普惠企业管理有限公司 System detection method, device, computer equipment and storage medium
CN108573365A (en) * 2017-03-07 2018-09-25 北京空间技术研制试验中心 The service-oriented and flow state digitized management method of integration test
CN109150653A (en) * 2018-07-24 2019-01-04 北京新能源汽车股份有限公司 Remote hardware-in-loop HIL (hardware in loop) automatic testing method and system
CN109299015A (en) * 2018-10-15 2019-02-01 北京云测网络科技有限公司 A kind of method for testing software, apparatus and system
CN109614310A (en) * 2018-10-22 2019-04-12 中国平安财产保险股份有限公司 Management method, device, computer equipment and the storage medium of test interface
CN109840191A (en) * 2017-11-24 2019-06-04 南京大学 A kind of Android crowdsourcing test feedback method based on step prompt
CN109886651A (en) * 2019-02-20 2019-06-14 福建省农村信用社联合社 A kind of in-house many test tubes reason method and system
CN110083535A (en) * 2019-04-22 2019-08-02 网宿科技股份有限公司 A kind of method for testing software and device
CN110221962A (en) * 2019-04-28 2019-09-10 福建省农村信用社联合社 A kind of centralization software testing management system and method
CN110362474A (en) * 2019-06-13 2019-10-22 上海紫翊网络科技有限公司 A kind of distributed game test method, system, device and storage medium
US20200004664A1 (en) * 2018-06-28 2020-01-02 Lendingclub Corporation Automatic mock enablement in a multi-module software system
CN110990205A (en) * 2019-11-28 2020-04-10 腾讯科技(深圳)有限公司 Interface call testing method, device and computer readable storage medium
CN111130922A (en) * 2019-11-28 2020-05-08 中国航空工业集团公司西安航空计算技术研究所 Airborne information safety automatic test method and test platform

Patent Citations (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331970A (en) * 2011-07-28 2012-01-25 北京航空航天大学 Safety critical system-oriented automatic testing resource management method and platform
CN102567204A (en) * 2011-12-28 2012-07-11 云海创想信息技术(无锡)有限公司 Method for managing automatic testing data
CN102411540A (en) * 2012-01-12 2012-04-11 王轶辰 Automatic management system of workflow-based common software testing process
CN104410543A (en) * 2014-11-19 2015-03-11 中国联合网络通信集团有限公司 An automatic testing method and system based on cloud resource
WO2016188077A1 (en) * 2015-05-25 2016-12-01 中兴通讯股份有限公司 Burn-in test method and device
CN105049435A (en) * 2015-07-21 2015-11-11 重庆邮电大学 Cloud testing framework oriented to protocol conformance of heterogeneous wireless sensor network
CN105159833A (en) * 2015-09-30 2015-12-16 努比亚技术有限公司 Automatic testing device and method
CN105279087A (en) * 2015-10-21 2016-01-27 北京软件产品质量检测检验中心 Test method and test system applied to test software
CN105487977A (en) * 2015-11-30 2016-04-13 北京锐安科技有限公司 Agility-oriented automatic test management system and method
CN107197475A (en) * 2016-03-14 2017-09-22 重庆邮电大学 A kind of sensing node identifier resolution method of testing and system based on multithreading
WO2017193737A1 (en) * 2016-05-09 2017-11-16 中兴通讯股份有限公司 Software testing method and system
US20180089066A1 (en) * 2016-09-23 2018-03-29 American Express Travel Related Services Company, Inc. Software testing management
CN106648945A (en) * 2016-09-30 2017-05-10 北京金山安全软件有限公司 Interface data testing method and device and electronic equipment
CN108108297A (en) * 2016-11-25 2018-06-01 腾讯科技(深圳)有限公司 The method and apparatus of automatic test
CN108573365A (en) * 2017-03-07 2018-09-25 北京空间技术研制试验中心 The service-oriented and flow state digitized management method of integration test
CN107133096A (en) * 2017-04-13 2017-09-05 新华三技术有限公司 A kind of resource allocation methods and device
CN109840191A (en) * 2017-11-24 2019-06-04 南京大学 A kind of Android crowdsourcing test feedback method based on step prompt
CN108446221A (en) * 2018-03-05 2018-08-24 平安普惠企业管理有限公司 System detection method, device, computer equipment and storage medium
US20200004664A1 (en) * 2018-06-28 2020-01-02 Lendingclub Corporation Automatic mock enablement in a multi-module software system
CN109150653A (en) * 2018-07-24 2019-01-04 北京新能源汽车股份有限公司 Remote hardware-in-loop HIL (hardware in loop) automatic testing method and system
CN109299015A (en) * 2018-10-15 2019-02-01 北京云测网络科技有限公司 A kind of method for testing software, apparatus and system
CN109614310A (en) * 2018-10-22 2019-04-12 中国平安财产保险股份有限公司 Management method, device, computer equipment and the storage medium of test interface
CN109886651A (en) * 2019-02-20 2019-06-14 福建省农村信用社联合社 A kind of in-house many test tubes reason method and system
CN110083535A (en) * 2019-04-22 2019-08-02 网宿科技股份有限公司 A kind of method for testing software and device
CN110221962A (en) * 2019-04-28 2019-09-10 福建省农村信用社联合社 A kind of centralization software testing management system and method
CN110362474A (en) * 2019-06-13 2019-10-22 上海紫翊网络科技有限公司 A kind of distributed game test method, system, device and storage medium
CN110990205A (en) * 2019-11-28 2020-04-10 腾讯科技(深圳)有限公司 Interface call testing method, device and computer readable storage medium
CN111130922A (en) * 2019-11-28 2020-05-08 中国航空工业集团公司西安航空计算技术研究所 Airborne information safety automatic test method and test platform

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
常博翃: "SaaS模式的信息管理软件自动化测试系统的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
林奇;: "基于云计算的测试管理平台", 科技传播, no. 17 *

Also Published As

Publication number Publication date
CN111651349B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
CN103873534B (en) A kind of application cluster moving method and device
WO2019104916A1 (en) Development role creation method, device and equipment for test case, and storage medium
CN110162481A (en) A kind of method for testing software, device, equipment and storage medium
CN110163572B (en) Chain code function processing method, device and equipment
CN110084486B (en) Resource management method and device
US20200104246A1 (en) Continuous automation with test suite engine
CN111966597B (en) Test data generation method and device
JP2012123789A (en) Parallel work load simulation for application performance test
US8074119B1 (en) Method and apparatus for providing a multi-scope bug tracking process
CN110083535A (en) A kind of method for testing software and device
CN109558146A (en) Application issued method, apparatus and storage medium
CN114675987A (en) Cache data processing method and device, computer equipment and storage medium
CN105468507A (en) Branch fulfillment detection method and apparatus
CN110597728A (en) Method, device and system for constructing test data
CN111897725B (en) Automatic test method, medium, equipment and system for middle platform service
CN111966665B (en) Data migration testing method and device
CN111651349B (en) Test method and device
CN112114954B (en) Method and device for job scheduling configuration of software system
CN115330171A (en) Business process control method and device, computer equipment and readable storage medium
CN112231217B (en) Method and device for implementing functional test in duplicate mode
CN114936152A (en) Application testing method and device
CN114924971A (en) Test environment deployment method and device
CN114968508A (en) Task processing method, device, equipment and storage medium
CN113051178A (en) Test data construction method, device, equipment and medium
CN113515452A (en) Automatic test method and system for application, electronic equipment and 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
GR01 Patent grant
GR01 Patent grant