Using Android Test Framework

后端 未结 4 1446
时光取名叫无心
时光取名叫无心 2020-12-07 16:02

Android provides various packages for testing like

AndroidTestCase ApplicationTestCase InstrumentationTestCase ActivityInstrumentat

4条回答
  •  误落风尘
    2020-12-07 16:32

    I found this tutorial from droidcon 09 to be really informative. Complete with downloadable working source code examples.

    Edit: The link seems to be dead, as pointed out in comments.

    It walks through creating a Celcius to Fahrenheit temperature converter test-first using ActivityInstrumentationTestCase2, TestCase and AndroidTestCase.

提交回复
热议问题