Skip to content

MichaelMurithi/UnitTesting-RxJS-Marble-Diagrams

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

29 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โœจ Welcome to Unit Testing RxJS with Marble Diagrams

Welcome to Unit Testing RxJS with Marble Diagrams

๐Ÿ’ป Angulr App

  • โœ… Angular v8.2.14
  • โœ… Jasmine-Marbles 0.4.1
  • โœ… Typescript v3.4.4

๐Ÿ‘ฎ Scripts Status

  • โœ… npm start is working
  • โœ… npm test is working
  • โœ… npm run build is working

โ˜€๏ธ What is Marble Diagrams

Marble diagrams enables you to understand the behavior of RxJS observables and operators visually. It also helps to write unit test for asynchronous code in synchronous manner want to learn more please watch my course till the end.

๐Ÿ’ผ What will you get out in this repo

  • โœ… Building blocks of RxJS

  • โœ… Fundamentals of Hot & Cold Observables

  • โœ… Marble Diagrams Concepts

  • โœ… Marble Testing Syntaxes

  • โœ… Introduction to jasmine-marbles library

  • โœ… Unit Testing Observables & Operators using marble diagrams

  • โœ… Mocking Observables using Marble Testing

๐Ÿƒ Getting started ( Coding along Source Code )

  • Make sure you are at here https://github.com/rupeshtiwari/UnitTesting-RxJS-Marble-Diagrams
  • Click on Clone or Download button.
  • Copy the Git clone URL https://github.com/rupeshtiwari/UnitTesting-RxJS-Marble-Diagrams.git
  • In your box run below command to get the source code
  • git clone https://github.com/rupeshtiwari/UnitTesting-RxJS-Marble-Diagrams.git
  • Go to UM-START folder
  • Delete package-lock.json file & node_modules folder if they exists.
  • Open Terminal and run npm i
  • To run the angular app please run command npm start
  • To run unit tests please run command npm test

Thanks and happy coding ๐Ÿ˜ƒ

๐Ÿ’ฏ This Git Repostiory is maintained

I am trying my best to keep this repository live and working. I recently updated this repository to match with latest angular version. Also did a quick test everything looks okay. Still if you find any issues please feel free to create issues or post a comment to UnitTesting-RxJS-Marble-Diagrams Problem Solver article.

๐Ÿ’– Want to Contribute

I will be happy to take any pull requests that you have to improve this code base. Thanks for your support ๐Ÿ™

About

Sample Angular application used in the "Unit Testing RxJS with Marble Diagrams" course.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 72.2%
  • JavaScript 12.9%
  • HTML 12.3%
  • CSS 2.6%