Soloπ: Alipay's open source Android special test tool

Soloπ: Alipay's open source Android special test tool- https
: //github.com/soloPi/SoloPi Soloπ: Alipay's open source Android special test tool- https ://juejin.im/post/5d25a79ee51d4556db694a8d
  test: from the early days based on test scripts Stand-alone automation, to the in-depth application and innovation of test technologies such as recording and playback, image recognition, and cloud testing platform, which meet actual business needs, test efficiency has been improved again and again.
  A set of wireless, non-intrusive, Root-free Android special test solution Soloπ implemented by Alipay on the mobile terminal. Directly control the mobile phone to realize automated functions, performance, compatibility, and stability testing.
  As a complete set of special test programs, in addition to the aforementioned recording and playback, one machine with multiple controls, and performance testing, Soloπ also provides functions such as data mock, performance boost, network simulation, and smart monkey. At present, part of the source code of Soloπ is open source (project address: https://github.com/soloPi/SoloPi

  The era of mobile testing 1.0 can also be called the exploratory period. Tired of manual operations day after day, how to improve test efficiency has become the most important topic in the mobile testing field. During this period, in addition to the official tools such as Monkey, UiAutomator, Instruments, etc., a number of excellent open source tools have emerged Automated testing tools/frameworks, based on automation driving capabilities, can not only realize the verification of basic functions, but also realize the automation of various special tests in combination with performance acquisition schemes and traversal algorithms. At this stage, the common form of automated testing is to deploy the test environment on a single machine or a few local PCs, and then use tools such as Jenkins to achieve continuous integration.
  In the mobile testing 2.0 era, with the continuous development of testing technology and the open source of STF, the concept of cloud testing platform has begun to appear in the industry. The real device, task management, automation framework and special testing solutions are packaged in the platform as a service Provide it out and bring users a one-stop testing experience. On the other hand, the introduction of technologies such as remote debugging and equipment scheduling has greatly improved the utilization of equipment. Testers no longer need to worry about the lack of test equipment or the time-consuming queuing of test tasks. For cloud test platform users, the common test form at this stage is: develop test scripts on the local PC, upload them to the cloud test platform for execution, and finally view the test report on the platform. The test process is simple and clear.
  Mobile test 2.0+ retains the above-mentioned "cloud test" gameplay. In the mobile test 2.0+ era, the testing technology provided is often no longer an independent gadget, but more a complete solution. Solutions, such as providing users with a customized IDE environment, combined with recording and playback, image recognition and other technologies, users may only need to do some simple box selection, drag and drop to complete the development of test scripts. On the other hand, due to the constraints of office environment, hardware conditions and other factors, more and more testers hope to initiate tests directly on the mobile terminal to achieve "mobile testing" for mobile testing. Of course, whether it is the cloud, IDE, or mobile, all capabilities should be interoperable, that is, "multi-terminal multi-access", so that the test solution can be more flexible and applicable to more scenarios.

  There are already some Java open source projects that implement the ADB communication protocol, such as AdbLib. They encapsulate a set of ADB debugging communication services, which can replace the role of ADB Server on the PC. We integrated the AdbLib open source library in the Soloπ application, packaged into a set of ADB command execution tools, and laid a solid foundation for the realization of various subsequent special testing capabilities of Soloπ.
 A Java library implementation of the ADB network protocol- https://github.com/cgutman/AdbLib
 Sample project of this library: https://github.com/cgutman/AdbLibTest
 Java ADB library- https://github.com/ tananaev/adblib

Guess you like

Origin blog.csdn.net/ShareUs/article/details/95892003