Robolectric not using test application

后端 未结 3 1842
抹茶落季
抹茶落季 2021-02-06 03:11

According to this link I can create a test application which Robolectric will automatically start using in tests. I cannot get this to work.

I am using Dagger for depen

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-06 03:38

    You can configure it in the file org.robolectric.Config.properties

    application = 
    

    See http://robolectric.org/configuring/

提交回复
热议问题