Never miss a beat

Join my newsletter.

Tag: bdd

BDD Assertions with Expekt for Kotlin

Published: 10/26/2018

Behavior-Driven Development (BDD) has became quite a popular strategy for writing tests in the past ten or so years. BDD is a style of test-writing that focuses on test cases that flow like natural English sentences. Expekt is one such library for writing JUnit assertions in Kotlin. Combining JUnit and Expekt you can achieve results like this: Adding Expekt to Your Project As of writing, the current version of Expekt is 0.5.0 so that’s the one we’ll include in our project. If you’re using…