Android Test Case - how to view output?

前端 未结 6 966
野趣味
野趣味 2021-01-07 16:05

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\'

6条回答
  •  孤独总比滥情好
    2021-01-07 16:43

    Just to be clear, if you're running an emulator you have to use adb logcat.

    Also, make sure you're using the standard android.util.Log.d() to send your output.

提交回复
热议问题