CN113742246A - Information processing method and device for test case, electronic equipment and storage medium - Google Patents
Information processing method and device for test case, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113742246A CN113742246A CN202111098232.1A CN202111098232A CN113742246A CN 113742246 A CN113742246 A CN 113742246A CN 202111098232 A CN202111098232 A CN 202111098232A CN 113742246 A CN113742246 A CN 113742246A
- Authority
- CN
- China
- Prior art keywords
- time point
- test case
- target
- target test
- point data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 246
- 230000010365 information processing Effects 0.000 title claims abstract description 36
- 238000003672 processing method Methods 0.000 title claims abstract description 26
- 238000000034 method Methods 0.000 claims abstract description 24
- 238000004590 computer program Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 230000008859 change Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The application discloses an information processing method and device for a test case, electronic equipment and a storage medium, which can be applied to the financial field or other fields, wherein the information processing method for the test case comprises the following steps: reading target time point data; the target time point data is the time point data corresponding to the current target test case; acquiring keywords corresponding to the target test case; wherein, the keywords corresponding to the target test case at least comprise one keyword; matching the optimal executable time point of the target test case from the target time point data according to the keywords corresponding to the target test case; and feeding back the optimal executable time point of the target test case to a user, thereby ensuring that the scarce resource at the time point is effectively utilized. Therefore, the method for automatically matching the time points of the test cases meeting the requirements of the user is realized, and the matching efficiency and accuracy are effectively ensured.
Description
Technical Field
The present disclosure relates to data processing methods, and in particular, to an information processing method and apparatus for a test case, an electronic device, and a storage medium.
Background
With the continuous improvement of production efficiency, the business functions in the bank system are also continuously updated, so that the updated functions need to be tested efficiently.
In the existing testing process, the test cases can not be executed at all time points, so that batch time point data which can be executed by the test cases is configured in advance. Such points in time are a scarce resource because of time constraints of the project cycle, and within a test cycle, tens of thousands of test cases may be dependent on the point in time. For different test cases, under different conditions, the time points required to be executed may be different, so that the existing tester can find out the time points meeting the conditions from the time point data table according to the requirements of the test cases to be executed.
However, the problem of matching error is easy to occur and the efficiency is relatively low by manually searching the time point by a tester.
Disclosure of Invention
Based on the defects of the prior art, the application provides an information processing method and device for a test case, electronic equipment and a storage medium, so as to solve the problem that the prior art is low in efficiency and accuracy.
In order to achieve the above object, the present application provides the following technical solutions:
a first aspect of the present application provides an information processing method for a test case, including:
reading target time point data; the target time point data is the time point data corresponding to the current target test case;
acquiring keywords corresponding to the target test case; wherein, the keywords corresponding to the target test case at least comprise one keyword;
matching the optimal executable time point of the target test case from the target time point data according to the keywords corresponding to the target test case;
and feeding back the optimal executable time point of the target test case to a user.
Optionally, in the information processing method for a test case, before matching the optimal executable time point of the target test case from the target time point data according to the keyword corresponding to the target test case, the method further includes:
initializing the target time point data according to a preset time point initialization rule;
initializing the keywords corresponding to the target test case according to a preset keyword initialization rule;
wherein, the matching the optimal executable time point of the target test case from the target time point data according to the keyword corresponding to the target test case comprises:
and matching the optimal executable time point of the target test case from the initialized target time point data according to the keywords corresponding to the initialized target test case.
Optionally, in the information processing method for a test case, the matching the optimal executable time point of the target test case from the target time point data according to the keyword corresponding to the target test case includes:
according to the attribute information of each time point in the target time point data, determining a time point matched with each keyword corresponding to the target test case from the target time point data;
and determining the time point closest to the current time point in the time points matched with each keyword corresponding to the determined target test case as the optimal executable time point of the target test case.
Optionally, in the information processing method for test cases, the reading of the target point-in-time data includes:
reading target time point data corresponding to each implementation environment of the target test case from a specified path;
wherein, the matching the optimal executable time point of the target test case from the target time point data according to the keyword corresponding to the target test case comprises:
and respectively matching the best executable time point of the target test case in the implementation environment from the target time point data corresponding to the implementation environment of the target test case according to the keywords corresponding to the target test case aiming at the implementation environment of each target test case.
A second aspect of the present application provides an information processing apparatus for a test case, including:
a reading unit configured to read target point-in-time data; the target time point data is the time point data corresponding to the current target test case;
the acquisition unit is used for acquiring keywords corresponding to the target test case; wherein, the keywords corresponding to the target test case at least comprise one keyword;
the matching unit is used for matching the optimal executable time point of the target test case from the target time point data according to the keyword corresponding to the target test case;
and the feedback unit is used for feeding back the optimal executable time point of the target test case to a user.
Optionally, in the information processing apparatus for test cases, the method further includes:
the first initialization unit is used for initializing the target time point data according to a preset time point initialization rule;
the second initialization unit is used for initializing the keywords corresponding to the target test case according to a preset keyword initialization rule;
when the matching unit executes the keyword corresponding to the target test case and matches the optimal executable time point of the target test case from the target time point data, the matching unit is configured to:
and matching the optimal executable time point of the target test case from the initialized target time point data according to the keywords corresponding to the initialized target test case.
Optionally, in the information processing apparatus for test cases described above, the matching unit includes:
the matching subunit is used for determining a time point matched with each keyword corresponding to the target test case from the target time point data according to the attribute information of each time point in the target time point data;
and the determining unit is used for determining the time point closest to the current time point in the time points matched with each keyword corresponding to the determined target test case as the optimal executable time point of the target test case.
Optionally, in the information processing apparatus for test cases described above, the reading unit includes:
the reading subunit is used for reading target time point data corresponding to each implementation environment of the target test case from a specified path;
when the matching unit executes the keyword corresponding to the target test case and matches the optimal executable time point of the target test case from the target time point data, the matching unit is configured to:
and respectively matching the best executable time point of the target test case in the implementation environment from the target time point data corresponding to the implementation environment of the target test case according to the keywords corresponding to the target test case aiming at the implementation environment of each target test case.
A third aspect of the present application provides an electronic device comprising:
a memory and a processor;
wherein the memory is used for storing programs;
the processor is configured to execute the program, and when the program is executed, the program is specifically configured to implement the information processing method for a test case as described in any one of the above.
A fourth aspect of the present application provides a computer storage medium for storing a computer program for implementing the information processing method for a test case as described in any one of the above when the computer program is executed.
According to the information processing method for the test case, the target time point data is read, wherein the target time point data is the time point data corresponding to the current target test case. And then, acquiring at least one keyword corresponding to the target test case to represent the requirement of the user through the keyword of the target test case. And then, matching the optimal executable time point of the target test case from the target time point data according to the keywords corresponding to the target test case, and feeding back the optimal executable time point of the target test case to the user, thereby realizing a method for automatically matching the time point of the test case meeting the requirements of the user, and effectively ensuring the matching efficiency and accuracy.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an information processing method for a test case according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for matching optimal executable time points according to an embodiment of the present application;
FIG. 3 is a flowchart of another method for processing information of test cases according to another embodiment of the present application;
FIG. 4 is a flowchart of an information processing method for testing cases according to another embodiment of the present application;
fig. 5 is a schematic diagram illustrating results of an information processing apparatus for a test case according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of a matching unit according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The embodiment of the application provides an information processing method for a test case, as shown in fig. 1, comprising the following steps:
s101, reading target time point data, wherein the target time point data is the time point data corresponding to the current target test case.
The target time point data at least includes a plurality of time points, and certainly may also include a plurality of time point attribute information, for example, attribute information related to the time point data at the beginning of the month or at the end of the month. Alternatively, each time point may be specified by including a specific year, month, day, and then also by an hour, minute.
Different test cases may correspond to the same point in time data. And setting time point data in advance according to the executable time of the test case and storing the time point data in a database. Further, since the point-in-time data also needs to be changed due to a change in the service demand, the stored point-in-time data needs to be automatically updated at regular intervals.
Accordingly, when step S101 is executed, the current latest target point-in-time data is read.
Optionally, the target time point data corresponding to the target test case may be read from the database according to the type or the identifier of the target test case, or according to one or more of the information of the tested function and the like.
Since the target test case may be implemented in a plurality of implementation environments, the best executable time point of the target test case in each implementation environment needs to be matched, optionally, in another embodiment of the present application, step S101 may specifically be:
and reading target time point data corresponding to each implementation environment of the target test case from the specified path.
That is, in the embodiment of the present application, a set of target time points corresponding to a plurality of implementation environments is obtained at the same time.
Correspondingly, in the embodiment of the present application, step S103 specifically includes:
and respectively matching the best executable time point of the target test case in the implementation environment from the target time point data corresponding to the implementation environment of the target test case according to the keywords corresponding to the target test case aiming at the implementation environment of each target test case.
Correspondingly, in this embodiment of the application, step S104 may specifically be:
and feeding back the optimal executable time points of the target test case under each implementation environment to the user.
Similarly, the target test case may also be drawn in a plurality of example rows for testing, so in step S101, the target time point data corresponding to each example row needs to be obtained.
And S102, obtaining keywords corresponding to the target test case.
The keywords corresponding to the target test case at least comprise one keyword. Keywords are words of the time requirement for test case execution, such as words characterizing the point in time: "early month", "last date", "official", "private", etc. Of course, keywords characterizing other requirements, such as time length, etc., may also be included.
Optionally, the keywords corresponding to the target test case may be provided by an implementer of the target test case according to a requirement, that is, the implementer enters the keywords according to the requirement.
S103, matching the optimal executable time point of the target test case from the target time point data according to the keywords corresponding to the target test case.
Alternatively, the target time point data includes a plurality of time points, and may further include attribute information of each time point, such as belonging to the beginning of the month, the end of the month, the settlement day, the holiday, and the like. Therefore, the keywords corresponding to the target test case can be matched with the attribute information of each time point in the target point data, so that the optimal executable time point of the target test case is matched from the target time point data.
Optionally, the best executable time point of the target test case may be set more desirably, for example, the best executable time point may be a time point which is closest to the current time and matches with the keyword, or a time point at which the obtained test effect is best, and the like. Therefore, it may be determined whether the attribute information of the time point includes the keyword directly, and the best executable time point of the target test case is determined, or it may be determined after weighting the time points matched with the keywords. Other means may of course be used.
Optionally, in another embodiment of the present application, a specific implementation manner of step S103, as shown in fig. 2, includes:
s201, according to the attribute information of each time point in the target time point data, determining the time point matched with each keyword corresponding to the target test case from the target time point data.
It should be noted that, in the embodiment of the present application, the target time point data includes a plurality of time points and attribute information of each time point.
Optionally, if the attribute information of a time point includes a keyword corresponding to the target test case, the time point is a time point matched with the included keyword.
S202, determining the closest time point to the current time point in the time points matched with each keyword corresponding to the determined target test case as the optimal executable time point of the target test case.
In order to ensure the timely execution of the target test case, in the embodiment of the present application, the time point closest to the current time point is determined as the best executable time point of the target test case.
And S104, feeding back the optimal executable time point of the target test case to the user.
Optionally, in the application, after the optimal executable time point of the target test case is obtained, the target test case may be further marked by using the optimal executable time point of the target test case, so that the optimal executable time of the target test case can be more conveniently obtained, and the execution of the target test case is also conveniently managed.
Optionally, after the optimal executable time point of the target test case is obtained, the target test case may be further managed, so as to avoid the target test case missing the determined optimal executable time point. Specifically, the distance between the current time and the best executable time point is monitored in real time, and when the distance between the current time and the best executable time point reaches a preset threshold, a prompt message is sent to remind the user.
According to the information processing method for the test case, the target time point data is read, wherein the target time point data is the time point data corresponding to the current target test case. And then, acquiring at least one keyword corresponding to the target test case to represent the requirement of the user through the keyword of the target test case. And then, matching the optimal executable time point of the target test case from the target time point data according to the keywords corresponding to the target test case, and feeding back the optimal executable time point of the target test case to the user, thereby realizing a method for automatically matching the time point of the test case meeting the requirements of the user, and effectively ensuring the matching efficiency and accuracy.
Another embodiment of the present application provides another information processing method for a test case, as shown in fig. 3, including the following steps:
s301, reading target time point data, wherein the target time point data is the time point data corresponding to the current target test case.
It should be noted that, in the specific implementation of step S301, reference may be made to step S101 in the foregoing method embodiment, and details are not described here again.
S302, keywords corresponding to the target test case are obtained.
The keywords corresponding to the target test case at least comprise one keyword.
It should be noted that, in the specific implementation of step S302, reference may be made to step S102 in the foregoing method embodiment, and details are not described here again.
And S303, initializing the target time point data according to a preset time point initialization rule.
In order to ensure that the target time point data meets the format requirement, so as to facilitate subsequent matching and ensure the accuracy of the matching result, in the embodiment of the present application, the target time point data needs to be initialized according to a preset time point initialization rule, so as to obtain the initialized target time point data.
It should be noted that the execution sequence of step S303 in the embodiment of the present application is only one optional manner, and step S303 may be executed after step S301 and before step S305.
S304, initializing the keywords corresponding to the target test case according to a preset keyword initialization rule.
Similarly, in order to ensure that the keywords corresponding to the target test case meet the format requirement, so as to facilitate subsequent matching and ensure the accuracy of the matching result, in the embodiment of the present application, the keywords corresponding to the target test case need to be initialized according to the preset keyword initialization rule, so as to obtain the keywords corresponding to the initialized target test case.
S305, matching the optimal executable time point of the target test case from the initialized target time point data according to the keywords corresponding to the initialized target test case.
It should be noted that, in the specific implementation of step S305, reference may be made to step S103 in the foregoing method embodiment, which is not described herein again.
And S306, feeding back the optimal executable time point of the target test case to the user.
It should be noted that, in the specific implementation of step S306, reference may be made to step S104 in the foregoing method embodiment, and details are not described here again.
Another embodiment of the present application provides another information processing method for a test case, as shown in fig. 4, including the following steps:
s401, target time point data corresponding to each implementation environment of the target test case are read from the specified path.
The implementation environment of the target test case refers to an environment where the target test case is implemented, that is, the target test case needs to be executed in the implementation environment.
It should be noted that, since the target test case may be implemented in a plurality of implementation environments, the best executable time point of the target test case in each implementation environment needs to be matched, and therefore, the target time point data corresponding to each implementation environment of the target test case needs to be read first.
S402, obtaining keywords corresponding to the target test case.
The keywords corresponding to the target test case at least comprise one keyword.
It should be noted that, in the specific implementation of step S402, reference may be made to step S102 in the foregoing method embodiment, and details are not described here again.
And S403, respectively aiming at the implementation environment of each target test case, matching the optimal executable time point of the target test case in the implementation environment from the target time point data corresponding to the implementation environment of the target test case according to the keywords corresponding to the target test case.
It should be noted that, for a specific implementation of the target test case in the implementation environment, matching the best executable time point of the target test case in the implementation environment, reference may be made to step S103 in the foregoing method embodiment, which is not described herein again.
And S404, feeding back the optimal executable time points of the target test case in each implementation environment to a user.
It should be noted that, the specific implementation of step S404 may refer to step S104 in the foregoing method embodiment accordingly, and details are not repeated here.
It is to be noted that the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Although the operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous.
Another embodiment of the present application provides an information processing apparatus for a test case, as shown in fig. 5, including:
a reading unit 501 is configured to read target time point data.
And the target time point data is the time point data corresponding to the current target test case.
The obtaining unit 502 is configured to obtain a keyword corresponding to the target test case.
The keywords corresponding to the target test case at least comprise one keyword.
The matching unit 503 is configured to match the optimal executable time point of the target test case from the target time point data according to the keyword corresponding to the target test case.
A feedback unit 504, configured to feed back the best executable time point of the target test case to the user.
Optionally, in an information processing apparatus for a test case provided in another embodiment of the present application, the apparatus further includes:
the first initialization unit is used for initializing the target time point data according to a preset time point initialization rule.
And the second initialization unit is used for initializing the keywords corresponding to the target test case according to the preset keyword initialization rule.
In the embodiment of the present application, when the matching unit matches the optimal executable time point of the target test case from the target time point data according to the keyword corresponding to the target test case, the matching unit is configured to:
and matching the optimal executable time point of the target test case from the initialized target time point data according to the keywords corresponding to the initialized target test case.
Optionally, in an information processing apparatus for test cases provided in another embodiment of the present application, as shown in fig. 6, a matching unit includes:
the matching subunit 601 is configured to determine, from the target time point data, a time point at which each keyword corresponding to the target test case is matched according to the attribute information of each time point in the target time point data.
The determining unit 602 is configured to determine, as an optimal executable time point of the target test case, a time point closest to the current time point in the time points of matching of each keyword corresponding to the determined target test case.
Optionally, in an information processing apparatus for a test case provided in another embodiment of the present application, a reading unit includes:
and the reading subunit is used for reading the target time point data corresponding to each implementation environment of the target test case from the specified path.
In the embodiment of the present application, when the matching unit matches the optimal executable time point of the target test case from the target time point data according to the keyword corresponding to the target test case, the matching unit is configured to:
and respectively matching the best executable time point of the target test case in the implementation environment according to the key words corresponding to the target test case and the target time point data corresponding to the implementation environment of the target test case aiming at the implementation environment of each target test case.
It should be noted that, for the specific working processes of each unit provided in the foregoing embodiments of the present application, corresponding steps in the foregoing method embodiments may be referred to accordingly, and are not described herein again.
Another embodiment of the present application provides an electronic device, as shown in fig. 7, including:
a memory 701 and a processor 702.
The memory 701 is used for storing programs.
The processor 702 is configured to execute the program stored in the memory 701, and when the program is executed, the program is specifically configured to implement the information processing method for the test case provided in any of the embodiments described above.
Another embodiment of the present application provides a computer storage medium for storing a computer program, and when the computer program is executed, the computer program is used to implement the information processing method for a test case provided in any one of the above embodiments.
Computer storage media, including permanent and non-permanent, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
The information processing method and device, the electronic device and the storage medium of the test case provided by the application can be used in the financial field. The above description is only an example, and does not limit the application fields of the information processing method and apparatus, the electronic device, and the storage of the test case provided by the present invention.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. An information processing method for a test case is characterized by comprising the following steps:
reading target time point data; the target time point data is the time point data corresponding to the current target test case;
acquiring keywords corresponding to the target test case; wherein, the keywords corresponding to the target test case at least comprise one keyword;
matching the optimal executable time point of the target test case from the target time point data according to the keywords corresponding to the target test case;
and feeding back the optimal executable time point of the target test case to a user.
2. The method of claim 1, wherein before matching the optimal executable time point of the target test case from the target time point data according to the keyword corresponding to the target test case, the method further comprises:
initializing the target time point data according to a preset time point initialization rule;
initializing the keywords corresponding to the target test case according to a preset keyword initialization rule;
wherein, the matching the optimal executable time point of the target test case from the target time point data according to the keyword corresponding to the target test case comprises:
and matching the optimal executable time point of the target test case from the initialized target time point data according to the keywords corresponding to the initialized target test case.
3. The method as claimed in claim 1, wherein the matching the best executable time point of the target test case from the target time point data according to the keyword corresponding to the target test case comprises:
according to the attribute information of each time point in the target time point data, determining a time point matched with each keyword corresponding to the target test case from the target time point data;
and determining the time point closest to the current time point in the time points matched with each keyword corresponding to the determined target test case as the optimal executable time point of the target test case.
4. The method of claim 1, wherein reading the target point-in-time data comprises:
reading target time point data corresponding to each implementation environment of the target test case from a specified path;
wherein, the matching the optimal executable time point of the target test case from the target time point data according to the keyword corresponding to the target test case comprises:
and respectively matching the best executable time point of the target test case in the implementation environment from the target time point data corresponding to the implementation environment of the target test case according to the keywords corresponding to the target test case aiming at the implementation environment of each target test case.
5. An information processing apparatus for test cases, comprising:
a reading unit configured to read target point-in-time data; the target time point data is the time point data corresponding to the current target test case;
the acquisition unit is used for acquiring keywords corresponding to the target test case; wherein, the keywords corresponding to the target test case at least comprise one keyword;
the matching unit is used for matching the optimal executable time point of the target test case from the target time point data according to the keyword corresponding to the target test case;
and the feedback unit is used for feeding back the optimal executable time point of the target test case to a user.
6. The apparatus of claim 5, further comprising:
the first initialization unit is used for initializing the target time point data according to a preset time point initialization rule;
the second initialization unit is used for initializing the keywords corresponding to the target test case according to a preset keyword initialization rule;
when the matching unit executes the keyword corresponding to the target test case and matches the optimal executable time point of the target test case from the target time point data, the matching unit is configured to:
and matching the optimal executable time point of the target test case from the initialized target time point data according to the keywords corresponding to the initialized target test case.
7. The apparatus of claim 5, wherein the matching unit comprises:
the matching subunit is used for determining a time point matched with each keyword corresponding to the target test case from the target time point data according to the attribute information of each time point in the target time point data;
and the determining unit is used for determining the time point closest to the current time point in the time points matched with each keyword corresponding to the determined target test case as the optimal executable time point of the target test case.
8. The apparatus of claim 5, wherein the reading unit comprises:
the reading subunit is used for reading target time point data corresponding to each implementation environment of the target test case from a specified path;
when the matching unit executes the keyword corresponding to the target test case and matches the optimal executable time point of the target test case from the target time point data, the matching unit is configured to:
and respectively matching the best executable time point of the target test case in the implementation environment from the target time point data corresponding to the implementation environment of the target test case according to the keywords corresponding to the target test case aiming at the implementation environment of each target test case.
9. An electronic device, comprising:
a memory and a processor;
wherein the memory is used for storing programs;
the processor is configured to execute the program, which when executed is specifically configured to implement the information processing method of a test case according to any one of claims 1 to 4.
10. A computer storage medium for storing a computer program which, when executed, is adapted to implement the method of information processing of test cases as claimed in any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111098232.1A CN113742246A (en) | 2021-09-18 | 2021-09-18 | Information processing method and device for test case, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111098232.1A CN113742246A (en) | 2021-09-18 | 2021-09-18 | Information processing method and device for test case, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113742246A true CN113742246A (en) | 2021-12-03 |
Family
ID=78739937
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111098232.1A Pending CN113742246A (en) | 2021-09-18 | 2021-09-18 | Information processing method and device for test case, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113742246A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101221503A (en) * | 2008-02-01 | 2008-07-16 | 中国建设银行股份有限公司 | Software testing method and device |
WO2020253112A1 (en) * | 2019-06-19 | 2020-12-24 | 深圳壹账通智能科技有限公司 | Test strategy acquisition method, device, terminal, and readable storage medium |
-
2021
- 2021-09-18 CN CN202111098232.1A patent/CN113742246A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101221503A (en) * | 2008-02-01 | 2008-07-16 | 中国建设银行股份有限公司 | Software testing method and device |
WO2020253112A1 (en) * | 2019-06-19 | 2020-12-24 | 深圳壹账通智能科技有限公司 | Test strategy acquisition method, device, terminal, and readable storage medium |
Non-Patent Citations (1)
Title |
---|
王铁江, 郦萌: "基于关键字驱动脚本的安全软件自动测试系统", 同济大学学报(自然科学版), no. 06, 30 June 2002 (2002-06-30) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110413634B (en) | Data query method, system, device and computer readable storage medium | |
CN109408262B (en) | Service data processing method and related equipment | |
CN110188100A (en) | Data processing method, device and computer storage medium | |
CN106897342B (en) | Data verification method and equipment | |
CN111061758B (en) | Data storage method, device and storage medium | |
CN112559475A (en) | Data real-time capturing and transmitting method and system | |
CN111784318A (en) | Data processing method and device, electronic equipment and storage medium | |
CN111857981A (en) | Data processing method and device | |
CN111522881B (en) | Service data processing method, device, server and storage medium | |
CN112328602A (en) | Method, device and equipment for writing data into Kafka | |
CN113742246A (en) | Information processing method and device for test case, electronic equipment and storage medium | |
CN116185774A (en) | Log monitoring installation method, device, computer equipment and storage medium | |
CN113377604A (en) | Data processing method, device, equipment and storage medium | |
CN117216011B (en) | File transmission method and device and electronic equipment | |
CN113610482B (en) | System, method, electronic device and computer readable medium for tracing events | |
CN110515824B (en) | Application testing method and device | |
CN115098374A (en) | Test environment monitoring method and device, electronic equipment and storage medium | |
CN117312283A (en) | Database and table data verification method and device, computer equipment and storage medium | |
CN116881247A (en) | Service identifier generation method, device, computer equipment and storage medium | |
CN116521546A (en) | Interface performance adjusting method and device, computer equipment and storage medium | |
CN117112063A (en) | System date processing method and device, electronic equipment and storage medium | |
CN118193508A (en) | Data checking method, device, computer equipment and storage medium | |
CN113743948A (en) | Method and device for generating transaction information file, electronic equipment and storage medium | |
CN113139807A (en) | Block chain accounting method, electronic equipment and storage medium | |
CN116860603A (en) | Report test method, report test device, computer 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 |