leanmind logo leanmind text logo

Blog

Sustainable Coding, training open to the public

We have available Sustainable Coding course open to the public in Barcelona, Madrid, San Francisco and Chicago!

Testing RxJS Observables with Marble Diagrams

By Daniel Ramos Acosta

Testing RxJS might be a hard task, specially when we have a complex pipeline with lots of time assertions. In this article we’ll explore how can we make these tests easier to reason about using Marble Diagrams, but first:

What are Marble Diagrams?

Marble Diagrams are visual representation for events emitted over the time. For example, this is the diagram corresponding to an emission from 0 to 3 over the time:

Read more…


Source: https://medium.com/lean-mind/testing-rxjs-observables-with-marble-diagrams-c2e45820c5cb
Published on 2018/08/15 by
Daniel image

Daniel Ramos Acosta

http://danielramos.me

Do you want more? We invite you to subscribe to our newsletter to get the most relevan articles.

If you enjoy reading our blog, could you imagine how much fun it would be to work with us? let's do it!

We boost the professional growth of your development team