Posts

Kotlin Context Parameters

Context receivers have been around in Kotlin since version 1.6.20 in experimental state, now they have entered preview state with version 2.2.0 under the name context parameters. The experimental phase has been used to get a better understanding of the use cases, to introduce improvements and to clarify the syntax. After a recap of the evolution, this article will show some use cases and the syntax, in order to give you an impression of the possibilities offered by context parameters. Read the article on medium...

Azure Storage Development with Azurite — Part II Testing

The first part was about setting up Azurite and using it for local development, and how the Azure Storage Explorer can be helpful in interacting with the storage. In this second part we will use Azurite as a testcontainer for medium size Unit and Spring Integration tests. Read the article on medium...

Azure Storage Development with Azurite — Part I

This article will show the usage of Azurite, a lightweight server clone of Azure Storage. The first part will be on setup in order to use the BlobStorage, TableStorage and Queue-APIs, the second part will be on testing using Azurite testcontainer. Read the article on medium...

Testing Coroutines — Update 1.6.0

About one year ago I wrote some articles describing the Kotlin Coroutines Testing module. With the recent 1.6.0 release things changed significantly, so it’s time for an update. Read the article on medium...

Testing Coroutines — Dispatchers

In part one and two of this series we saw how to make use of the time control features of the kotlinx-coroutines-test module. In this part you will see how to test code that utilizes a dedicated dispatcher. Read the article on medium...

Testing Coroutines — Timeout

The first part of this series provided you an introduction to the building blocks of the kotlinx-coroutines-test module, and gave you some examples on eager execution and virtual time. In this second part we will have a look at testing timeouts. Read the article on medium .

Testing Coroutines — Introduction

This is the first part of my little series on testing coroutines, where we will explore the capabilities of the kotlinx-coroutines-test module. All examples (and some utility functions) are provided in a Git repository, so give it a try. This first part will introduce the building blocks of the module, and give some examples on eager execution and virtual time. Read the article on medium .