CN109857654A - A kind of method, apparatus and system of the timing flow chart automatically generating test case - Google Patents

A kind of method, apparatus and system of the timing flow chart automatically generating test case Download PDF

Info

Publication number
CN109857654A
CN109857654A CN201910044777.0A CN201910044777A CN109857654A CN 109857654 A CN109857654 A CN 109857654A CN 201910044777 A CN201910044777 A CN 201910044777A CN 109857654 A CN109857654 A CN 109857654A
Authority
CN
China
Prior art keywords
flow chart
agreement
timing flow
test case
procedure information
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
CN201910044777.0A
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.)
Zhuhai Xishan Mobile Game Technology Co Ltd
Zhuhai Kingsoft Online Game Technology Co Ltd
Original Assignee
Zhuhai Xishan Mobile Game Technology Co Ltd
Zhuhai Kingsoft Online Game Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Xishan Mobile Game Technology Co Ltd, Zhuhai Kingsoft Online Game Technology Co Ltd filed Critical Zhuhai Xishan Mobile Game Technology Co Ltd
Priority to CN201910044777.0A priority Critical patent/CN109857654A/en
Publication of CN109857654A publication Critical patent/CN109857654A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

An aspect of of the present present invention provides a kind of method of timing flow chart for automatically generating test case, comprising the following steps: the data of the agreement process information receiving module of initialization test use-case are passed to interface;Recalls information reporting module during implementation of test cases, to report and record the agreement procedure information during implementation of test cases;Timing flow chart is generated according to the agreement procedure information of collection.A kind of apparatus and system of timing flow chart for automatically generating test case is provided according to another aspect of the present invention.

Description

