Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

JUnit 5 Testing: Android Unidirectional Data Flow with LiveData

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

Intermediate
32m
(1)

Created by droidcon SF

Last Updated Jan 07, 2021

Course Thumbnail
  • Course

JUnit 5 Testing: Android Unidirectional Data Flow with LiveData

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

Intermediate
32m
(1)

Created by droidcon SF

Last Updated Jan 07, 2021

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Core Tech
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.

JUnit 5 Testing: Android Unidirectional Data Flow with LiveData
Intermediate
32m
(1)
Table of contents

About the author
droidcon SF - Pluralsight course - JUnit 5 Testing: Android Unidirectional Data Flow with LiveData
droidcon SF
68 courses 4.3 author rating 12 ratings

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.

Get started with Pluralsight