2.x: BaseObserver.assertOnlyValues(T...)
See original GitHub issueI’d like to introduce assertOnlyValues
to the BaseObserver
. It’s the counterpart to assertResult(T...)
which does almost the same except for the fact that the type hasn’t completed yet.
I’m open if anyone has a better function name. Internally it’d delegate to:
assertValues(values)
.assertNoErrors()
.assertNotComplete()
.assertSubscribed();
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
2.x: BaseObserver.assertNothing · Issue #5693 - GitHub
Just want to piggyback on #5555. assertOnlyValues became very useful in our team, basically freeing us from writing multiple tests to check ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Okay, let’s add it.
I’d name it
assertValuesOnly
so it should show up right afterassertValues
in code completion.That’s what I’m doing right now. However I still think a lot of other people could benefit from this and the cost of adding this is really low.
Open for any better name.