CN111538672A - Test case layered test method, computer device and computer-readable storage medium - Google Patents

Test case layered test method, computer device and computer-readable storage medium Download PDF

Info

Publication number
CN111538672A
CN111538672A CN202010479476.3A CN202010479476A CN111538672A CN 111538672 A CN111538672 A CN 111538672A CN 202010479476 A CN202010479476 A CN 202010479476A CN 111538672 A CN111538672 A CN 111538672A
Authority
CN
China
Prior art keywords
test
tested
functional
path
testing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010479476.3A
Other languages
Chinese (zh)
Inventor
舒清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202010479476.3A priority Critical patent/CN111538672A/en
Publication of CN111538672A publication Critical patent/CN111538672A/en
Pending legal-status Critical Current

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/3684Test management for test design, e.g. generating new test cases
    • 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 relates to the technical field of testing, and discloses a test case layered testing method, which comprises the following steps: acquiring a test layering strategy for testing a target system; layering the target system according to the test layering strategy to obtain a plurality of functional points to be tested of the target system; extracting basic information of the functional point to be tested, wherein the basic information comprises identification information, priority and coupling of the functional point to be tested; and executing a test on each functional point to be tested based on the basic information and a preset automatic test script. The invention also provides a computer device and a computer readable storage medium. The invention can realize the layering of the target system, considers the coupling among the functional points to be tested in the test process, automatically tests the obtained functional points to be tested and solves the common data dependence problem of automatic test.

Description

Test case layered test method, computer device and computer-readable storage medium
Technical Field
The invention relates to the technical field of computer testing, in particular to a test case layered testing method, computer equipment and a computer readable storage medium.
Background
In the testing process of an internet product or other software systems, a target system comprises a plurality of functions, each tiny function can not be completely covered by complete product testing, and the target system is generally required to be divided.
However, when the functions of the target system are divided, the functions are dependent on each other, so that the divided minimum test unit usually integrally processes a plurality of function points having dependency relationships, which results in that the divided test unit is too large, and a data dependency relationship exists inside the test unit, and the automated test usually performs a single function test, in which case, the test unit cannot be effectively tested by using the automated test. Therefore, the technical defects of the existing test case hierarchical testing scheme include that:
functional points with dependency relationships in the test units cannot be well split, so that the obtained minimum test unit has strong coupling;
for a test unit internally containing data dependency, the test is poor, and the problem of automatic test data dependency is caused.
Disclosure of Invention
In view of the above, the present invention provides a test case layering test method, a computer device and a computer readable storage medium, and mainly aims to achieve layering of a target system, take the coupling between test points into consideration in a test process, automatically test obtained function points to be tested, and solve a common data dependency problem in an automatic test.
In order to achieve the above object, the present invention provides a test case layered test method, which comprises:
acquiring a test layering strategy for testing a target system, wherein the test layering strategy is preset according to a test requirement;
layering the target system according to the test layering strategy to obtain a plurality of functional points to be tested of the target system, wherein each functional point to be tested is a minimum partition unit obtained by dividing the target system according to functions;
extracting basic information of the functional point to be tested, wherein the basic information comprises identification information, priority and coupling of the functional point to be tested;
and executing a test on each functional point to be tested based on the basic information and a preset automatic test script.
In addition, to achieve the above object, the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and being executable on the processor, wherein the memory stores a test case hierarchical test program, and the test case hierarchical test program, when executed by the processor, can implement the steps of any test case hierarchical test method.
In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a test case hierarchical testing program, and when the test case hierarchical testing program is executed by a processor, any one of the steps of the test case hierarchical testing method can be implemented.
According to the test case layering test method, the computer equipment and the computer readable storage medium, after a test layering strategy for testing a target system is obtained, the target system is layered according to the test layering strategy to obtain a plurality of to-be-tested function points of the target system; then extracting basic information of the function point to be tested, wherein the basic information is identification information, priority and coupling of the function point to be tested; and then, testing each function point to be tested based on the basic information and a preset automatic test script. The target system is layered, the coupling between the functional points to be tested is considered in the test process, the obtained functional points to be tested are automatically tested, and the common data dependence problem of automatic test is solved.
Drawings
FIG. 1 is a flow chart of a test case hierarchical testing method according to a preferred embodiment of the present invention;
FIG. 2 is a detailed flowchart of step S4 in FIG. 1;
FIG. 3 is a block diagram of a preferred embodiment of a test case layered test apparatus according to the present invention;
FIG. 4 is a diagram illustrating a user equipment according to a preferred embodiment of the present invention;
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a test case layered test method.
Referring to fig. 1, a flow chart of a preferred embodiment of the test case layering test method of the present invention is shown, the method includes the following steps:
and S1, acquiring a test layering strategy for testing the target system.
It should be noted that the test layering policy is a processing scheme for layering the target system, and may be a scheme set in advance by the user. The specific scheme can be set according to different test requirements of users, and the embodiment of the invention is not specifically specified.
And S2, layering the target system according to the test layering strategy to obtain a plurality of functional points to be tested of the target system.
It should be noted that, a target system is functionally divided until the target system is divided into individual test basic units, where the test basic unit is a function point to be tested, and the function point to be tested is a module with a certain function in general.
In a specific implementation, the target system may be divided into different functional modules from the functional module, for example, an application module, an identity authentication module, a payment module, and an order management module, and each module may be further divided into the most basic test units.
In an implementation manner of the present invention, a smallest partition unit serves as a smallest functional point, and cannot be partitioned again. When the interface data stream does not have the common table, the functional module can not be continuously divided. If the segmentation is not possible, it means that the minimum is reached, otherwise the segmentation can be continued. In addition, other manners may also be adopted to divide the minimum test unit, and the embodiment of the present invention is not particularly limited.
S3, extracting basic information of the function point to be tested, wherein the basic information comprises identification information, priority and coupling of the function point to be tested.
It can be understood by those skilled in the art that the identification information of the function point to be tested may be a name of the function point to be tested, or other numbers that can uniquely determine the function point to be tested, so long as the function point to be tested can be uniquely determined.
It will be understood by those skilled in the art that since the functional points under test are coupled, a test sequence may occur between two functional points under test.
For example, the function point a to be tested and the function point B to be tested are dependent on each other, so that the priority is determined according to the dependency relationship, or the development user performs the manually specified priority, which can achieve the setting of the priority of the function point to be tested. The coupling of the function point can be expressed by whether the function point to be tested has a coupling relationship with other function points or not, and the number of other function points to be tested having a coupling relationship with the function point to be tested, for example, the function point to be tested B has a coupling relationship with the function point to be tested a, and also has a coupling relationship with the function point to be tested C.
For example, the coupling of the corresponding function point may be marked as 2, that is, it indicates that it has a coupling relationship with two function points to be tested, and only the function point that must be tested later may be labeled with the coupling, for example, the coupling of the function point B to be tested later is marked as 2, which indicates that it corresponds to the function point to be tested that has two previous tests.
And S4, executing a test on each functional point to be tested based on the basic information and a preset automatic test script.
It should be noted that, the automated test script performs a test on each function point to be tested in the target system, and the test sequence is performed according to basic information, for example, a function point to be tested with a high priority is tested first, and after the test on the function point to be tested with the high priority is completed, the test is performed on other function points to be tested according to the coupling, for example, when a subsequent function point to be tested B is tested, it is necessary to confirm whether the previous function point to be tested a and the previous function point to be tested C are already tested, if the test is completed and the function point to be tested C passes, the function point to be tested B is tested, otherwise, the function point to be tested a and the function point to be tested C are executed.
It should be noted that the target system includes many functional points to be tested, and in order to improve the testing efficiency of the functional points to be tested and reduce the testing time of the complex target system, the step S4 specifically includes:
s401, according to the coupling of the functional points to be tested, performing association combination on a plurality of functional points to be tested with coupling relation.
S402, determining the test sequence of each functional point to be tested according to the priority of each functional point to be tested and the association combination.
And S403, sequentially testing each functional point to be tested according to the determined test sequence.
It should be noted that, the functional points to be tested may be preset with priorities, where a higher priority needs to be tested first, and a lower priority needs to be tested after the higher priority functional points are placed, so that the test sequence of the functional points to be tested may affect the accuracy of the test.
Illustratively, the test result of the function point B to be tested can be ensured only after the function point a to be tested passes the test, for example, if the function point a to be tested passes the test, the function point B to be tested passes the test, it indicates that the function point a to be tested passes the test, if the function point a to be tested does not pass the test, it also indicates that the function point B to be tested does not pass the test, because the test result is influenced by the function point a to be tested, the priority of the function point a to be tested must be set to be higher in such a case, so as to ensure that the function point a to be tested will be tested first and the function point B to be tested will be tested later. The functional point B to be tested has coupling with the functional point A to be tested and also has coupling with the functional point C to be tested, so that the functional point A to be tested, the functional point B to be tested and the functional point C to be tested can be subjected to associated combination test.
Therefore, after the test layering strategy for testing the target system is obtained, the target system is layered according to the test layering strategy to obtain a plurality of functional points to be tested of the target system; then extracting basic information of the function point to be tested, wherein the basic information comprises identification information, priority and coupling of the function point to be tested; and then, testing each function point to be tested based on the basic information and a preset automatic test script. The target system is layered, the coupling between the functional points to be tested is considered in the test process, the obtained functional points to be tested are automatically tested, and the common data dependence problem of automatic test is solved.
It can be understood that the function points to be tested are modules with certain functions, and the functions are single, and if a complete function needs to be realized, the function points to be tested need to be combined during testing. Therefore, the embodiment of the invention further comprises:
and combining the multiple functional points to be tested to generate multiple paths to be tested based on the function corresponding to each functional point to be tested and the preset test requirement.
Generating a to-be-tested path set based on each function of each to-be-tested function point and the to-be-tested requirement, wherein the to-be-tested path set comprises one or more to-be-tested paths, and each to-be-tested path comprises a plurality of to-be-tested function points;
and testing each path to be tested in the path set to be tested.
It can be understood that, a requirement to be tested needs to be completed by matching a plurality of function points to be tested, for example, to implement registration of a user, the function point receives a user registration request, the function point stores user registration information, and the function point returns the user registration information to the user. When the data transmission connection of each function point on the path is completely finished, the path is a smooth path, and a certain function can be realized, so that each function point has a corresponding function characteristic. For example, the user registration request is received by the function point that receives the user registration request, the user registration information is stored by the function point that stores the user registration information, and the information is fed back to the user registration function at the function point that is returned by the user registration information.
In an embodiment of the present invention, in order to facilitate automatic combination of test paths, so as to determine multiple test paths, so as to obtain multiple test combination test modes, in the present invention, the step of generating a set of paths to be tested based on each function of each function point to be tested and the requirement to be tested includes:
determining a combination mode of the functional points to be tested according to the combination of the functions required by the test requirements and the function corresponding to each functional point to be tested;
and combining the corresponding multiple functional points to be tested according to the combination mode, and determining the path to be tested corresponding to the test requirement.
In a specific implementation, multiple functions may be combined, for example, the functions may be represented by keywords, the keywords corresponding to the test requirement may be matched with the keywords corresponding to the functions of the function point to be tested, specifically, matching may be performed by similarity calculation of the keywords, and when the similarity value is greater than a preset value, the matching is considered successful, otherwise, the matching is unsuccessful. And then combining through the keywords so as to realize the combination of the functional points to be tested, so as to correspond to the test path.
It should be noted that the combination mode is to combine the arrays corresponding to each keyword, and the combined result may be in the form of a vector.
It can be understood that, when a test path formed by a plurality of functional points to be tested passes the test, it can only indicate that the function is complete inside the target system, and it can be understood that the target system often needs to interact with the outside, for example, interact with a client, which may refer to a client such as a mobile terminal, or a request trigger client for sending a trigger request set by a user in the development process.
Therefore, in the embodiment of the present invention, the method further includes: configuring at least one request triggering client for the path to be tested based on a preset request triggering client; and testing the corresponding path to be tested based on the test request instruction sent by each request trigger client. Therefore, the path also comprises the request trigger client and each path to be tested for testing, so that closed-loop testing of the request trigger client and each path to be tested is formed, the function of actual testing is simulated, and the testing reliability is improved.
The step of testing the corresponding path to be tested based on the test request instruction sent by each request trigger client comprises the following steps: each configured request triggering client sends a request, tests are executed through the path to be tested, and the request processing result is fed back to the request triggering client after the tests are finished; and acquiring a test processing result of the path to be tested based on the request sent by the request trigger client and the request processing result corresponding to the test path.
In a specific implementation manner, one request triggering client may be configured for each path to be detected, or multiple request triggering clients are configured to send requests for the corresponding path to be detected, where the request sent by the request triggering client generates a request processing result after being processed by the path to be detected. And returning a request processing result generated after the path to be tested is processed to the request client, wherein the request triggering client can perform comparison or perform comparison through a test system, so as to determine whether the request processing result is correct, namely determine the test processing result.
In order to facilitate the subsequent search of the test data, the method further comprises the following steps: forming a one-to-one corresponding relation between each path to be tested and the automatic test script; for each path to be tested, obtaining test information after the test is finished by adopting the corresponding automatic script; and storing the test information in a database.
In the embodiment of the invention, the path to be tested and the automatic test scripts form a corresponding relation, and the test information obtained after the test of each automatic script is finished or in the test process is respectively stored in the database, specifically, the test information can be stored by adopting folders, and one automatic script corresponds to one folder, so that a target system corresponds to one large folder.
The invention also provides a test case layered test device. Fig. 3 is a schematic diagram of a test case layered testing apparatus according to a preferred embodiment of the present invention.
In this embodiment, the test case hierarchical testing apparatus 1 may be a computer device such as a server, where the server may be a rack-mounted server, a blade server, a tower server, or a cabinet server, and may be an independent server, or a server cluster composed of a plurality of servers.
The test case layering test device 1 is suitable for the test case layering test method, and the test case layering test device 1 comprises: memory 11, processor 12, and network interface 13.
The memory 11 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 11 may in some embodiments be an internal storage unit of the test case layering test device 1, for example a hard disk of the test case layering test device 1. The memory 11 may also be an external storage device of the test case hierarchy testing apparatus 1 in other embodiments, such as a plug-in hard disk, a Smart Memory Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the test case hierarchy testing apparatus 1. Further, the memory 11 may also comprise both an internal storage unit and an external storage device of the test case hierarchical testing apparatus 1.
The memory 11 may be used not only to store application software installed in the test case hierarchical testing apparatus 1 and various types of data, such as the test case hierarchical testing program 10 corresponding to the test case hierarchical testing method, but also to temporarily store data that has been output or is to be output.
The processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip in some embodiments, and is used for running program codes or Processing data stored in the memory 11, such as the test case hierarchical test program 10.
The network interface 13 may optionally comprise a standard wired interface, a wireless interface (e.g. WI-FI interface), typically used for establishing a communication connection between the test case layered test apparatus 1 and other electronic devices, such as a user terminal. The components 11-13 of the test case hierarchical testing device 1 communicate with each other via a communication bus.
Fig. 3 shows only the test case layered testing apparatus 1 with the components 11-13, and it will be understood by those skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the test case layered testing apparatus 1, and may comprise fewer or more components than shown, or a combination of certain components, or a different arrangement of components.
Referring to fig. 4, the user terminal 2 is a terminal connected to the test case layering testing apparatus 1, and fig. 4 is a schematic diagram of a preferred embodiment of the user terminal 2. The user terminal 2 may be the request trigger client described in the above embodiments.
In the present embodiment, the user terminal 2 may be a terminal device having a data processing function, such as a server, a smart phone, a tablet computer, a portable computer, or a desktop computer.
The user terminal 2 comprises a first memory 21, a second processor 22 and a first network interface 23, wherein the first memory 21 stores a first test case hierarchical test program 20.
The first memory 21 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The first memory 21 may in some embodiments be an internal storage unit of said user terminal 2, e.g. a hard disk of the user terminal 2. The first memory 21 may also be an external storage device of the user terminal 2 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the user terminal 2. Further, the first memory 21 may also include both an internal storage unit and an external storage device of the user terminal 2.
The first memory 21 may be used not only to store the application software installed in the user terminal 2 and various types of data, such as the first test case hierarchical test program 20, but also to temporarily store data that has been output or will be output.
The first processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip in some embodiments, and is used for running the program codes stored in the first memory 21 or Processing data, such as the first test case hierarchical test program 20.
The first network interface 23 may optionally comprise a standard wired interface, a wireless interface (e.g. WI-FI interface), typically used for establishing a communication connection between the user terminal 2 and other electronic devices, such as the test case hierarchical testing apparatus 1. The components 21-23 of the user terminal 2 communicate with each other via a communication bus.
Fig. 4 only shows the user terminal 2 with components 21-23, and it will be understood by those skilled in the art that the structure shown in fig. 4 does not constitute a limitation of the user terminal 2, and may comprise fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
Optionally, the user terminal 2 may further comprise a user interface, which may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and an optional user interface which may also comprise a standard wired interface, a wireless interface.
Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an Organic Light-Emitting Diode (OLED) touch screen, or the like. The display, which may also be referred to as a display screen or display unit, is used, among other things, for displaying information processed in the user terminal 2 and for displaying a visualized user interface.
Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an Organic Light-Emitting Diode (OLED) touch screen, or the like. The display, which may also be referred to as a display screen or display unit, is used, among other things, for displaying information processed in the user terminal 3 of the second user and for displaying a visualized user interface.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a test case layered test program 10 corresponding to the test case layered test method, and the test case layered test program 10 implements the steps of the test case layered test method when executed by a processor.
The embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiment of the test case hierarchical testing method, and will not be described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method 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, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A test case layered test method is characterized by comprising the following steps:
acquiring a test layering strategy for testing a target system, wherein the test layering strategy is preset according to a test requirement;
layering the target system according to the test layering strategy to obtain a plurality of functional points to be tested of the target system, wherein each functional point to be tested is a minimum partition unit obtained by dividing the target system according to functions;
extracting basic information of the functional point to be tested, wherein the basic information comprises identification information, priority and coupling of the functional point to be tested;
and executing a test on each functional point to be tested based on the basic information and a preset automatic test script.
2. The method for layered test of test cases according to claim 1, wherein after the step of performing the test on each of the functional points to be tested based on the basic information and the preset automated test script, the method further comprises:
generating a path set to be tested based on the function corresponding to each function point to be tested and the test requirement, wherein the path set to be tested comprises one or more paths to be tested, and each path to be tested comprises a plurality of function points to be tested;
and testing each path to be tested in the path set to be tested.
3. The method for layered test of test cases according to claim 2, wherein after the step of testing each path to be tested in the set of paths to be tested, the method further comprises:
configuring at least one request triggering client for each path to be tested;
and performing external interactive test on the path to be tested corresponding to each request trigger client based on the test request instruction sent by each request trigger client.
4. The method for layered testing of test cases according to claim 3, wherein the step of performing external interactive testing on the path to be tested corresponding to each request trigger client based on the test request instruction sent by each request trigger client comprises:
based on a test request instruction sent by each request trigger client, executing a test through a path to be tested corresponding to the request trigger client, and feeding back a request processing result to the request trigger client after the test is finished;
and acquiring a test processing result of the path to be tested based on the test request instruction sent by the request trigger client and the corresponding request processing result.
5. The method for layered test of test cases according to claim 1, wherein the step of performing the test on each functional point to be tested based on the basic information and the preset automated test script comprises:
according to the coupling of the functional points to be tested, performing association combination on a plurality of functional points to be tested with coupling relation;
determining the test sequence of each functional point to be tested according to the priority of each functional point to be tested and the association combination;
and sequentially testing each functional point to be tested according to the determined test sequence.
6. The method for layered testing of test cases according to claim 2, wherein the step of generating a set of paths to be tested based on the function corresponding to each functional point to be tested and the test requirement comprises:
determining a combination mode of the functional points to be tested according to the combination of the functions required by the test requirements and the function corresponding to each functional point to be tested;
and combining the corresponding multiple functional points to be tested according to the combination mode, and determining the path to be tested corresponding to the test requirement.
7. The test case layering test method according to any one of claims 1 to 6, wherein the step of layering the target system according to the test layering policy to obtain a plurality of functional points to be tested of the target system includes:
dividing the target system into a plurality of functional modules according to different functions;
and determining whether the functional module is continuously divided according to whether the interface data stream has a common table, and taking each minimum division unit as a functional point to be detected so as to obtain a plurality of functional points to be detected, wherein when the interface data stream does not have the common table, the functional module can not be continuously divided.
8. The method for layered test of test cases according to claim 2, wherein after the step of testing each path to be tested in the set of paths to be tested, the method further comprises:
forming a one-to-one correspondence relationship between each path to be tested and the automatic test script;
for each path to be tested, obtaining test information after the test is finished by adopting the corresponding automatic script;
and storing the test information in a database.
9. Computer arrangement, characterized in that the computer arrangement comprises a memory, a processor and a computer program stored on the memory and executable on the processor, the memory having stored therein a test case hierarchical test program which, when executed by the processor, can carry out the steps of the test case hierarchical test method according to one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a test case layering test program, which when executed by a processor, implements the steps of the test case layering test method according to any one of claims 1 to 8.
CN202010479476.3A 2020-05-29 2020-05-29 Test case layered test method, computer device and computer-readable storage medium Pending CN111538672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010479476.3A CN111538672A (en) 2020-05-29 2020-05-29 Test case layered test method, computer device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010479476.3A CN111538672A (en) 2020-05-29 2020-05-29 Test case layered test method, computer device and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN111538672A true CN111538672A (en) 2020-08-14

Family

ID=71976604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010479476.3A Pending CN111538672A (en) 2020-05-29 2020-05-29 Test case layered test method, computer device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN111538672A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984539A (en) * 2020-08-25 2020-11-24 北京微步在线科技有限公司 Automatic testing method and device for webpage front end
CN113778845A (en) * 2020-11-17 2021-12-10 北京沃东天骏信息技术有限公司 System testing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080068385A (en) * 2007-01-19 2008-07-23 슈어소프트테크주식회사 Program test system, method and computer readable medium on which program for executing the method is recorded
CN102169183A (en) * 2010-12-10 2011-08-31 北京空间飞行器总体设计部 Test atom based method for automatically testing satellites
CN107748720A (en) * 2017-11-24 2018-03-02 中国银行股份有限公司 A kind of method and device of the service parameter of detection function test cases
CN107832231A (en) * 2017-12-05 2018-03-23 郑州云海信息技术有限公司 A kind of system detection method, device and medium
CN108073510A (en) * 2016-11-15 2018-05-25 中国移动通信集团安徽有限公司 Method for testing software and device
CN111191228A (en) * 2019-12-20 2020-05-22 京东数字科技控股有限公司 Service processing method and device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080068385A (en) * 2007-01-19 2008-07-23 슈어소프트테크주식회사 Program test system, method and computer readable medium on which program for executing the method is recorded
CN102169183A (en) * 2010-12-10 2011-08-31 北京空间飞行器总体设计部 Test atom based method for automatically testing satellites
CN108073510A (en) * 2016-11-15 2018-05-25 中国移动通信集团安徽有限公司 Method for testing software and device
CN107748720A (en) * 2017-11-24 2018-03-02 中国银行股份有限公司 A kind of method and device of the service parameter of detection function test cases
CN107832231A (en) * 2017-12-05 2018-03-23 郑州云海信息技术有限公司 A kind of system detection method, device and medium
CN111191228A (en) * 2019-12-20 2020-05-22 京东数字科技控股有限公司 Service processing method and device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984539A (en) * 2020-08-25 2020-11-24 北京微步在线科技有限公司 Automatic testing method and device for webpage front end
CN113778845A (en) * 2020-11-17 2021-12-10 北京沃东天骏信息技术有限公司 System testing method and device

Similar Documents

Publication Publication Date Title
CN108564339B (en) Account management method, device, terminal equipment and storage medium
CN108984388B (en) Method and terminal equipment for generating automatic test case
CN110716783A (en) Front-end page generation and deployment method and device, storage medium and equipment
CN110119292B (en) System operation parameter query method, matching method, device and node equipment
US10181024B2 (en) Method, device, and system for updating authentication information
CN106027644B (en) Service verification method and system
US20120096030A1 (en) Method and apparatus for providing search results by using previous query
CN107807841B (en) Server simulation method, device, equipment and readable storage medium
CN110321284B (en) Test data entry method, device, computer equipment and storage medium
CN111538672A (en) Test case layered test method, computer device and computer-readable storage medium
CN111538659A (en) Interface testing method and system for service scene, electronic device and storage medium
CN112395182A (en) Automatic testing method, device, equipment and computer readable storage medium
CN111209061A (en) Method and device for filling in user information, computer equipment and storage medium
US11146571B2 (en) Data transmission method, apparatus, terminal device, and medium
CN103220327B (en) user information storage method and device
CN114546220A (en) Page configuration method and device, storage medium and computer equipment
CN110532186B (en) Method, device, electronic equipment and storage medium for testing by using verification code
CN110471708B (en) Method and device for acquiring configuration items based on reusable components
CN113468446A (en) Method, system and equipment for supporting identification of third-party two-dimensional code data
CN110737662A (en) data analysis method, device, server and computer storage medium
CN109634827A (en) Method and apparatus for generating information
CN113885963B (en) Secondary development file execution method, device and storage medium
CN113190465B (en) Test information processing method, device, equipment and storage medium
CN112383434B (en) Interface simulation method and device for network request, electronic equipment and storage medium
CN110347960B (en) Data transfer processing method, device, 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