Is it possible to define Activity inside Android test project and run a test against it?

后端 未结 2 996
孤街浪徒
孤街浪徒 2021-01-07 19:18

I\'m writing tests for a component in my Android application. This component uses activities to make some reports. So I need an activity in order to test the component (ugly

2条回答
  •  死守一世寂寞
    2021-01-07 20:12

    The test project and activity can coexist together, put the target package name as the test project's package name

提交回复
热议问题