CN110532179A - The method and device of test verifying is carried out in a kind of CBTC test analysis - Google Patents

The method and device of test verifying is carried out in a kind of CBTC test analysis Download PDF

Info

Publication number
CN110532179A
CN110532179A CN201910750271.1A CN201910750271A CN110532179A CN 110532179 A CN110532179 A CN 110532179A CN 201910750271 A CN201910750271 A CN 201910750271A CN 110532179 A CN110532179 A CN 110532179A
Authority
CN
China
Prior art keywords
test
function
cbtc
case
screening conditions
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
CN201910750271.1A
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.)
Traffic Control Technology TCT Co Ltd
Original Assignee
Traffic Control Technology TCT 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 Traffic Control Technology TCT Co Ltd filed Critical Traffic Control Technology TCT Co Ltd
Priority to CN201910750271.1A priority Critical patent/CN110532179A/en
Publication of CN110532179A publication Critical patent/CN110532179A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention provides the method and devices that test verifying is carried out in a kind of CBTC test analysis, each test case is stored previously according to the tree-shaped relational graph of CBTC system realization of functions, when needing to test objective function a certain in CBTC system, user only needs to input has the institute of inclusion relation functional as screening conditions with the test function, all target detection use-cases for being tested the objective function can be inquired by incidence relation, and the test process to objective function can be completed by the target detection use-case inquired.Tree-shaped relational graph specifies the corresponding relationship between inclusion relation and each test case and function between each function, facilitates tester to be scanned for according to relationship specific in tree-shaped relational graph, reduces the requirement to tester.And all test cases corresponding with objective function can be quickly and accurately positioned by tree-shaped relational graph, search efficiency is high and realizes thorough search.

Description

