Skip to content

Writing marble tests #17

Description

@jmfayard

Hello,
what I lack when testing rx java things is the ability to quickly produce input observables.

RxJs has super cool functions to produce those

cold("--a--b--#"): On frame 20 emit a, on frame 50 emit b, and on frame 80, error`

hot("-a-^-b--|"): In a hot observable, on frame -20 emit a, then on frame 20 emit b, and on frame 50, complete.

https://github.com/ReactiveX/rxjs/blob/master/doc/writing-marble-tests.md

something like that in kotlin would be super valuable

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions