Skip to content

Fail with message #1

@oakesja

Description

@oakesja

I think it would be useful if there was a fail method that would either compare the error that was thrown or the message. Something similar to the following:

assertThat(observable.toBlocking())
   .failsWithError(new Throwable("Some error'))

or

assertThat(observable.toBlocking())
   .failsWithErrorMessage("Some error")

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