Original author: Zeng Xia, wechat client test and development engineer.


1, the preface





































2. Quality issues that wechat pays most attention to








Procedure 1 The installation and startup failed














2 crash issue









This has the following knock-on effects:





  • 1. Poor user experience;
  • 2. Additional work for development and testing;
  • 3. Caused a series of losses caused by the release delay.





3, to find the problem in advance








For installation and startup issues — override installation tests









The test flow for an overridden installation is as follows:



























2Crash problem — stability test









Limitations of Monkey tests:















Select the frame to modify the Monkey script:









Get control (View) with frame:









The birth of custom Monkey:















At present, the effect of the transformation has been improved to a certain extent than the original effect. The following are the test results of the single machine:

























3. Model coverage — cloud-based test






























4. Other key quality issues: new function adaptation















Big differences between versions, automation in trouble:









Some features can be automated: semi-automated testing:















Functional automated testing migrating to the cloud testing platform:





  • Establish wechat private cloud: On the private cloud, wechat team continuously submits automated scripts for 24-hour testing. When a particular model is missing from the private cloud, the model on the public cloud serves as a supplementary test.
  • Connection between wechat quality system and private cloud: The public cloud test platform opens some interfaces to wechat, and wechat uses these interfaces to build its own cloud quality management platform, intuitively and conveniently conducting test management, greatly improving efficiency.






5. Final effect















Click here to enter


Appendix: summary of articles about QQ and wechat



[1] Technical articles on QQ and wechat:



How does the super IM wechat with a monthly life of 889 million carry out Android compatibility test



Discussion on “Light Application” in MOBILE IM by Taking MOBILE QQ as an Example



Get wechat open source mobile database component WCDB everything!



Technical interview with wechat Client Team leader: How to start client performance Monitoring and optimization



Design practice of time-sequence-based cold and hot classification architecture for massive data in wechat background



Wechat team original sharing: Android version of wechat bloated trapped and modular practice road



Wechat background team: sharing the optimization and upgrade practice of wechat background asynchronous message queue



Wechat team original share: wechat client SQLite database damage repair practice



Tencent original share (a) : how to greatly improve the mobile QQ picture transmission speed and success rate under the mobile network



(2) How to greatly reduce the Traffic consumption of APP in mobile Network (Part 2)



How to greatly reduce APP traffic Consumption in mobile Network (Part 1)



Wechat Mars: network layer encapsulation library being used inside wechat, which will be open source



As promised: Mars, a cross-platform component library for wechat’s mobile IM network layer, has been officially open source



Open source Libco library: the foundation of background framework supporting 800 million users of wechat



Wechat new generation communication security solution: MMTLS based on TLS1.3



Wechat team original sharing: Android version of wechat background to keep alive combat sharing (process to keep alive)



Wechat team original sharing: Android version of wechat background to live combat sharing (network to live)



The evolution of wechat for Android from 300KB to 30MB



Wechat’s technical evolution from 300KB to 30MB for Android



Speech by technical Director of wechat on Architecture: The Way of wechat — Avenue to Simplicity



Wechat Technical Director’s Talk on Architecture: The Way of wechat — Avenue to Simplicity (PPT presentation)



How to interpret “wechat Technical Director on Architecture: The Way of wechat — The Road to Simplicity”



Background system storage architecture behind massive wechat users (Video +PPT)



Wechat asynchronous transformation practice: background solution behind 800 million monthly live, single machine 10 million connections



Wechat Moments of mass technology PPT [Attachment download]



Technical Experiment and Analysis of wechat’s Influence on Network



A summary note of wechat background technology architecture



The way of architecture: 3 programmers have achieved 1 billion daily releases in wechat Moments



Fast Fission: Witness the evolution of wechat’s powerful background architecture from 0 to 1 (I)



Fast Fission: Witness the evolution of wechat’s powerful background architecture from 0 to 1 (II)



Android memory leak monitoring and optimization tips summary



A comprehensive summary of iOS version wechat upgrade iOS9 encountered a variety of “pit”



Wechat team original resource confusion tool: reduce your APK by 1M immediately



Android source obfuscation tool: AndResGuard



Android version of wechat installation package “weight loss” combat record



IOS version of wechat installation package “weight loss” combat record



Mobile IM practice: iOS version of wechat interface lag monitoring scheme



Technical difficulties behind wechat’s “red envelope photos”



Mobile IM practice: iOS version oF wechat small video function technical scheme record



Mobile IM Practice: How to greatly improve the Interactive performance of wechat on Android (I)



Mobile IM Practice: How to greatly improve the Interactive Performance of wechat on Android (II)



Mobile IM practice: To realize the intelligent heartbeat mechanism of wechat on Android



Mobile IM practice: Analysis of heartbeat strategy of WhatsApp, Line and wechat



Mobile IM Practices: A Study of Google’s Push Messaging Service (GCM) (from wechat)



Mobile IM practice: Discussion on multi-device font adaptation scheme of iOS version wechat



Walk through the APNS pit on iOS10 together



Tencent carrier pigeon technology sharing: ten billion real time message push experience



More of the same…






[2] Technical stories about QQ and wechat:



Technology past: Tencent in the early stage of business – 16 years ago in the winter, who moved ma Huateng’s code



Technical past: the most complete QQ icon change process in history, tracing the evolution history of IM giants



Technology past: how do “QQ group” and “wechat red envelope” come from?



Development past: the depth of 2010 to 2015, wechat all the way behind the wind and rain



Development of the past: wechat millennium unchanged that flash screen picture origin



Development past: Record the story behind wechat 3.0 (9 months after the release of wechat 1.0)



A wechat intern: The wechat development team in my eyes



First revealed: QQ real-time video chat behind the mysterious organization



More of the same…