mvrx-mocking / com.airbnb.mvrx.mocking / MavericksViewMocks / mockGroups

mockGroups

open val mockGroups: List<List<MavericksMock<V, out Args>>>

An optional breakdown of mocks to categorize them into groups.

Groups allow splitting up a view with lots of mocks so they can be run in separate tests (better parallelization), with separate default arguments and states. This is useful for complicated views that want to share different default arguments or states with many mocks.