JetBrains to Roll Out Ktor Framework

Framework is suitable for writing back-end projects and microservices in the Kotlin language
20 November 2018   1342

JetBrains developers told about the release of the stable version of the Ktor 1.0 framework. It helps to create asynchronous servers and clients in related systems. According to the creators, the framework is suitable for writing back-end projects and microservices in the Kotlin language. Documentation and project generator are published on the official website.

First of all, it is worth noting that this is an open source project that is distributed under the Apache 2 license. The main components are:

  • HTTP server running on a virtual machine. It works on Netty, Jetty, and server-side Java programs. It can be placed in a container, embedded in desktop or Android applications, as well as run on Tomcat. Moreover, it corresponds to the paradigm of the application of twelve factors.
  • Multiplatform HTTP client. Although asynchronous, it uses the same coroutines and I / O elements that control the server.

Tools will help the developer to customize the main components of the application.

The Kotlin / Native project supports Ktor, starting with version 0.8. In this case, the working version of Kotlin / Native 0.9 was released in early September 2018. In it, developers added support for unsigned types and interoperability with C, Objective-C / Swift.

Kaspersky Lab to Open Kaspresso Source Code

The solution is designed for mobile services testing
21 October 2019   159

Kaspersky Lab has uploaded a tool for self-testing applications on Android on GitHub. The creation involved developers from HeadHunter and Avito. Kaspresso - as the framework is called - has already been tested on Kaspersky Lab’s mobile services.

The framework is based on two autotest libraries: Espresso and Kakao. Kaspresso can be used in AndroidDebugBridge tests - this is when specified commands are executed on the device for debugging. In normal tests through Espresso, there is no ADB support. Kaspresso also logs all actions and can solve problems with flaky tests when the result is unpredictable. It is written in Kotlin.

Kaspersky Lab believes that Kaspresso differs from its competitors in the flexibility of settings and ease of use.