Developers: | Kaspersky (earlier Kaspersky Lab) |
Date of the premiere of the system: | October, 2019 |
Branches: | Information technologies |
Technology: | Development tools of applications |
2019: Disclosure of source codes
In October, 2019 Kaspersky Lab published source codes of the tool for automatic testing of the Android-applications. The solution under the name Kaspresso is based on two libraries for creation of the automated tests of Android — Espresso and Kakao.
Besides, the framework gives use opportunity in the AndroidDebugBridge (ADB) tests — the tool allowing to execute different debug commands on the device. In normal Espresso-tests of support of ADB at the developer is not present.
The developer can customize the system of autotests based on Kaspresso, proceeding from the individual tasks and features of the application. If the developer already had autotests, then for their integration into Kaspresso it is not necessary to rewrite anything — the framework provides connection of already existing tests.
Service solves problems with so-called flaky-tests — cases in which the result of execution of the test is unpredictable, and the failure reasons every time can be different, besides that on the device at the developer such function runs smoothly.
Besides, the solution provides logging of all actions in the course of the test, simplification of localization of the application due to creation of screenshots in different languages.
The Kaspresso service is tested on own products of the Russian company, including Kaspersky Internet Security for Android, Kaspersky Security Cloud, Kaspersky Safe Kids and Kaspersky Who Calls.
As note in Kaspersky Lab, the company on own experience learned as far as autoapplications testing in Android simplifies life of developers: it not only quicker and more conveniently, but also is much more effective than "manual" tests.
Creation of a framework for autotests requires many forces and resources, and the cost of development and support of own platform is quite often much higher, than carrying out tests manually. For this reason the company as noted in it, uploaded publicly a framework of [1]
Notes
- ↑ Kaspresso.https://github.com/KasperskyLab/Kaspresso Kaspersky Lab Kaspresso