This is a web series for the Javascript developers who are willing to write quality code and want to write unit test cases to ensure the quality. In this series you will learn the basic concepts of unit testing - methods, mocking, spying, stubbing a function, testing promises, XHR requests and reporting. The intent of this web tutorial series is to enable you to start writing the unit test cases right after you are done with this course. I have deliberately avoided diving too deep into any of the topics to keep it simple so that you do not get confused.
#Mocha #UnitTesting #JavascriptUnitTesting #JSUnitTesting
► Sample code on github: [ Ссылка ]
Mocha unit testing framework is the most popular framework for Javascript unit testing. In this web series, I have used other popular libraries
- Chai - as assertion library with expect interface
- Sinon - for spies, mocks and stubs
- Nock - for xhr interception and mocking
- Nyc - Unit test coverage report and its important configurations
Hope you will learn good from this course. Let me know your feedback, suggestions - I will really appreciate it.
Subscribe Study Zone and watch more tutorials: [ Ссылка ]
► This series:
♦ Video 1 - Intro - [ Ссылка ]
♦ Video 2 - Setup and first unit test - [ Ссылка ]
♦ Video 3 - Spy - [ Ссылка ]
♦ Video 4 - Mock - [ Ссылка ]
♦ Video 5 - Stub - [ Ссылка ]
♦ Video 6 - Promise - [ Ссылка ]
♦ Video 7 - XHR - [ Ссылка ]
♦ Video 8 - Hooks - [ Ссылка ]
♦ Video 9 - Coverage - [ Ссылка ]
♦ Video 10 - Misc - [ Ссылка ]
► Recommended videos
♦ SASS - CSS preprocessor - Detailed video with code demonstration - [ Ссылка ]
♦ browser-sync - Start a server from any folder - Reduce testing and development time significantly - [ Ссылка ]
► Playlist - CSS Tutorials for Beginners: [ Ссылка ]
► If you are looking to start with GIT, you can have a look at the following videos:
♦ GitHub - Introduction & Basics | Repo, Branches, Merge, Conflicts :: [ Ссылка ]
♦ GitHub - Create Repository | Git clone & GitHub Desktop :: [ Ссылка ]
♦ GitHub - Create Local Repository and push to git | Push an existing repository to git :: [ Ссылка ]
♦ GitHub - git add command | Created a simple chart to understand most important options :: [ Ссылка ]
♦ GIT Tutorial - How to Squash Commits :: [ Ссылка ]
► GitHub Playlist :: [ Ссылка ]
► CSS Tutorials for Beginners :: [ Ссылка ]
► DialogFlow :: [ Ссылка ]
This video is created using the Filmora video editor :: [ Ссылка ]
Ещё видео!