Leveraging Kotlin for Tests

Given/When/Then

I heard that adding a featured image helps increase clicks. Does it work? Who knows! If it does, thank you, Sigmund on Unsplash!

Test Names

Structuring Test Code

Providing a formal structure using a DSL

https://www.spekframework.org/gherkin/

Expressing the “Given” scenario as a class

More backtick functions… for Given scenarios!

“Given“ Builders

Footnotes

Android GDE & Android @snappmobile_io, working remotely from Hamburg, Germany. I like Kotlin, Animations and Rabbits! speakerdeck.com/jossiwolf

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

7.4 Creating a New Class Structure for Our Vertex Data

images/Textures/ObjectHierarchy.png

MIUI 12 heavy battery drain is a known issue, fix to come in future builds

Exploring Google ARCore

Now in Android #29

Flutter + Firebase setup on Android & IOS

Let your delegates auto-nullify references☠️

Flutter Navigation Mocking In 15 Minutes

Introducing DrawRoute: A Kotlin Library for Drawing Routes on Google Maps for Android

Time lapse of a mountain road at night

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jossi Wolf

Jossi Wolf

Android GDE & Android @snappmobile_io, working remotely from Hamburg, Germany. I like Kotlin, Animations and Rabbits! speakerdeck.com/jossiwolf

More from Medium

Android Paintflags Configuration, Explained

Diving deep into Kotlin Coroutines.

Jetpack compose — A primer

ACTIVITY LIFECYCLE IN KOTLIN