The method and device of test verifying is carried out in a kind of CBTC test analysis
Technical field
The present invention relates to System Functional Test technical fields, test more particularly, to test is carried out in a kind of CBTC test analysis The method and device of card.
Background technique
CBTC (Communication Based Train Control, communication-based train control) system is write at present When test case of uniting, Test coverage can be carried out according to system requirements.Test case is divided into several big modules according to functional requirement, such as CBTC-CM (Code train operating mode, the pilot steering mode under train automatic protection) function, CBTC-AM (Automatic train operating mode, train automatic Pilot) function, ITC (Intermediate Train Control, point type train control stage)-CM function, ITC-AM, special test etc..When system changes, tester is needed Analyzing influence range is chosen use-case in the test case library of project and is tested.
However, the description due to system requirements is more succinct, often there are multiple use-cases to link a demand or a use-case chain The case where connecing multiple demands.Make the relationship of demand and use-case not clear enough in this way.When system changes, need to select to use When example goes test to change, experienced tester is generally required according to the understanding of understanding and change to test case from entire It goes to select in the test case library of project.Have the disadvantage in that selection test case there may be omission in this way;Select test case Relatively waste time;Tester needs to be familiar with entire test case library.
In actual application, inventor has found that the selection of existing test case relies on tester to test library Familiarity, it is more demanding to tester, and selection course takes a long time, selection course cannot be considered in terms of all test cases.
Summary of the invention
The embodiment of the present invention provides the method and device that test verifying is carried out in a kind of CBTC test analysis, existing to solve There are familiarity of the selection of the test case in technology by tester to test library, choosing more demanding to tester The process of selecting cannot be considered in terms of the problem of all test cases.
Against the above technical problems, the embodiment provides test verifying is carried out in a kind of CBTC test analysis Method, comprising:
To the objective function of test analysis to be carried out in CBTC system, obtain for screening the corresponding survey of the objective function The screening conditions of example on probation;
Meet the test case of the screening conditions from inquiry in the incidence relation of pre-stored function and test case, As target detection use-case;
The objective function is tested by the target detection use-case;
Wherein, the incidence relation is generated according to the tree-shaped relational graph of CBTC system realization of functions.
Optionally, the method for establishing the incidence relation includes:
It determines the inclusion relation between each function that CBTC system is realized, is generated according to the inclusion relation in each node Store the tree-shaped relational graph of CBTC realization of functions;
To the first node of each branch's the last layer of the tree-shaped relational graph of generation, will be used for the first node pair The test case that the function of answering is tested is stored into the child node of the first node;
It will realize what each function generated according to CBTC system, and the last layer of each branch is the tree-shaped of test case Relational graph stores the incidence relation as the incidence relation.
Optionally, the screening conditions obtained for screening the corresponding test case of the objective function, comprising:
Obtain the screening conditions of user's input being made of each function;Wherein, the screening conditions include that the association is closed The corresponding function of all nodes of second node is associated in system by root node;The second node is the objective function in institute State corresponding node in incidence relation.
Optionally, the corresponding node in the incidence relation of the latter function in the screening conditions is previous function Can in the incidence relation corresponding node child node.
Optionally, in the incidence relation, the included function of layer far from root node is wrapped than the layer of close root node Number containing function is more.
Optionally, the inquiry from the incidence relation of pre-stored function and test case meets the screening conditions Test case, as target detection use-case, comprising:
According to the context for the function of including in the screening conditions, started to query from the root node of the incidence relation Each function in the screening conditions, until inquiring the last one function of including in the screening conditions, by last All test cases that a function corresponding node can be associated with are as the target detection use-case.
Optionally, the root node from the incidence relation starts to query each function in the screening conditions, also wraps It includes:
If a certain function in screening conditions can not be inquired from the incidence relation, the screening conditions packet is issued Prompt information containing the function that can not be inquired.
Optionally, further includes:
If receiving the request for checking the incidence relation, display realizes what each function generated according to CBTC system, And the last layer of each branch is the tree-shaped relational graph of test case.
The present invention provides the devices that test verifying is carried out in a kind of CBTC test analysis, comprising:
Module is obtained, for the objective function to test analysis to be carried out in CBTC system, is obtained for screening the mesh Mark the screening conditions of the corresponding test case of function;
Enquiry module meets the screening item for inquiring from the incidence relation of pre-stored function and test case The test case of part, as target detection use-case;
Test module, for being tested by the target detection use-case the objective function;
Wherein, the incidence relation is generated according to the tree-shaped relational graph of CBTC system realization of functions.
The embodiment provides the method and device that test verifying is carried out in a kind of CBTC test analysis, preparatory roots Each test case is stored according to the tree-shaped relational graph of CBTC system realization of functions, when needing to target function a certain in CBTC system When can be carried out test, user only needs to input has the institute of inclusion relation functional as screening conditions with the test function, just All target detection use-cases for being tested the objective function can be inquired by incidence relation, by the mesh inquired Mark test case can complete the test process to objective function.Tree-shaped relational graph specifies the inclusion relation between each function, And the corresponding relationship between each test case and function, facilitate tester to be carried out according to relationship specific in tree-shaped relational graph Search, reduces the requirement to tester.And it can be quickly and accurately positioned by tree-shaped relational graph corresponding with objective function All test cases, search efficiency is high and realizes thorough search.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to do one simply to introduce, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the process that the method for test verifying is carried out in a kind of CBTC test analysis provided by one embodiment of the present invention Schematic diagram;
Fig. 2 is the tree-shaped relational graph of the partial function that another embodiment of the present invention provides and test case;
Fig. 3 is that a test case corresponds to multiple functions signals in the tree-shaped relational graph of another embodiment of the present invention offer Figure;
Fig. 4 be another embodiment of the present invention provide a kind of CBTC test analysis in carry out test verifying device knot Structure block diagram.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the flow diagram that the method for test verifying is carried out in a kind of CBTC test analysis provided in this embodiment, Referring to Fig. 1, the method that test verifying is carried out in base CBTC test analysis includes:
101: to the objective function of test analysis to be carried out in CBTC system, obtaining corresponding for screening the objective function Test case screening conditions;
102: meeting the test of the screening conditions from inquiry in the incidence relation of pre-stored function and test case Use-case, as target detection use-case;
103: the objective function being tested by the target detection use-case;
Wherein, the incidence relation is generated according to the tree-shaped relational graph of CBTC system realization of functions.
Method provided in this embodiment is executed by being equipped with the equipment for executing the software of the above method, which can be clothes Business device, computer is exclusively used in the equipment tested CBTC system, and the present embodiment is not particularly limited this.
Objective function be CBTC system in any function in need of test, for example, " train is turned back " this function or The corresponding function of person's " train turn back in nobody turn back " this case.Screening conditions are usually tester's input by CBTC system The condition of each function composition of system, " train turn back in nobody turn back " corresponding objective function of this case for example, be intended to test, by In " train is turned back ", this function is contained in the function that " VOBC " is realized, then screening conditions are that " VOBC- train is turned back-nothing People turns back ", in incidence relation can by " nobody turns back " this function association to all test cases be target detection use-case.
CBTC system realization of functions is contained in tree-shaped relational graph, for example, " VOBC " this function contains " train folding Return " this function, then the child node of " train is turned back " as " VOBC " in tree-shaped relational graph." train is turned back " this function packet The corresponding function of " someone turns back " and " nobody turns back " both of these case, then " someone turns back " and " nobody turns back " conduct are contained The child node of " train is turned back ".The last one node of each branch, which is stored, in tree-shaped relational graph corresponds to function to its father node It can be carried out all test cases of test, therefore, tree-shaped relational graph clearly shows each test case and CBTC system institute The corresponding relationship for realizing each function facilitates user's quick search to the corresponding all test cases of any function of CBTC system.
A kind of method that test verifying is carried out in CBTC test analysis is present embodiments provided, previously according to CBTC system institute Realize that the tree-shaped relational graph of function stores each test case, when needing to test objective function a certain in CBTC system When, user only needs to input has the institute of inclusion relation functional as screening conditions with the test function, can pass through pass Join relational query to all target detection use-cases for being tested the objective function, by the target detection use-case inquired It can complete the test process to objective function.Tree-shaped relational graph specifies the inclusion relation between each function, and each test Corresponding relationship between use-case and function facilitates tester to be scanned for according to relationship specific in tree-shaped relational graph, reduces Requirement to tester.And all tests corresponding with objective function can be quickly and accurately positioned by tree-shaped relational graph Use-case, search efficiency is high and realizes thorough search.
Further, on the basis of the above embodiments, the method for establishing the incidence relation includes:
It determines the inclusion relation between each function that CBTC system is realized, is generated according to the inclusion relation in each node Store the tree-shaped relational graph of CBTC realization of functions;
To the first node of each branch's the last layer of the tree-shaped relational graph of generation, will be used for the first node pair The test case that the function of answering is tested is stored into the child node of the first node;
It will realize what each function generated according to CBTC system, and the last layer of each branch is the tree-shaped of test case Relational graph stores the incidence relation as the incidence relation.
Further, determined by engineering system statement of requirements book between each function that CBTC system is realized comprising closing System.
For example, CBTC system may include the several modules for realizing following functions according to engineering system statement of requirements book, point It is not the module for realizing VOBC (Vehicle On-Board Controller, Vehicle Controller) function, realizes ZC (Zone Controller, zone controller) function module, realize ATS (Automatic Train Supervision, train are automatic Supervision) function module, realize the module etc. of CI (Computer Interlocking, interlock computer) function.Further Ground further divides each functional module, for example, VOBC can also include the mould of realization " train positioning " function Block, the module of realization " management operating rank " function, the module of " locomotive velocity measuring " function, the module of " train ranging " function, " pipe The reason train speed curve " module of function and the module etc. of realization " train is turned back " function.And so on, certain is realized to each The module of one function refines, and until that can not refine, has just obtained the inclusion relation between each function that CBTC is realized.
After having obtained the inclusion relation between each function, generates and store the tree-shaped of CBTC realization of functions in each node Relational graph.It will be appreciated that each function of being contained in a certain function is stored in the corresponding sub- section of the function in tree-shaped relational graph Point in.
For example, by the first-level nodes of the storages such as VOBC, ZC, ATS and CI for including in CBTC system to tree-shaped relational graph In, refine each function in the first-level nodes and list its sublayer or sublayer etc., until cannot refine again.In the last layer function Sublayer list the corresponding test case of its function.Fig. 2 is the tree-shaped pass of partial function provided in this embodiment and test case System's figure referring to fig. 2 refines the VOBC of the first-level nodes storage, will be where the function that refined to VOBC storage to VOBC In each child node of node, then the function in each child node is refined, after refining layer by layer.For example, to the second node layer In " train is turned back " refinement obtain " someone turns back " and " nobody turns back "." someone turns back " in third node layer is refined To " point type is turned back " and " CBTC turns back ", " nobody turns back " is then without further refinement.In the 4th node layer " point type is turned back " It is refined, obtains " point type CM turns back " and " point type AM turns back ", " CBTC turns back " is then without further refinement.
As shown in Fig. 2, test case is stored under the first node of each branch's the last layer, for example, with " point type CM rolls over Return " corresponding test case includes " point type CM has loop wire transponder to turn back " and " point type CM turns back without loop wire transponder ".With " point Formula AM turns back " it is corresponding that test case is including " point type AM has loop wire transponder to turn back " and " point type AM is rolled over without loop wire transponder It returns ".Test case corresponding with " CBTC turns back " includes " CBTC-CM turns back " and " CBTC-AM turns back ".It is right with " nobody turns back " The test case answered includes " pressing bridge AR- > pass key -> pressing platform AR ", " pressing bridge AR- > pressing platform AR- > pass key ", " pressing bridge AR- > pass key -> pressing platform AR- > pressing ATO ", " pressing bridge AR- > pressing platform AR- > pass key -> pressing ATO ", " pressing bridge AR- > passs key ", " pressing bridge AR- > pass key -> pressing ATO " and " influence that route turns back to nobody is crossed in route accommodation of turning back ".
A kind of method that test verifying is carried out in CBTC test analysis is present embodiments provided, by the realized function of CBTC Tree-shaped relational graph is established in the division of energy inclusion relation, can be saved the corresponding relationship of test case and functional requirement, clearly be tested The relationship of demand Yu entire test case library is presented to the coverage condition of system requirements in use-case clearly, so that tester Member is more readily understood that the test purpose of test case.
Further, on the basis of the various embodiments described above, the acquisition is for screening the corresponding survey of the objective function The screening conditions of example on probation, comprising:
Obtain the screening conditions of user's input being made of each function;Wherein, the screening conditions include that the association is closed The corresponding function of all nodes of second node is associated in system by root node;The second node is the objective function in institute State corresponding node in incidence relation.
Further, user inputs screening conditions by human-computer interaction interface.The option provided by human-computer interaction interface It forms screening conditions or user and screening conditions is manually entered by human-computer interaction interface.
Specifically, first layer is subsystem, below each layer be followed successively by function and refinement functional layer.Generating screening conditions When, it can directly be selected according to drop-down menu, keyword pop-up correlation function can also be inputted and selected, screened always Change of product can not refine again, and man-machine mutual interface exports all test cases of lower the included bottom of father layer.
As shown in Fig. 2, for modifying " function of turning back " function in the system to " VOBC " this function, according to change text Shelves explanation is linked up with research staff, is determined that sublayer specifically occurs for the modification of software, is exemplified below several situations:
(1) it if change occurs to turn back (function that need to turn back to train is tested) at function in entire train, inputs Screening conditions " VOBC, train are turned back ", output all test cases of bottom are 13 total;
(2) it modifies if turning back just for someone, inputs screening conditions " VOBC, train are turned back, someone turns back ", It is 6 total to export all test cases of bottom;
(3) it modifies if turning back just for nobody, inputs screening conditions " VOBC, train are turned back, nobody turns back ", It is 7 total to export all test cases of bottom;
(4) modify if turning back just for the point type that someone turns back, input screening conditions " VOBC, train turn back, Someone turns back, point type is turned back ", output all test cases of bottom are 2 total;
(5) modify if turning back just for the CBTC that someone turns back, input screening conditions " VOBC, train turn back, Someone turns back, CBTC turns back ", output all test cases of bottom are 2 total;
(6) if (nobody each test case of turning back down corresponds to a kind of side to certain mode turned back just for nobody in Fig. 2 Formula) it modifies, input screening conditions " VOBC, train are turned back, nobody turns back, nobody turn back mode " export all surveys of bottom Example 1 on probation.
A kind of method that test verifying is carried out in CBTC test analysis is present embodiments provided, by screening conditions, according to Variation point and dendrogram, system can quickly export the test case that need to be verified, clear, quick exhaustive.
Further, on the basis of the various embodiments described above, the latter function in the screening conditions is in the association Corresponding node is the child node of previous function corresponding node in the incidence relation in relationship.
Each function sorts according to inclusion relation in screening conditions, and the function positioned at front includes to be located at subsequent function, just It is screened layer by layer in the function of being listed according to screening conditions in tree-shaped relational graph Zhang Gong, screening efficiency is higher.
Further, on the basis of the various embodiments described above, in the incidence relation, the layer far from root node is included The number of function function included than the layer of close root node is more.
Specifically, since CBTC system is huge, function is various, for the realizability and availability of dendrogram, formulates Accomplish as far as possible when joining tree figure: first layer is classified as unit of subsystem, can be divided into VOBC, ZC, ATS, CI etc.;By most When top extends downwardly sublayer, the quantity of function items is successively incremented by as far as possible, for example, should not the second sublayer just have numerous need It asks, such tester has father's layer that can conveniently trace back to the function point being changed to sublayer.
It will be appreciated that in tree-shaped relational graph, on the one hand, a function may correspond to multiple test cases, in Fig. 2 Nobody turn back function, due to there is 7 kinds of implementations, so corresponding 7 test cases.On the other hand, a test case It may be the sublayer of multiple functions, Fig. 3 is that a test case corresponds to multiple functions in tree-shaped relational graph provided in this embodiment Schematic diagram, referring to Fig. 3, the corresponding function of test case " ITC-CM is handled to be run under a route " has " train positioning ", " management Runlevel ", " locomotive velocity measuring ", " train ranging " and " management train speed curve " etc..
Further, on the basis of the various embodiments described above, the association from pre-stored function and test case Inquiry meets the test case of the screening conditions in relationship, as target detection use-case, comprising:
According to the context for the function of including in the screening conditions, started to query from the root node of the incidence relation Each function in the screening conditions, until inquiring the last one function of including in the screening conditions, by last All test cases that a function corresponding node can be associated with are as the target detection use-case.
A kind of method that test verifying is carried out in CBTC test analysis is present embodiments provided, by screening conditions, according to Screening conditions can rapidly obtain corresponding all test cases under a certain function by tree-shaped relational graph.
Further, on the basis of the various embodiments described above, the root node from the incidence relation starts to query institute State each function in screening conditions, further includes:
If a certain function in screening conditions can not be inquired from the incidence relation, the screening conditions packet is issued Prompt information containing the function that can not be inquired.
The case where in the presence of a certain partial error in wrong or incidence relation is inputted because of screening conditions, in this case may be used The a certain function in screening conditions can be caused inquire, issue prompt information at this time so that the timely basis of tester mentions Show that information carries out malfunction elimination, guarantees the normal acquisition of test case.
Further, on the basis of the various embodiments described above, further includes:
If receiving the request for checking the incidence relation, display realizes what each function generated according to CBTC system, And the last layer of each branch is the tree-shaped relational graph of test case.
User carries out the input of screening conditions by human-computer interaction interface, checks corresponding test case, can also pass through Human-computer interaction interface checks tree-shaped relational graph all or in part, can also be repaired by human-computer interaction interface to tree-shaped relational graph Change.
Fig. 4 is the structural block diagram that the device of test verifying is carried out in a kind of CBTC test analysis provided in this embodiment, ginseng See Fig. 4, which includes obtaining module 401, enquiry module 402 and test module 403, wherein
Module 401 is obtained, for the objective function to test analysis to be carried out in CBTC system, is obtained described for screening The screening conditions of the corresponding test case of objective function;
Enquiry module 402 meets the sieve for inquiring from the incidence relation of pre-stored function and test case The test case for selecting condition, as target detection use-case;
Test module 403, for being tested by the target detection use-case the objective function;
Wherein, the incidence relation is generated according to the tree-shaped relational graph of CBTC system realization of functions.
The device of test verifying is carried out in CBTC test analysis provided in this embodiment suitable for provided by the above embodiment The method that test verifying is carried out in CBTC test analysis, details are not described herein.
The device that test verifying is carried out in a kind of CBTC test analysis is present embodiments provided, previously according to CBTC system institute Realize that the tree-shaped relational graph of function stores each test case, when needing to test objective function a certain in CBTC system When, user only needs to input has the institute of inclusion relation functional as screening conditions with the test function, can pass through pass Join relational query to all target detection use-cases for being tested the objective function, by the target detection use-case inquired It can complete the test process to objective function.Tree-shaped relational graph specifies the inclusion relation between each function, and each test Corresponding relationship between use-case and function facilitates tester to be scanned for according to relationship specific in tree-shaped relational graph, reduces Requirement to tester.And all tests corresponding with objective function can be quickly and accurately positioned by tree-shaped relational graph Use-case, search efficiency is high and realizes thorough search.
User by human-computer interaction interface with carry out screening conditions input, check corresponding test case, check entirely Or it the tree-shaped relational graph in part and modifies to tree-shaped relational graph.Specifically, human-computer interaction interface has following functions: (1) leading to The one or more screening conditions of input are crossed, test case is chosen;(2) all test cases can be checked;(3) it can check entire Function and test case joining tree figure.Wherein, the most number of the function of including in screening conditions be tree-shaped relational graph in most The number of nodes of bough.
In the method and device for carrying out test verifying in CBTC test analysis provided by the present application, by function and test case In typing tool, the node of dendrogram, which is refined, becomes screening conditions, and tester can directly select screening conditions, can also be with It is selected again after input keyword according to the menu of pop-up.Compared with prior art, exportable bottom and function are had the advantage that The relevant all test cases of energy, can reduce omission compared with artificial selection;The process of selection test case is carried out by computer, is surveyed Examination personnel only need input condition, greatly reduce the working time;Screening conditions can be selected, and system can automatic output phase The test case answered, tester require to reduce to the familiarity of test case library.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the embodiment of the present invention, rather than it is right It is limited;Although the embodiment of the present invention is described in detail referring to foregoing embodiments, the ordinary skill of this field Personnel are it is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or to part Or all technical features are equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution The range of each embodiment technical solution of the embodiment of the present invention.

