Android Test Case - how to view output?

前端 未结 6 920
野趣味
野趣味 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:30

    You shoud see the Log.d() messages in logcat unless your test is crashing much before (i.e in the constructor).

提交回复
热议问题