By 6 January 2020 | Categories: news


Kaspersky has opened access to its Android Automated Testing Framework. The tool, named Kaspresso, takes advantage of flexible settings and is easy to use. With Kaspresso, mobile developers can, according to the company, “significantly reduce the amount of time needed for application testing without the fear of overlooking a bug, therefore speeding up the application release process.” The tool has already received positive feedback at two major technology conferences – Mobilization IX and Codemotion Berlin 2019.

It is quite challenging for mobile developers to choose an appropriate automating testing tool that will reduce lead time for an application’s release. Nowadays, there are many frameworks and tools for conducting automated tests, such as Espresso and Appium. However, these frameworks can’t solve all Android developers’ problems, like their concerns around readability, flakiness, logging, and architecture of UI-tests.

The issues mentioned above prevent mobile developers from writing clean, stable, maintainable, and understandable UI-tests. In order to solve existing problems with the convenience of UI-tests, Kaspersky has introduced a new Android app testing tool, named Kaspresso. The tool is based on two libraries for creating automated Android tests – Espresso and Kakao.

However, Kaspersky explained that due to the inclusion of the Kakao library, which serves as a DSL wrapper over Espresso, Kaspresso improves the readability of UI-tests, which brings test descriptions to a new level, and makes them more understandable.

Kaspresso also solves the problem with flaky tests and logging. Flaky tests are cases in which the test result is unpredictable, and has different reasoning behind each failure, despite the functionality working without malfunctions on the developer’s device. As for Espresso’s existing logging problems, as it does not log its actions, the new tool can show all Espresso activities. Moreover, the user can modify them further.

Therefore, the tool provides a simple and convenient way to manage interceptors, which are the entry point for all the API requests that tests call. Kaspresso presents a rich set of default interceptors for handling flaky tests and improving the logging process.

Finally, Kasperksy asserted that Kaspresso offers the best practices which mobile developers at Kaspersky have gained following many years of experience. The framework includes architecture recommendations to unify and standardise UI-tests. 

“We decided to make the Kaspresso framework publicly available as the creation of a framework for autotests requires a lot of effort and resources. Furthermore, self-testing tools for Android simplify mobile developers’ lives. We tried to combine the best resources and practices into one tool and put our own best practices and experience into it,” commented Victor Yablokov, Head of Mobile Products Development at Kaspersky.

“We hope that with the help of Kaspresso, mobile developers will create better and more reliable Android applications. We also consider that users and the entire industry will benefit from this,” he concluded.


Magazine Online is South Africa's leading magazine for tech product reviews, tech news, videos, tech specs and gadgets.
Start reading now >
Download latest issue

Have Your Say

What new tech or developments are you most anticipating this year?
New smartphone announcements (44 votes)
Technological breakthroughs (28 votes)
Launch of new consoles, or notebooks (14 votes)
Innovative Artificial Intelligence solutions (28 votes)
Biotechnology or medical advancements (21 votes)
Better business applications (132 votes)