Claims (9)

1. carrying out the method for test verifying in a kind of CBTC test analysis characterized by comprising
To the objective function of test analysis to be carried out in CBTC system, obtains and used for screening the corresponding test of the objective function The screening conditions of example;
Meet the test case of the screening conditions from inquiry in the incidence relation of pre-stored function and test case, as Target detection use-case;
The objective function is tested by the target detection use-case;
Wherein, the incidence relation is generated according to the tree-shaped relational graph of CBTC system realization of functions.
2. carrying out the method for test verifying in CBTC test analysis according to claim 1, which is characterized in that described in foundation The method of incidence relation includes:
It determines the inclusion relation between each function that CBTC system is realized, is generated according to the inclusion relation and stored in each node The tree-shaped relational graph of CBTC realization of functions;
To the first node of each branch's the last layer of the tree-shaped relational graph of generation, will be used for corresponding to the first node The test case that function is tested is stored into the child node of the first node;
It will realize what each function generated according to CBTC system, and the last layer of each branch is the tree-shaped relationship of test case Figure is used as the incidence relation, stores the incidence relation.
3. carrying out the method for test verifying in CBTC test analysis according to claim 2, which is characterized in that the acquisition For screening the screening conditions of the corresponding test case of the objective function, comprising:
Obtain the screening conditions of user's input being made of each function;Wherein, the screening conditions include in the incidence relation The corresponding function of all nodes of second node is associated with by root node;The second node is the objective function in the pass Corresponding node in connection relationship.
4. carrying out the method for test verifying in CBTC test analysis according to claim 3, which is characterized in that the screening The latter function in condition corresponding node in the incidence relation is that previous function is corresponding in the incidence relation Node child node.
5. carrying out the method for test verifying in CBTC test analysis according to claim 2, which is characterized in that in the pass In connection relationship, the number of the included function of the layer function included than the layer of close root node far from root node is more.
6. carrying out the method for test verifying in CBTC test analysis according to claim 4, which is characterized in that described from pre- Inquiry meets the test case of the screening conditions in the incidence relation of the function and test case that first store, as target detection Use-case, comprising:
According to the context for the function of including in the screening conditions, started to query from the root node of the incidence relation described Each function in screening conditions, until inquiring the last one function of including in the screening conditions, by the last one function All test cases that energy corresponding node can be associated with are as the target detection use-case.
7. carrying out the method for test verifying in CBTC test analysis according to claim 6, which is characterized in that described from institute The root node for stating incidence relation starts to query each function in the screening conditions, further includes:
If can not inquire a certain function in screening conditions from the incidence relation, issuing the screening conditions includes nothing The prompt information of the function of method inquiry.
8. carrying out the method for test verifying in CBTC test analysis according to claim 1, which is characterized in that further include:
If receiving the request for checking the incidence relation, display realizes what each function generated according to CBTC system, and every The last layer of one branch is the tree-shaped relational graph of test case.
9. carrying out the device of test verifying in a kind of CBTC test analysis characterized by comprising
Module is obtained, for the objective function to test analysis to be carried out in CBTC system, is obtained for screening the target function The screening conditions of the corresponding test case of energy;
Enquiry module meets the screening conditions for inquiring from the incidence relation of pre-stored function and test case Test case, as target detection use-case;
Test module, for being tested by the target detection use-case the objective function;
Wherein, the incidence relation is generated according to the tree-shaped relational graph of CBTC system realization of functions.
CN201910750271.1A 2019-08-14 2019-08-14 The method and device of test verifying is carried out in a kind of CBTC test analysis Pending CN110532179A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910750271.1A CN110532179A (en) 2019-08-14 2019-08-14 The method and device of test verifying is carried out in a kind of CBTC test analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910750271.1A CN110532179A (en) 2019-08-14 2019-08-14 The method and device of test verifying is carried out in a kind of CBTC test analysis

