Debugging Android Unit Tests from the Gradle Command Line

./gradlew test<BuildVariant> --debug-jvm
Listening for transport dt_socket at address: 5005
./gradlew test<BuildVariant> --debug-jvm --tests my.package.MyTest

--

--

--

Documenting my learnings on my journey as a software engineer.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Jetpack DataStore in Android

Android ClipDrawable

RecyclerView Adapter Template with DiffUtil and View Binding

Introduction to UI Testing in Flutter | BrowserStack

Generate Strong Random Password In Flutter

Google Assistant App Actions on Android

Multimedia Operations for Android using FFmpeg

Android Performance — Overdraw

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
Brian Terczynski

Brian Terczynski

Documenting my learnings on my journey as a software engineer.

More from Medium

How To Use Hilt to Setup a Solid Architecture in Android

Using Secrets in Circle Ci and Local

Kotlin⚡️: Constructors | Erselan Khan

Comparing BigDecimals for Equality