Amrita Chaturvedi
02/25/2021, 6:55 AMallan.conda
02/25/2021, 7:10 AMAmrita Chaturvedi
02/25/2021, 7:22 AMallan.conda
02/25/2021, 7:23 AMAmrita Chaturvedi
02/25/2021, 7:24 AMallan.conda
02/25/2021, 7:26 AMAmrita Chaturvedi
02/25/2021, 7:26 AMallan.conda
02/25/2021, 7:28 AMallan.conda
02/25/2021, 7:29 AMallan.conda
02/25/2021, 7:29 AMAmrita Chaturvedi
02/25/2021, 7:30 AMallan.conda
02/25/2021, 7:33 AMallan.conda
02/25/2021, 7:33 AMAmrita Chaturvedi
02/25/2021, 7:34 AMtrevjones
02/26/2021, 12:37 AM@Component(modules = [WhateverYouWantOrNeedModule::class])
interface TheTestComponent {
val theViewModelToTest: SomeViewModel
val somethingYouCheckToValidateOrConfigure: SomethingViewModelDependsOn
}
trevjones
02/26/2021, 12:39 AMtrevjones
02/26/2021, 12:40 AMjar
modules you can also use the test fixtures plugin and have your library module also provide fake versions of shared interfaces for things like data loading and such. then you are able to hopefully keep things like mockito out of your tests.Jeremy
02/26/2021, 1:42 AMJeremy
02/26/2021, 1:43 AMJeremy
02/26/2021, 1:47 AMAmrita Chaturvedi
03/03/2021, 9:14 AM