Font Size: a A A

The Mobile-Phone Automatic-Test Platform Based On Django

Posted on:2022-04-28Degree:MasterType:Thesis
Country:ChinaCandidate:L SangFull Text:PDF
GTID:2518306608459374Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
With the continuous development of social science and technology,smart phones have been widely used in all aspects of people's lives,whether it is life services,communication and entertainment and other aspects are closely related to mobile phones.At present,there are hundreds of Chinese mobile phone companies,but whether it is Oppo,Vivo,Smartisan or Huawei,they are all based on the Android operating system.In the face of increasingly fierce competition in the industry,so improve the quality of mobile phones,especially the quality of software is particularly critical,so the test link is necessary,before the domestic mobile phone market is relatively depressed,so most of the mobile phone manufacturers on the mobile phone test still stay in artificial or semi-automatic test.With the continuous prosperity of domestic mobile phone market in recent years,mobile phone testing tasks are naturally more and more.In the face of heavy testing tasks,automated test platform has become an indispensable part of large enterprises.This paper will be my internship in a company on the development of automated test platform experience,starting from the company's automated test platform architecture design,framework building detailed steps,the development of the entire automated test platform and the realization of the internal logic of automated test are elaborated in detail.Automated testing is the application of automated tools to software testing,in-orderto reduce the workload,so that testers can test software more efficiently and economically.Aiming at the situation of a company with a huge number of Android terminal testing tasks,excessive workload of testers and single physical hardware testing,this paper designs and develops a mobile phone automated testing platform based on Django framework,which successfully solves the problem of high testing cost.At the same time,for the consideration of commercialization,the goal of this testing platform is to achieve a multi-platform,low threshold,which can allow developers and testers to quickly get started,and can be adapted to more and more Android terminals,such as mobile phones or wristbands.In this paper,the automated testing platform need technology,such as the Django framework,android-debug-ridge,websocket,etc.,and made a detailed description and comparison,and the demand of the system functional requirements and non-functional requirements has carried on the comprehensive analysis,through these technical support,in-order-to make the automated test platform design development principle and architecture design.In this project,I was mainly responsible for the architectural design of the automated test platform and the development and implementation of part of the test function modules.The development language was Python,PyCharm was used as the IDE,and Celery was used as the distributed task queue.Such as the core of the stability test Monkey test,and based on the Monkey memory test function module,etc,and complete the automated testing platform of the internal logic and user rights management module,and the automated testing platform of the system performance is optimized,the main means to optimize the performance of the redis optimization,including the deployment of cluster cluster,through asynchronous caching mechanism to ensure the cache and consistency of database,etc.After the completion of the platform development,the large number of test data and test diagrams were used,and the results of the functional and non-functional requirements were analyzed.Starting with the test function and performance,the robustness,availability and efficiency of the system were proved.By testing several terminal equipment of a company as an example,this paper puts forward the requirements of the automated test platform,and introduces and analyzes the framework design concept,application scenarios,module functions and related technologies of the automated test platform in detail.
Keywords/Search Tags:Automatic-test platform, Django, Websocket, Celery
PDF Full Text Request
Related items