Font Size: a A A

Researches On The Tests And Its Efficiency Of Web Browsers Compatibility Based On Mutation

Posted on:2018-09-07Degree:MasterType:Thesis
Country:ChinaCandidate:D QinFull Text:PDF
GTID:2348330518494899Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Since the Web system and related protocol were put forward by Tim Berners-Lee from European Organization for Nuclear Research(CERN),this cross-platform,dynamically interactive,hyper text and HTTP based distributed information system has gained explosive development,and changed people's life profoundly.However,browser incompatibility has always been an significant issue that limited the development of Web applications.For the same webpage,different browsers may show different results in terms of content,form and behavior.This brings great trouble to the developers and Web users.At present,the test methods and tools for browser compatibility are not sufficient.This thesis analyzes the browser compatibility issues of JavaScript,designs relevant mutation operators from the perspective of mutation analysis and develops test tool for mutation analysis.In addition,in terms of improving mutation testing efficiency for browser compatibility,we propose two execution strategies.Specifically,the main contributions of this thesis are as follow:(1)This thesis studies the browser compatibility issues based on mutation analysis,and designs 18 mutation operators.It is verified that these mutation operators are effective in implanting faults and evaluating completeness of test case suite in exposing browser compatibility issues.(2)In terms of improving mutation testing efficiency of browser compatibility,we propose two execution strategies and apply them to mutation testing of browser compatibility.First,we introduce parallel execution strategy to improve the inefficiency caused by the repetitive execution of same mutant in different browsers.Moreover,we commit partial execution strategy to evaluate the capability of existing test case suite in discovering browser compatibility issues.When the mutant is killed by any test case,the execution of following test cases is stopped immediately,so that the time spent on executing test cases can be reduced.(3)Aiming at the compatibility testing and efficiency analysis of browsers,this thesis implements an automated mutation testing tool,namely Compatibility Mutator.This tool not only achieves the mutation testing of browser compatibility issues,but also improves the efficiency apparently.
Keywords/Search Tags:mutation operator, JavaScript compatibility, parallel testing, partial execution strategy
PDF Full Text Request
Related items