Skip to content

2.x TestObserver and TestSubscriber for unit testing #4477

@VictorAlbertos

Description

@VictorAlbertos

In 1.x I was using TestSubscriber to perform assertions in unit tests. But it seems that in 2.x is TestObserver the class that we need to use for this matter. Is that correct? And if that's correct, when I should use TestSubscriber?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions