Skip to content

Support Coroutines in Espresso #462

Open
@seadowg

Description

@seadowg

With the deprecation of AsyncTask I'd imagine many apps are starting to look at a switch to coroutines. One outstanding problem is that (as far as I'm aware) Espresso does not have the same support for coroutines as it does for AsyncTask - as the docs say Espresso will not make assertions until "There are no instances of AsyncTask currently executing a task".

This feature has always been a massive positive for Espresso and makes TDD/BDD workflows in Android comparatively easy so the lack of coroutine support is still a large blocker for adopting them - for me at least.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions