Font Size: a A A

Automatic Generation Of Test Cases For Computer Based Interlocking

Posted on:2023-10-10Degree:MasterType:Thesis
Country:ChinaCandidate:A J CaoFull Text:PDF
GTID:2542307073483144Subject:Traffic Information Engineering & Control
Abstract/Summary:PDF Full Text Request
Railway signal refers to the general term of technical equipment to ensure the safety of train operation,improve the efficiency of train operation and improve the working conditions of operators.Computer based interlocking ensures the safe and efficient operation of train in the station through real-time control of the logical actions of signal equipment such as signals,switches,and track circuits in the station.Before the computer based interlocking software is put into use in the actual station,the software system needs to be functionally tested to ensure that the logical action of the signal equipment in the station is correct,thereby ensuring the safe operation of the train in the station.The test of any set of software system should give a corresponding test case,take any input from the input set,and give an expected result under the condition that the software design meets the requirements.In the actual test process,compare the actual result and the expected result.The similarities and differences between them can be used to judge the completeness of software functions.At present,the functional testing of computer based interlocking software is mainly completed manually.The interlocking engineer manually compiles test cases and decomposes the test cases into test sequences for automatic or manual execution step by step.In the testing process,the preparation of test cases and the execution of tests are heavily dependent on human factors,and there are problems such as huge workload,error-prone and low efficiency.Therefore,it is necessary to establish a set of auxiliary software for interlocking function test.In this thesis,through the research on the relevant standards and specifications of interlocking function testing,combined with the existing computer based interlocking software,according to the requirements of the computer based interlocking function test outline,in the Visual Studio 2017 environment,the C# language was used to design the computer based interlocking test cases automatic generation software.The software took the station interlock table as the basic input data and realized the automatic generation of the test case of the interlocking software.At the same time,the output data of the test cases was used as the input of the computer based interlocking automatic test system to realize the automatic test of the interlocking software and improved the performance of the interlocking software.The automation degree of the computer based interlocking system was improved,at the same time,the completeness of the interlocking function test was enhanced.The main research contents of this thesis are as follows:1.Introduced the computer based interlocking system and the computer based interlocking software automatic test system as a whole,clarified the functional requirements of the automatic generation system for interlocking test cases,and designed the software system framework and workflow.2.Input and output data determination and data processing.Determined the data format and the data structure in the software implementation process according to the computer based interlocking software function test specification,and reserved the relevant interface and communication data format in combination with the automatic test system.3.Designed each module in the software framework in detail to realized input and output data processing,general test path design,interlock path traversal,human-computer interaction and data output functions.4.According to the software workflow,the functions realized by the automatic generation software for interlocking test cases were displayed,and the interlocking test case was automatically generated for joint debugging and joint debugging in combination with the automatic test system;the results show that the automatic generation software for interlocking software test cases can be generated quickly,accurately and completely.The test case of interlocking software function test has better stability and higher degree of automation.
Keywords/Search Tags:Railway signal, computer based interlocking, test case, automatic generation, C#
PDF Full Text Request
Related items