how to mock viewmodel that inject using dagger hilt for android testing

前端 未结 0 931
长发绾君心
长发绾君心 2021-01-05 10:16

I use dagger hilt in my project. I want to write UI test for some fragments. I need to mock the viewModel in the test class and associ

相关标签:
回答
  • 消灭零回复
提交回复
热议问题