Skip to content

Glossary: Kotlin Beyond the Basics

kotest

Also written: Kotest, StringSpec, shouldBe

A Kotlin test framework with its own style. In a `StringSpec`, each test is a string followed by a lambda, and `shouldBe` is an infix assertion.

Where the book teaches it

Related terms

JUnitinfix function