A kind of method, apparatus and system of the timing flow chart automatically generating test case
Technical field
The present invention relates to mobile Internet software application field more particularly to a kind of sequential flows for automatically generating test case The method, apparatus and system of journey figure.
Background technique
Test case is input, execution condition, the explanation of test process and expected results, they define specific to realize Software test target and the single test to be executed, such as execute specific Program path or verify whether to meet and specifically want It asks.Test case is without any confusion rather than arbitrarily.One group of test case can be constructed to generate needed for test software Coverage area.The test case of formal definition allows the software to continuous version to rerun identical test, so that realizing has Effect and consistent regression test.Other than the description of function to be tested and ensuring to carry out testing required preparation, Most time-consuming part is creation test and modifies them in system change in test case.Under special circumstances, it may be necessary to It is tested, is generated as a result, then whether assessment result can be considered as passing through by expert team.This usually occurs in new product Performance quantity determine on.Test is as follow-up test/product release cycle baseline for the first time.Validation test uses written survey The variant of example on probation, is usually executed by one group of end user of system or client, to ensure that the system developed meets specified want It asks or contract.User acceptance test is distinguished by the inclusion of happy path or positive test case almost excludes negative test Use-case.
For research and development and test development, the time ratio write the flow chart of test case and carry out maintenance modification is write It all also to be grown when test case, and at will the test case of Games Software project is at 50 or more at present, Duo Zeda 100+, in more people's communications, communication (it should be understood that use-case process is for evaluating) especially across company either passes through Use-case code carries out evaluation or the flow chart of secondary development is evaluated, and requires to consume bigger human cost.
Therefore, it is necessary to a kind of saving manual manufactures, maintenance cost, accelerate the evaluation of personnel's test case, improve working efficiency Solution.
Summary of the invention
The technical problems to be solved by the invention and the technical assignment of proposition are improved to the prior art, provide one Kind automatically generates the method, apparatus and system of the timing flow chart of test case.
According to the first aspect of the embodiments of the present disclosure, a kind of side of timing flow chart for automatically generating test case is provided Method the described method comprises the following steps:
S1. the data of the agreement process information receiving module of initialization test use-case are passed to interface;
S2. recalls information reporting module during implementation of test cases, to report and record implementation of test cases Agreement procedure information in journey;
S3. timing flow chart is generated according to the agreement procedure information of collection.
In a kind of optional embodiment, the step S2 is further included steps of
S201. it is passed to preset white list to agreement process information receiving module, the white list storage needs The first identifier of the step of agreement process to be filtered;
S202. the agreement procedure information reported is searched for from white list, if there are corresponding in white list One mark does not record a corresponding agreement procedure information then, by phase if being not present in white list and having corresponding first identifier The agreement procedure information answered is recorded in record list.
In a kind of optional embodiment, the agreement process information recorded in the record list includes: the time, Type of server, action type, protocol name.
Further comprise step in a kind of optional embodiment: carrying out the Sino-British conversion of agreement procedure information.
In a kind of optional embodiment, step S3 is further included steps of
S301. the data for traversing the record list, when the data length of the record list is greater than 0, then generation pair The xml answered turns the data structure of slip chart;
S302. turn graph tool using xml and draw generation timing flow chart automatically.
According to a second aspect of the embodiments of the present invention, a kind of dress of timing flow chart for automatically generating test case is provided It sets, described device includes:
Memory, for storing an application program;
Processor, for running the application program to execute above-mentioned method.
According to a third aspect of the embodiments of the present invention, provide a kind of timing flow chart for automatically generating test case is System, the system comprises:
Agreement process information receiving module is configured to receive the agreement process letter generated during implementation of test cases Breath;
Initialization module, the data for being configured to the agreement process information receiving module of initialization test use-case, which are passed to, to be connect Mouthful;
Information reporting module is configured to call during implementation of test cases, executes test to report and record Agreement procedure information during use-case;
Timing flow chart generation module is configured to generate timing flow chart according to the agreement procedure information of collection.
In a kind of optional embodiment, the system further comprises:
Communication module is configured to establish communication connection between client and server end;
Limiter of speed registration module, be configured to by client at least one service device function by far call to Server-side application for registration limiter of speed, the registration information of limiter of speed include and the associated first identifier of limiter of speed and scheduled at least one A unit time business processing amount threshold value;
Limiter of speed management module is configured to be added to by the registration information for the client new registration limiter of speed that will be received Limiter of speed manages queue, to realize the management to limiter of speed;
Limiter of speed executes request module, is configured to send and limiter of speed associated first by client It identifies and that initiates limiter of speed executes request;
Limiter of speed calling module is configured to call speed limit according to the associated first identifier of limiter of speed by server end Device manages the limiter of speed in queue, realizes and carries out speed limit to respective server function.
In a kind of optional embodiment, the system further comprises:
White list generation module is configured to be passed to preset white list column to agreement process information receiving module The first identifier of the step of table, the agreement process that the white list storage needs to be filtered;
Agreement process information filtering module is configured to search for the agreement procedure information reported from white list, such as There are corresponding first identifiers not to record a corresponding agreement procedure information then in fruit white list, if do not deposited in white list There is corresponding first identifier that then a corresponding agreement procedure information is recorded in record list.
In a kind of optional embodiment, the system further comprises: the Sino-British conversion module of agreement procedure information, It is configured to carrying out the agreement procedure information of the record list into Sino-British conversion.
In a kind of optional embodiment, the system further comprises:
Xml turns the data structure building module of slip chart, the data of the record list is configured and traverse, when described When the data length of record list is greater than 0, then the data structure that corresponding xml turns slip chart is generated;
Xml turns chart module, and it is automatic to be configured so that xml turns the data structure that xml is turned slip chart by graph tool It draws and generates timing flow chart.
The technical solution that the embodiment of the present invention provides has the advantages that
The method, apparatus and system of a kind of timing flow chart for automatically generating test case provided through the invention are led to Realization packaging system interface is crossed, the filtering of chart redundancy is integrated, and optionally turns chart using corresponding third party xml Tool automatically generates corresponding agreement timing diagram to reach in test case operational process or in client operational process. The cost that artificial drafting, maintenance test use-case flow chart can greatly be saved, improves the reading ability of test case process, Project team, functional test personnel etc. can be allowed to carry out the accuracy of assistance communication, validation test process in many ways, accelerate use-case evaluation Efficiency provides more fully test to server and ensures.The present invention is exactly to ask for solving poor efficiency of the existing technology Topic, after test case has executed, can automatically generate the agreement timing diagram of test case and server, and wherein automatic mistake Partial information is filtered, manual manufacture, maintenance cost are saved, accelerates the evaluation of personnel's use-case, improve working efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, embodiment will be described below Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without creative efforts, can also be attached according to these Figure obtains other attached drawings, in which:
Fig. 1 is a kind of method flow of timing flow chart for automatically generating test case according to an embodiment of the invention Figure;
Fig. 2 is the method flow for the timing flow chart that another kind according to an embodiment of the invention automatically generates test case Figure;
Fig. 3 is the method flow for the timing flow chart that another kind according to an embodiment of the invention automatically generates test case Figure;
Fig. 4 is a kind of device block diagram of timing flow chart for automatically generating test case according to an embodiment of the invention;
Fig. 5 is a kind of system block diagram of timing flow chart for automatically generating test case according to an embodiment of the invention;
Fig. 6 is the system frame for the timing flow chart that another kind according to an embodiment of the invention automatically generates test case Figure;
Fig. 7 is the system frame for the timing flow chart that another kind according to an embodiment of the invention automatically generates test case Figure;
Fig. 8 is the system frame for the timing flow chart that another kind according to an embodiment of the invention automatically generates test case Figure;
Fig. 9 is the exemplary timing flow chart generated.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention 1-9, technical solution in the embodiment of the present invention carry out it is clear, It is fully described by, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.With In lower description, for illustration and not for limitation, the detail of such as particular system structure, technology etc is proposed, with Just the embodiment of the present invention is understood thoroughly.However, it will be clear to one skilled in the art that in the other of these no details Also the present invention may be implemented in embodiment.In other situations, it omits to well-known system, apparatus, circuit and method Detailed description, in order to avoid unnecessary details interfere description of the invention.
It is only to be not intended to be limiting the disclosure merely for for the purpose of describing particular embodiments in the term that the disclosure uses. The "an" of the singular used in disclosure and the accompanying claims book, " described " and "the" are also intended to including plural number Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to includes One or more associated any or all of project listed may combine.
As shown in Figure 1, Fig. 1 is a kind of timing process for automatically generating test case shown according to an exemplary embodiment The method of figure, comprising the following steps:
In step sl, the data of the agreement process information receiving module of initialization test use-case are passed to interface;
In step s 2, recalls information reporting module during implementation of test cases executes survey to report and record Agreement procedure information during example on probation;Agreement process information includes that connection service is requested to be opened from client Begin, until the procedural information that the execution of entire test case terminates.Of course, it is possible to carry out protocol streams according to specific demand The filtering of journey information, to fall unwanted agreement process information filtering, so that the timing of excessively very complicated will not be generated Flow chart.In another embodiment, the preferred embodiment of the filter process to agreement procedure information is described in more detail.
In step s3, timing flow chart is generated according to the agreement procedure information of collection.In this step, according to passing through The agreement procedure information of summary record after filtering, generates the timing flow chart of implementation of test cases process.According to test case Definition, in order to which Complete test meets being required for application program, each requirement must at least there are two test cases: one is Positive test (positive test), one is negative test (negative test).If a certain demand has sub- demand, Then every sub- demand can at least have above-mentioned two test case.Track demand and test are carried out using trackability matrix Between connection.Written test case should include the description of function to be tested, and ensure to carry out to test required preparation. Formal written test case is characterized in that known input and anticipated output, the anticipated output obtain before test execution. Known input should test precondition, it is contemplated that output should test postcondition.According to an embodiment of the present application, it is tested for the positive (positive test) and negative test (negative test) can realize that generating corresponding test case executes sequential flow Cheng Tu, therefore the scheme of the application has very big compatibility, can satisfy the timing flow chart of the test case of various situations Generation demand.
Wherein, test case is usually single step, or is series of steps once in a while, with the correct row of test application program For/function and feature.Usually provide expected results or expected results.The other information that test case may include: test case ID, test case explanation, testing procedure or execute number order, related request, depth, category of test, author, check box whether Can with or automatic test, reach a standard unsuccessfully, remarks.Biggish test case may also contain prerequisite state or step And description.Written test case should also contain the position of actual result.
The step of these test cases typically may be stored in word processor documents, electrical form, database or other In common repository.In embodiments herein, the execution step protocol information of test case is stored in pre-set number According in the system of library.In Database Systems, it can also look at past test result and generate the personnel of result and be used for Generate the system configuration of these results.These past results are generally stored inside in individual table.
As shown in Fig. 2, in step s 2, being adjusted during implementation of test cases as one preferred embodiment of the disclosure With information reporting module, so that the step of reporting and recording the agreement procedure information during implementation of test cases includes following several Step:
In step s 201, Xiang Xieyi process information receiving module is passed to preset white list, the white list column The first identifier of the step of agreement process that table storage needs to be filtered;
In step S202, the agreement procedure information reported is searched for from white list, if in white list there are Corresponding first identifier does not record a corresponding agreement procedure information then, if there is no have corresponding first mark in white list A corresponding agreement procedure information is then recorded in record list by knowledge.
As shown in figure 3, step S3 is further included steps of
S301. the data for traversing the record list, when the data length of the record list is greater than 0, then generation pair The xml answered turns the data structure of slip chart;
S302. turn graph tool using xml and draw generation timing flow chart automatically.
As preferred embodiment, the agreement process information recorded in the record list includes: time, server Type, action type, protocol name.
Further comprise step as preferred embodiment: carrying out the Sino-British conversion of agreement procedure information.
As a preferred embodiments of the application implementation steps, the embodiment of the application may include following techniqueflow Step:
Device SDK is mainly made of three steps, 1. initialization, 2. information reportings, 3. report generations;
Step 1: initialization Init interface, makes it support incoming white list, it is defaulted as sky, white list can be with Protocol number composition, is formed as List data structure, is used for automatic fitration information reporting (Notify) information;
Step 2: setting information reports (Notify) interface, agreement procedure information needed for drawing timing diagram is recorded, with The storage of list data structure form, single data structure form is by time, server class name (CS or SC), action type (SEND/RECV), protocol name forms;
Step 3: when information reporting (Notify) interface is triggered and calls, information reporting (Notify) interface can first from Search (such as the protocol number for needing to filter is had recorded in white list), if there is corresponding, then directly returns in white list It returns, if white list does not have, increasing data record newly in notify_list, (single data are in second step Notify single data structure form), and return;Wherein, for example, if having recorded the agreement for needing to filter in white list Number, protocol number is character string type, and default item is that from readability, can make a dictionary using digital representation: thus Realize agreement turn in/English can read in plain text;For the same project, this part of translation tables are general.
Step 4: setting report generation Report interface, traverses above-mentioned notify_list data, when notify_list number When being greater than 0 according to length, then the data structure that corresponding xml turns slip chart is generated, turns chart work eventually by third party xml Tool, it is automatic to draw the agreement process timing diagram (such as Fig. 9) for generating implementation of test cases, tune is returned to binary file flow data User
As a more specific preferred embodiments of the application implementation steps, the embodiment of the application includes:
Step 1: test case carries out the calling of device Init on startup, and the white list being passed in expected (should The usual project of list is portion) such as heartbeat Ping or mobile packet Move, be set as ignoreList=[' ping ', ' move '], Init (ignoreList).
Step 2: then carrying out at the send and receive packets code of test case (handle_send/handle_recv) to dress Set the calling of Notify.
Step 3: in the place that handle_send gives out a contract for a project: Notify action type are as follows: SEND;
Step 4: in the place that handle_recv gives out a contract for a project: Notify action type are as follows: RECV;
Step 5: final, executing in dsconnect use-case terminates offline position, calling device Report, finally returning The binary file stream returned is saved with pictorial manner, then can generate current newest protocol streams in each implementation of test cases Cheng Tu.
As shown in figure 4, the another aspect as the embodiment of the present disclosure, provides a kind of timing for automatically generating test case The device of flow chart, described device include:
Memory, for storing an application program;
Processor, for running the application program to execute method described in any of the above-described embodiment.
Wherein, the memory can for magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or Random access memory (Random Access Memory, RAM) etc..
Correspondingly, the embodiment of the invention also provides a kind of server of timing flow chart for automatically generating test case, Including processor, memory and stores in the memory and be configured as the computer journey executed by the processor Sequence, the processor realize above-described embodiment to automatically generate the timing process of test case when executing the computer program Figure.
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor It is the control centre that the pressure surveys server Deng, the processor, entirely press survey server using various interfaces and connection Various pieces.
Corresponding with preceding method embodiment, the present invention also provides the embodiments of system.For system embodiments, Since it corresponds essentially to embodiment of the method, so the relevent part can refer to the partial explaination of embodiments of method.It is following to be retouched The system embodiment stated is only schematical, wherein unit may or may not be object as illustrated by the separation member Separated in reason, component shown as a unit may or may not be physical unit, it can and it is in one place, Or it may be distributed over multiple network units.Some or all of the modules therein can be selected according to the actual needs Realize the purpose of disclosure scheme.Those of ordinary skill in the art are without creative efforts, it can understand And implement.
As shown in figure 5, the another aspect as the embodiment of the present disclosure, provides a kind of timing for automatically generating test case The system of flow chart, the system comprises:
Agreement process information receiving module is configured to receive the agreement process letter generated during implementation of test cases Breath;
Initialization module, the data for being configured to the agreement process information receiving module of initialization test use-case, which are passed to, to be connect Mouthful;
Information reporting module is configured to call during implementation of test cases, executes test to report and record Agreement procedure information during use-case;
Timing flow chart generation module is configured to generate timing flow chart according to the agreement procedure information of collection.
According to a preferred embodiment, the system further comprises:
White list generation module is configured to be passed to preset white list column to agreement process information receiving module The first identifier of the step of table, the agreement process that the white list storage needs to be filtered;
Agreement process information filtering module is configured to search for the agreement procedure information reported from white list, such as There are corresponding first identifiers not to record a corresponding agreement procedure information then in fruit white list, if do not deposited in white list There is corresponding first identifier that then a corresponding agreement procedure information is recorded in record list.
According to another preferred embodiment, the system further comprises: the Sino-British conversion module of agreement procedure information, It is configured to carrying out the agreement procedure information of the record list into Sino-British conversion.
According to further preferred embodiment, the system further comprises:
Xml turns the data structure building module of slip chart, the data of the record list is configured and traverse, when described When the data length of record list is greater than 0, then the data structure that corresponding xml turns slip chart is generated;
Xml turns chart module, and it is automatic to be configured so that xml turns the data structure that xml is turned slip chart by graph tool It draws and generates timing flow chart.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device and method can pass through others Mode is realized.For example, system embodiment described above is only schematical, for example, the division of the module or unit, Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit or Communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-described embodiment side All or part of the process in method can also instruct relevant hardware to complete, the computer by computer program Program can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each The step of a embodiment of the method.Wherein, the computer program includes computer program code, and the computer program code can Think source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can be with It include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, light that can carry the computer program code Disk, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random AccessMemory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer can Read content that medium includes can according to making laws in jurisdiction and the requirement of patent practice carries out increase and decrease appropriate, such as Certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of method for the timing flow chart for automatically generating test case, which comprises the following steps:
S1. the data of the agreement process information receiving module of initialization test use-case are passed to interface;
S2. recalls information reporting module during implementation of test cases, thus during reporting and recording implementation of test cases Agreement procedure information;
S3. timing flow chart is generated according to the agreement procedure information of collection.
2. a kind of method of timing flow chart for automatically generating test case according to claim 1, which is characterized in that step Rapid S2 the following steps are included:
S201. be passed to preset white list to agreement process information receiving module, the white list storage need into The first identifier of the step of agreement process of row filtering;
S202. the agreement procedure information reported is searched for from white list, if there are corresponding first marks in white list Knowledge does not record a corresponding agreement procedure information then, if there is no will be corresponding if having corresponding first identifier in white list One agreement procedure information is recorded in record list.
3. a kind of method of timing flow chart for automatically generating test case according to claim 2, it is characterised in that: institute Stating the agreement process information recorded in record list includes: time, type of server, action type, protocol name.
4. a kind of method of timing flow chart for automatically generating test case according to claim 3, which is characterized in that into One step comprising steps of
Carry out the Sino-British conversion of agreement procedure information.
5. a kind of method of timing flow chart for automatically generating test case according to claim 4, which is characterized in that step Rapid S3 is further included steps of
S301. the data for traversing the record list then generate corresponding when the data length of the record list is greater than 0 Xml turns the data structure of slip chart;
S302. turn graph tool using xml and draw generation timing flow chart automatically.
6. a kind of device for the timing flow chart for automatically generating test case, which is characterized in that described device includes:
Memory, for storing an application program;
Processor requires method described in any one of 1-5 for running the application program with perform claim.
7. a kind of system for the timing flow chart for automatically generating test case, which is characterized in that the system comprises:
Agreement process information receiving module is configured to receive the agreement procedure information generated during implementation of test cases;
Initialization module, the data for being configured to the agreement process information receiving module of initialization test use-case are passed to interface;
Information reporting module is configured to call during implementation of test cases, to report and record implementation of test cases Agreement procedure information in the process;
Timing flow chart generation module is configured to generate timing flow chart according to the agreement procedure information of collection.
8. a kind of system of timing flow chart for automatically generating test case according to claim 7, which is characterized in that institute The system of stating further comprises:
White list generation module is configured to be passed to preset white list, institute to agreement process information receiving module The first identifier for the step of stating the agreement process that white list storage needs to be filtered;
Agreement process information filtering module is configured to search for the agreement procedure information reported from white list, if white There are corresponding first identifiers not to record a corresponding agreement procedure information then in list, if there is no have in white list A corresponding agreement procedure information is then recorded in record list by corresponding first identifier.
9. a kind of system of timing flow chart for automatically generating test case according to claim 8, which is characterized in that institute The system of stating further comprises:
The Sino-British conversion module of agreement procedure information is configured to carrying out the agreement procedure information of the record list into Sino-British turn It changes.
10. a kind of system of timing flow chart for automatically generating test case according to claim 9, which is characterized in that The system further comprises:
Xml turns the data structure building module of slip chart, the data of the record list is configured and traverse, when the record When the data length of list is greater than 0, then the data structure that corresponding xml turns slip chart is generated;
Xml turns chart module, is configured so that xml turns graph tool and draws the xml data structure for turning slip chart automatically Generate timing flow chart.
CN201910044777.0A 2019-01-17 2019-01-17 A kind of method, apparatus and system of the timing flow chart automatically generating test case Pending CN109857654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910044777.0A CN109857654A (en) 2019-01-17 2019-01-17 A kind of method, apparatus and system of the timing flow chart automatically generating test case

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910044777.0A CN109857654A (en) 2019-01-17 2019-01-17 A kind of method, apparatus and system of the timing flow chart automatically generating test case