Publications (1)

Publication Number Publication Date
CN110532179A true CN110532179A (en) 2019-12-03

Family

ID=68663230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910750271.1A Pending CN110532179A (en) 2019-08-14 2019-08-14 The method and device of test verifying is carried out in a kind of CBTC test analysis

Country Status (1)

Country Link
CN (1) CN110532179A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061258A (en) * 2019-12-31 2020-04-24 卡斯柯信号(北京)有限公司 Function testing method and device based on train control system
CN112286800A (en) * 2020-10-20 2021-01-29 苏州浪潮智能科技有限公司 Auxiliary analysis method and system for functional test points
CN112346986A (en) * 2020-11-25 2021-02-09 武汉光庭信息技术股份有限公司 Test case layered storage method and system, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192194A (en) * 2007-01-19 2008-06-04 中兴通讯股份有限公司 Test case design method based on test case database
CN104239212A (en) * 2014-09-28 2014-12-24 北京国双科技有限公司 Query method and device of test case and establishment method and device of test case
JP2015022386A (en) * 2013-07-17 2015-02-02 株式会社日立製作所 Railway operation control system, and verification device
CN107885095A (en) * 2017-09-26 2018-04-06 浙江浙大列车智能化工程技术研究中心有限公司 CBTC system automations test device and its method of testing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192194A (en) * 2007-01-19 2008-06-04 中兴通讯股份有限公司 Test case design method based on test case database
JP2015022386A (en) * 2013-07-17 2015-02-02 株式会社日立製作所 Railway operation control system, and verification device
CN104239212A (en) * 2014-09-28 2014-12-24 北京国双科技有限公司 Query method and device of test case and establishment method and device of test case
CN107885095A (en) * 2017-09-26 2018-04-06 浙江浙大列车智能化工程技术研究中心有限公司 CBTC system automations test device and its method of testing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061258A (en) * 2019-12-31 2020-04-24 卡斯柯信号(北京)有限公司 Function testing method and device based on train control system
CN112286800A (en) * 2020-10-20 2021-01-29 苏州浪潮智能科技有限公司 Auxiliary analysis method and system for functional test points
CN112346986A (en) * 2020-11-25 2021-02-09 武汉光庭信息技术股份有限公司 Test case layered storage method and system, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN110532179A (en) The method and device of test verifying is carried out in a kind of CBTC test analysis
Svenson Decision making and the search for fundamental psychological regularities: What can be learned from a process perspective?
CN109857667A (en) Automatic interface testing method, test device, test equipment and storage medium
CN109857668A (en) UI automated function test method, test device, test equipment and storage medium
CN102331967B (en) Method for managing chip verification test cases
CN105718371B (en) A kind of regression testing method, apparatus and system
CN106650942B (en) Fault diagnosis method based on electronic equipment testability model
CN102608464A (en) Modularized automatic test assembly system of rely protection device and test method of modularized automatic test assembly system
CN104794057A (en) Automatic testing method and device for crossed event
CN112532299B (en) Satellite test automatic execution system based on module splicing
CN111078482A (en) Communication navigation equipment test system, method, equipment and readable storage medium
CN104283610B (en) Multistage passive optical network fault monitoring system and implementation method thereof
CN114064922B (en) Service value chain multi-chain knowledge graph construction method based on third party cloud platform
CN110162811A (en) Testability modeling and analysis method based on fault diagnosis
CN102591641A (en) Method and system for verifying business process
CN107080945A (en) Method, device and the electronic equipment of artificial intelligence behavior in test game
CN114218781B (en) Comprehensive modeling analysis method for system functions and reliability, safety and testability
CN109657908A (en) A kind of visiting method, system and computer readable storage medium
CN110347976A (en) Method, system, device and the storage medium of quick equipment leading out data model
CN109120708A (en) Construction method, call method and the device of business module based on micro services component
CN107748720A (en) A kind of method and device of the service parameter of detection function test cases
CN106885583A (en) Inertial navigation system method of testing and test system
Brézillon et al. Modeling and using context for system development: Lessons from experience
CN100385410C (en) Method for generating software test expectative result by use of standard tester and relavant software test method
CN108845799A (en) A kind of visualization procedure method of calibration, device and computer readable 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191203