Create TDD/BDD Integration Test with runTest for Kotlin Suspend Functions for Retrofit JSON parsing

Опубликовано: 06 Февраль 2022
на канале: Brandan Jones
768
21

In this video I use a Requirements Document to create a Test Driven Design/Behavior Driven Design unit test, with runTest, to test a Retrofit JSON Parse that occurs in co-routines. I do not write the code to interact with Retrofit or parse the JSON in this video; I simply write the TDD Integration test that will test that code. I explain a bit of information along the way, including what a coroutine is.

All source code is freely available in GitHub: https://github.com/discospiff/MyPlant...
This video is part of a playlist on creating Android apps with Jetpack Compose, which is avialable here:    • Create an Android app with Jetpack Co...