mannodermaus / android-junit5

Testing with JUnit 5 for Android.
Apache License 2.0
872 stars 52 forks source link

Log not working with ParameterizedTest #311

Closed hellday closed 2 months ago

hellday commented 11 months ago

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.

mannodermaus commented 9 months ago

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.