c# - How do I assert that an Observable doesn't push any item? -


i know how unit test sequences observable.never.

how can sure nothing pushed sequence?

you cannot sure nothing ever pushed observable, because equivalent solving halting problem, impossible. is: want know if program ever terminate (something pushed) or run forever (nothing ever pushed).

the best can check if nothing pushed during arbitrary timeout of choice.

that said - don't need test observable.never anyway. if have real code observable should never push items - please show in question.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -