How to turn on console output in Android Unit tests? shows how to get stack trace for failing Android unit tests run using Gradle from the terminal. But not for instrumentation tests (i.e. ones in src/androidTest
) and TestOptions
doesn't seem to have a section called androidTests
, instrumentationTests
or something like that, as opposed to unitTests
. How can I get these stack traces?
Asked
Active
Viewed 191 times
3

Alexey Romanov
- 167,066
- 35
- 309
- 487