Angular Master Podcast cover image

AMP 4: Target RxJS part I with Michael Hladky

Angular Master Podcast

00:00

The Limits of Marble Tests

With marble tests you basically can sketch all those scenarios in very little code. You just draw how this scenario should look like when in time the subscription happens, when inTime the unsubscribe happens and you can also test that with the test scheduler of RxJS. So testing your custom operators in that way is really nice. I also did experiments where I tested services, stateful services and so on. It also worked out quite well. And I also had some bad experiences of course with testing, with marble testing and with testing asynchronous code in general. Okay, so when I should use them, you should and mention it already, you should use them when you have a lot of different scenarios

Play episode from 01:05:39
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app