Skip to content

JUnit tests not reporting errors for assertions in onNext() #434

@cogmission

Description

@cogmission

The onNext() method swallows failed assertions leaving only the stack trace as an indicator of whether a test passes or fails. This can be fixed by collecting the failed states and reporting them at the end of the tests using the TestObserver instead of a regular observer.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions