Workshop: RxJS unit testing tools in Angular applications - 1/2

Module 1/2

If you already tried to code unit tests for Observables - then you may be overwhelmed with a variety of methods on how to do that.
Which one is right for you?

Will it be jasmine with 'done' callback which we usually use for async code?
Or maybe TestScheduler?
Or you are going to use jasmine-marbles which is being mentioned in official Angular documentation?
I am not even naming other methods.
What is common for them and where they differ? How to put all of them in one solid picture in your head?
This is what I am going to do in my lessons - I will make you understand the system.

You will learn:
  • Jasmine with done callback
  • VirtualTimeScheduler testing
  • fakeAsync testing
  • TestScheduler
  • TestScheduler.run methods
  • Marble testing
  • Jasmine-mables
  • rxjs-marbles