Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Test Case - how to view output?

I'm using AndroidTestCase for unit testing. I have a unit test which is failing, but I haven't figured out how to display output from it. For example, I don't see the values I print using Log.d or System.out.println in the console nor the logcat output.

How do I view the unit test console?

like image 521
Jack BeNimble Avatar asked Mar 27 '11 19:03

Jack BeNimble


1 Answers

With Android Studio 2.3.1, works using the old fashioned Java styled

System.out.println("Start Test"); 

Here you can see the output:

enter image description here

like image 152
Jorge Casariego Avatar answered Oct 17 '22 10:10

Jorge Casariego