android-junit5 icon indicating copy to clipboard operation
android-junit5 copied to clipboard

Log not working with ParameterizedTest

Open hellday opened this issue 1 year ago • 1 comments

Hello, Test annotated with @ParameterizedTest don't show any logs. I tested it with Log class and the println() method from Kotlin.

It's working fine on a test annotated with @Test.

hellday avatar Dec 07 '23 17:12 hellday

Hi, apologies for the late response. When you say that this test "doesn't show any logs", do you mean the Test window in Android Studio, or do you mean that even Logcat doesn't show anything? To verify, please check if you can find your log statements inside Logcat when the test is executed (you can filter Logcat with tag:System.out to find the println() messages). If they show up in Logcat but not in the AS Test window, then we can fold this ticket into #312.

mannodermaus avatar Feb 04 '24 06:02 mannodermaus