Font Size: a A A

Design And Implementation Of Automation Testing System Based On BDD Theory

Posted on:2020-08-26Degree:MasterType:Thesis
Country:ChinaCandidate:R BiFull Text:PDF
GTID:2428330575979916Subject:Engineering
Abstract/Summary:PDF Full Text Request
Agile development has become the mainstream mode of software development industry,but if we simply follow the agile development process,there are often problems such as lack of predictability,lack of communication and quality lower than expected in the process of software iteration.And test-driven development can effectively solve such common problems by taking advantage of agile development.Test-driven development is necessary in agile mode,because automated testing is a scenario of software requirement documents and a warning light of software quality.Test-driven development can enhance team communication and cooperation.It can use dialogue,concrete examples and automation technology to explore,discover,define and obtain expected software behavior.Based on agile development model and BDD theory,combined with Jbehave framework,this paper develops a comprehensive automated test system,which integrates four core modules: WEB UI test function,REST API test function,Selenium Grid service and test case management platform.There are three main difficulties in the design and implementation of the automated test system: 1.The system is based on behavior-driven development theory and data-driven development theory,and integrates WEB UI test function and REST API test function to realize configurable,customizable and low-threshold test framework.2.Integrate the distributed automated test environment based on Selenium,and provide Selenium Grid deployment service to improve the efficiency of automated test.3.Develop a test case management platform based on data visualization technology,providing functions of display,statistics and management for test cases.At the same time,aiming at the huge number of test cases,the platform uses lazy loading technology to realize the smooth management of massive test cases.The main idea of the system is to integrate the functions of popular test frameworks based on behavior-driven development theory and reduce the difficulty of using automated test frameworks to improve ease of use.Taking TestNG as the entrance,based on Jbehave framework,and combined with Selenium Grid distributed service and test case management statistical platform deployed by docker swarm technology,the goal of automated test system is low threshold,multi-function,simple and easy to use.The purpose of the automated test and test system studied in this paper is to better control agile characteristics,increase the efficiency and quality of software development,and achieve a truly people-oriented agile development model.The purpose of integrating WEB UI test function and REST API test function is to endow the test system with the most basic functional characteristics,so as to ensure the quality of software development.The purpose of integrating Selenium Grid distributed service and test case management statistical platform is to improve the efficiency of software development.Only by guaranteeing quality and efficiency at the same time can we better implement the idea of agile development.
Keywords/Search Tags:Agile development, Automated testing, Behavior driven testing
PDF Full Text Request
Related items