Font Size: a A A

Design And Implementation Of Test Case Translation And Distribution System For Testing Platform

Posted on:2022-07-19Degree:MasterType:Thesis
Country:ChinaCandidate:X YuFull Text:PDF
GTID:2518306338968819Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Software testing plays an important role in software development,and it is an essential process to avoid software defects and ensure the user experience of software.But it also takes up time and human resources in the process of software development.Automated testing is an effective means to improve testing efficiency,which is generally realized by writing automated testing program scripts or using automated testing tools.Test case script writing and execution are two important steps in the testing process.Simplifying the writing of test scripts can effectively reduce the learning cost of testers and shorten the testing time.At present,the commonly used web test description language still has the problem of complicated use.To solve the problem of simplification of test script writing,in this paper,a test case description language and its translation system are designed and implemented,which are close to natural test logic,and can be translated into executable programming language scripts by using syntax analysis tools.As a kind of domain-specific language,the testcase description language is designed with grammatical logic close to natural language,which is suitable for general testers.The Test Case Description Language(TCDL)realizes the abstract description of the web page function test process,and realizes the application of domain-specific language in the web page test field.It can simplify the operation of test case scripts writing and generate executable scripts by configuring templates,data and TCDL scripts.When the test case script is executed,it will be sent to multiple execution servers.Load balancing algorithm can improve the execution efficiency of test cases.A test case distribution system is designed in this paper and then implemented.The system can distribute the test case script to the test execution server according to the load condition of the server.In this paper,the improved particle swarm algorithm is used to achieve load balancing effect.Compared with the traditional deterministic load balancing algorithm,it has more reasonable allocation strategy and more stable results.The testcase description language designed in this paper,the use case translation subsystem and the load balancing subsystem constitute a complete testcase translation distribution system,which improves the testing process.Firstly,the background knowledge of automated testing,the related theories in the fields of syntax analysis and load balancing are showed in this paper.And then introduced the research status.Then,the requirements of the system are analyzed and build the expected realization of the system.Then,the test case translation system and distribution system are designed,and the load balancing function is realized by using particle swarm algorithm,and the particle swarm algorithm is improved to some extent.
Keywords/Search Tags:software testing, domain specific language, particle swarm, ANTLR, load balancing
PDF Full Text Request
Related items