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

GloballyDynamic: Multi-platform dynamic delivery with a unified client API

Migrating the deprecated Kotlin Android Extensions compiler plugin to ViewBinding

Revamping Meesho’s Android App UI: Implementation Takeaways

Android — How to protect the apps from illegal operations by third party using biometric api

How to Create Custom AppBar/ActionBar/ToolBar in Android Studio | Java

Intro Screen with multi-languages support in Android | Portfolio app in Android (PART 1)

AAPT: error: attribute android:requestLegacyExternalStorage not found

Dagger in Kotlin: Gotchas and Optimizations

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 upload images to AWS S3 from the Android app.

CI/CD for Android using GitHub Actions and Gradle Play Publisher

Filter pattern: kobiri’s parser pipeline

Kotlin vs Java Example: Part - 6 | Erselan Khan