Easyread
Published in

Easyread

SourceSet SharedTest Not Working in Android Studio Chipmunk? Use TestFixtures as Solution

When we create a test code, we often find duplicate code for the local test (test) and instrumentation test (androidTest). Alternatively, we can create a common test folder where we can store files, classes, and functions which will be available for local and instrumentation tests. Usually, we call it sharedTest pattern.

--

--

--

Easy read, easy understanding. A good writing is a writing that can be understood in easy ways

Recommended from Medium

Android apps debugging

Clean Architecture in KASKUS Chat

From Gradle to Gradle.kts: The definitive Groovy to Kotlin conversion guide.

Building Reactive UIs with LiveData and SavedStateHandle (or equivalent approaches)

On device ML with custom TFLite models in Flutter apps

My Journey as a Google’s Study Jam Android Facilitator at Kalyani Government Engineering College…

Biometric Security in Android Applications

Android Copy Text To Clipboard

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ahmad Arif Faizin

Ahmad Arif Faizin

More from Medium

How to Use FFmpeg in Android

Kotlin development — future of android app development

Android 13 Beta Installation on Google Pixel and Non-Pixel Devices

Android 13 Beta Installation on Google Pixel and Non-Pixel Devices

What I Have Learnt About Fragments

The Android Fragment Lifecycle. Courtesy of: CodePath