Skip to content

Add extension functions for modifying a List<DelayController> #1203

Closed
@objcode

Description

@objcode

Add extension functions for modifying multiple DelayController at once.

Use case: This is useful for advanced testing situations where the interaction of multiple controllers is being tested.

In addition, a lot of early users of the library have shared that they are making multiple TestCoroutineDispatcher instances in a test (i.e. IO, Default, and Main). While the recommended style is to use one TestCoroutineDispatcher unless explicitly testing dispatcher interactions, the ergonomics will be better when tests are written in this style with aggregate extensions.

Depends on idle implementation in #1202 to allow advanceUntilIdle to be implemented.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions