Font Size: a A A

Design And Implementation Of TestSet Management System Based On Code Coverage

Posted on:2018-04-23Degree:MasterType:Thesis
Country:ChinaCandidate:Y ChuFull Text:PDF
GTID:2348330518998966Subject:Engineering
Abstract/Summary:PDF Full Text Request
Code coverage is an important indicator of the extent to which software code are covered by the test cases.The code coverage test can not only quantify the testing work but aiso guide the testing work direction for the software product,which brings a substantial increase in stability and reliability of the product.At the same time,code coverage test and the relationship between test cases are inseparable.Using code coverage indicators for the design skills of test cases management,not only can guide the test staff to add test cases targeted to improve the efficiency of code coverage test,but also to further reduce the execution cost of the test case.In the mobile Internet era,software products change faster.Each change in the product,including but not limited to repair the previous version of the known Bug,new features,delete some features such as any changes,the program code will be changed accordingly.In order to ensure the reliability of the product,the Internet company must check each subtle change in the regression test before publishing the product.When the number of source code is large,and the number of modified part of the code is small,the code coverage test data indicators will no longer have meanings.In this paper,we focus on the problem of excessive coverage,low efficiency and easy to track product update iteration in the process of code coverage driving test.We study and design the test case management system based on code coverage.The main functions of the system are:(1)Supporting users to view test tasks,create test tasks,perform test tasks,delete test tasks,modify and stop test tasks.Achieving the allocation of test resources and scheduling.(2)Accomplishing code coverage test.The system can implement the code coverage test,calculate the line coverage and functional coverage.(3)Analysing the quality of the code coverage test.The system compares the new code coverage datas with last versions of the code coverage changes to achieve the quality of the code coverage test.And then,provide suggestions for testers to add or remove test cases.(4)Achieving testcase management and optimization.The system uses the CCTSS algorithm to reduce testcase numbers and the cost time of code coverage test.On the basis of elaborating the basic concepts,tools,principles and methods of code coverage-driven testing,this paper introduces the key technologies used in the process of system implementation.Analyzing the drawbacks and application requirements of existingcode coverage-driven testing.Designing a number of different functional modules and displaying with SAP UI5 user-friendly style.In the end,achieving the testset management based on code coverage.The test results based on the SAP R & D center show that,by managing the testset,the code coverage-driven testcase management system can improve the code coverage of the product.At the same time,system supports the independent display of the new feature code coverage when the product is updated.Also,system can improve the efficiency of code coverage-driven testing and reduce the manpower inputs,achieving the intended design goals finally.
Keywords/Search Tags:Automated Testing, TestSet Management, Test Assignment, Code Coverage Driven
PDF Full Text Request
Related items