Featured resource
pluralsight tech forecast
2025 Tech Forecast

Which technologies will dominate in 2025? And what skills do you need to keep up?

Check it out
Hamburger Icon
  • Course
    • Libraries: If you want this course, consider one of these libraries.
    • Core Tech

JUnit 5 Testing: Android Unidirectional Data Flow with LiveData

Droidcon SF 2019 | JUnit 5 Testing: Android Unidirectional Data Flow with LiveData | Adam Hurwitz

droidcon SF - Pluralsight course - JUnit 5 Testing: Android Unidirectional Data Flow with LiveData
by droidcon SF

What you'll learn

Beginning to test the Coinverse app from scratch was daunting at first. You may ask a number of questions. Where do you begin between testing the UI and business logic? How do you handle components that work with the network responses, databases, and analytics? After modularizing the app using Android's Unidirectional Data Flow (UDF) and LiveData, writing local unit tests for the business logic became simpler. In this talk, Adam Hurwitz discusses how to use the UDF pattern with LiveData in Kotlin in order to write JUnit 5 tests with MockK.

Table of contents

About the author

droidcon SF - Pluralsight course - JUnit 5 Testing: Android Unidirectional Data Flow with LiveData
droidcon SF

droidcon SF is where the industry's leading Android experts converge to support the Android platform and create a strong network for developers and companies.

More Courses by droidcon