Stylianos Gakis
05/02/2023, 12:44 PMverify
testing API, I notice that it’s naturally complaining about some things not being in the graph which we provide to some ViewModels and so on by passing them using the parametersOf()
on the call site.
Does this mean that for all of those I simply have to pass them into the list that verify()
accepts to simply ignore these warnings? We have a bunch of those, and also for some of them they’re internal in sub-modules, so having the entire list of those in my :app where I run this test is kinda inconvenient.Stylianos Gakis
05/02/2023, 12:49 PMContext
missing, which is not provided by my code exactly, but from doing androidContext(context.applicationContext)
.
Or WorkerParameters
which is provided from workManagerFactory()
I guess again, I need to pass Context::class
and WorkerParameters::class
in there for the verify task to ignore this too right?arnaud.giuliani
05/09/2023, 4:41 PMarnaud.giuliani
05/09/2023, 4:42 PMStylianos Gakis
05/09/2023, 5:11 PMarnaud.giuliani
05/09/2023, 5:12 PMarnaud.giuliani
05/09/2023, 5:13 PMStylianos Gakis
05/09/2023, 5:14 PMarnaud.giuliani
05/09/2023, 5:16 PM