| Automated testing automates tedious testing tasks,which is convenient for testers to perform repeatedly.It is suitable for replacing manual testing in regression testing,to ensure the accuracy of test results and improve testers’ enthusiasm.In recent years,many test tools for different business scenarios have emerged in the industry,but most test tools only test a certain business point and cannot cover the testing needs of most users in the industry.The platform designed and developed by them can only provide specific test types for users.A comprehensive test platform provides testing services for testers,configures and manages users,roles,permissions and testing tools for administrators,and provides functions of platform running status,resource monitoring and statistics for operation and maintenance personnel.The automated post-test terminal system designed in this thesis based on Jenkins integrated test tool is a part of a comprehensive test platform.The advantages of Jenkins’ executable Shell script during construction are utilized to generate corresponding test execution commands for various test scenarios.Generate different types of test reports with the help of Jenkins’ rich plug-in library.The back terminal system designed in this thesis integrates several mainstream testing tools in the testing field,and testers can meet the requirements of interface testing,unit testing,mobile terminal interface testing and traversal testing by using this platform.The system considers the integration cost of specific test tools and the independent operation of test tools and supports the deployment and operation of test tools independently from the test system on the premise of ensuring the unified integration of all test tools into the system in specific test scenarios.The back terminal system of the automated test platform is based on the mainstream test technology and closely follows the trend of test technology,which enables more software testers to get rid of the repeated manual test activities,reduces the test cost and effectively shortens the test time to improve the iterative speed of development.The test report generated by this system is intuitive and specific,log analysis is accurate,and continuous integration management can be realized.It has great advantages in ensuring test quality and improving test efficiency.In this thesis,the communication between the terminal system and Jenkins server after automatic testing is realized.The system customized Jenkins Job configuration file according to different testing requirements and realized the construction and execution of Jenkins Job.In addition,the Jenkins Sh ell encapsulates the callback address and command to call the toolkit deployed in the specified directory,and the Jenkins server can push test data,logs,reports and other information to the back terminal system.This thesis uses finite state automata as modeling language and abstracts a reusable Execute Test Processing Pattern(ETPP)for the execution process of different Test tools in various Test scenarios.Using the idea of domain-driven Design(DDD),we divide the concept of Domain model and improve the architecture of existing data-driven systems.In this thesis,the mainstream development method of front and back-end separation is adopted.The development of back-end system is completed of the project.Technically,Java language and Spring Boot framework are used,and the persistence layer is matched with relational database MySQL and graph database Neo4j.The execution engine uses a Restful HTTP interface to communicate with the front-end system.This thesis first introduces the background of automated testing,analyzes the status quo of automated testing tools after investigation,and introduces the technology and tools used in this thesis.Secondly,combined with the use case diagram and activity diagram,the system requirements are analyzed,which is divided into test case management,test plan set management,test task set management,test results management,scheduled task management and automatic traversal management.Again,in the outline design of the overall architecture of the system functional modules are described,database and table structure design.Then,the system is designed in detail with program flow chart and sequence diagram.Finally,the system is tested and the work results are summarized. |