Font Size: a A A

Design And Implementation Of Automated Testing Framework Of QJK

Posted on:2020-03-04Degree:MasterType:Thesis
Country:ChinaCandidate:Q W WeiFull Text:PDF
GTID:2392330590996474Subject:Traffic Information Engineering & Control
Abstract/Summary:PDF Full Text Request
With the development and maturity of communication technology and computer technology in recent years,as well as the wide application of CBI and CTCS,which provides a good technical basis for the promotion and development of signal control system of general speed line.QJK has come into being,which uses safety computer technology and safety communication technology to realize the control functions such as safety information transmission between stations,direction control and logical check control of section occupancy.It is responsible for protecting the safety of train operation and is the key signal equipment on the railway.The test environment of QJK is complex,with so much test data and frequent tests.How to test quickly,comprehensively and effectively is an urgent problem to be solved.Analyzing the existing testing tools and testing frameworks,there is no automatic testing framework and tools that can be directly applied to QJK.Therefore,design and implement a automated testing framework of QJK to test QJK,improve the testing speed and ensure the testing quality.In this paper,through QJK overview that has analyzed QJK external information interaction and the test data points of QJK engineering data,the functional requirements,interface requirements and simulation requirements of automated testing framework of QJK are determined,and has proposed automated testing framework of QJK which is based on black box testing,dynamic testing,automation testing,data-driven technology and keyword-driven technology is proposed to realize that test data.Test logic and test script are separated from each other.Designing systematically the information interaction of each part of automated testing framework of QJK,and determines the principle of automated testing,including generating station data structure,automated loading simulation,automated analysis of test cases,automated execution of test cases and automated generation of test reports.Then the module of automated testing framework of QJK is designed by MVC mode to realize modularization and plug-in.In the process of implementing automated testing framework of QJK by software development,Producer/consumer mode is adopted to solve the thread concurrency problem and strong coupling problem.Hierarchical keyword separation design is introduced to solve the keyword driving problem.Using Python script language and Wing IDE 6.0 integrated development environment,to realize each module of automated testing framework of QJK,and then integrate to be a complete organic whole.Write specific test cases to verify the automated testing framework of QJK.By automatically testing the logic checking control function of section occupancy,the security information transmission function between stations and the direction control function,the automated testing framework of QJK can be validated,and whether the test station passes or not can be accurately judged.The results show that the automated testing framework of QJK not only improves the test efficiency,but also can test correctly with high coverage and ensure the test quality.
Keywords/Search Tags:QJK, automated test framework, automated testing, keyword driven, data driven
PDF Full Text Request
Related items