Publications (1)

Publication Number Publication Date
CN109857654A true CN109857654A (en) 2019-06-07

Family

ID=66895131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910044777.0A Pending CN109857654A (en) 2019-01-17 2019-01-17 A kind of method, apparatus and system of the timing flow chart automatically generating test case

Country Status (1)

Country Link
CN (1) CN109857654A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111639023A (en) * 2020-05-16 2020-09-08 中信银行股份有限公司 Test case generation method and device based on user operation sequence diagram
CN112527678A (en) * 2020-12-22 2021-03-19 北京百度网讯科技有限公司 Method, apparatus, device and storage medium for testing protocol
CN113010424A (en) * 2021-03-17 2021-06-22 平安壹钱包电子商务有限公司 Interface automation test processing method, system, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5745386A (en) * 1995-09-25 1998-04-28 International Business Machines Corporation Timing diagram method for inputting logic design parameters to build a testcase for the logic diagram
CN1808377A (en) * 2005-01-19 2006-07-26 安捷伦科技有限公司 Application-generic sequence diagram generator driven by a non-proprietary language
CN103412783A (en) * 2013-08-27 2013-11-27 杭州友声科技有限公司 Method for converting script codes into user flow diagram based on business logic layer
CN108762749A (en) * 2018-05-24 2018-11-06 福州大学 System object figure automatic generation method based on code analysis

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5745386A (en) * 1995-09-25 1998-04-28 International Business Machines Corporation Timing diagram method for inputting logic design parameters to build a testcase for the logic diagram
CN1808377A (en) * 2005-01-19 2006-07-26 安捷伦科技有限公司 Application-generic sequence diagram generator driven by a non-proprietary language
CN103412783A (en) * 2013-08-27 2013-11-27 杭州友声科技有限公司 Method for converting script codes into user flow diagram based on business logic layer
CN108762749A (en) * 2018-05-24 2018-11-06 福州大学 System object figure automatic generation method based on code analysis

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张亮: "一种支持时序图恢复的逆向工程方法", 《南京大学学报(自然科学)》 *
李凡: "逆向工程中的UML序列图抽象技术", 《计算机科学》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111639023A (en) * 2020-05-16 2020-09-08 中信银行股份有限公司 Test case generation method and device based on user operation sequence diagram
CN112527678A (en) * 2020-12-22 2021-03-19 北京百度网讯科技有限公司 Method, apparatus, device and storage medium for testing protocol
CN113010424A (en) * 2021-03-17 2021-06-22 平安壹钱包电子商务有限公司 Interface automation test processing method, system, computer equipment and storage medium
CN113010424B (en) * 2021-03-17 2024-04-02 平安壹钱包电子商务有限公司 Interface automatic test processing method, system, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106095673B (en) Automated testing method and system based on WEB interface
Verbeek et al. Diagnosing workflow processes using Woflan
US11042471B2 (en) System and method for providing a test manager for use with a mainframe rehosting platform
Gay et al. Behavioural Types: from Theory to Tools
US20090271351A1 (en) Rules engine test harness
CN109857654A (en) A kind of method, apparatus and system of the timing flow chart automatically generating test case
CN110309058A (en) Business end test method, device, computer installation and computer storage medium
CN103678446B (en) Improved mode map based on Data View and database table
CN104461531B (en) A kind of implementation method of reporting system SQL
CN109344170A (en) Stream data processing method, system, electronic equipment and readable storage medium storing program for executing
CN110471834A (en) Credit card analog detection method and relevant device under more transaction channels
CN109254912A (en) A kind of method and device of automatic test
CN105871966A (en) Message distribution method, device and system
CN103246606A (en) Method and system for testing performances of ESB (enterprises service bus) platform
CN114185770A (en) Method and device for generating test data, computer equipment and storage medium
US20210124752A1 (en) System for Data Collection, Aggregation, Storage, Verification and Analytics with User Interface
CN109376142A (en) Data migration method and terminal device
Aichernig et al. Property-based testing with FsCheck by deriving properties from business rule models
CN117493158A (en) Test method and device, electronic equipment and storage medium
Wang et al. On the value of quality of service attributes for detecting bad design practices
CN110515750A (en) A kind of applied topology generation method, system and cluster
CN112765014A (en) Automatic test system for multi-user simultaneous operation and working method
CN107341645A (en) Demand of human resources information processing method, device, computer equipment and storage medium
CN109343891A (en) System, the method and device of data processing
CN110362294A (en) Development task executes method, apparatus, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190607

RJ01 Rejection of invention patent application after publication