filmov
tv
#7- Uesting for GET POST API using NOCK | Mocha Chai Unit Testing in TypeScript & Node Js
Показать описание
►Kumar Programming - Keep Learning in a simple way
#7- GET POST API Testing using NOCK | Mocha Chai Unit Testing in TypeScript & Node Js
This is 7th video of this series, hope you are learning well. In this video we have covered how to test GET POST API mentods testing using AXIOS and
NOCK libarary to mock api and its data.
► Topics covered in this Series
1. Introduction –Unit Testing Mocha Chai - Done
2. Installation and Writing Test Suites and Test cases and Running Test cases (describe , it) - Done
3. Chai - Different Chai Assertion Styles (assert, expect, should) - Done
4. Common Chai Assertions - Done
5. Hooks (before, after, beforeEach, afterEach) - Done
6. Nested Test Suites- Done
7. Skipping and Focusing Tests (skip, only) - Done
8. Sinon (Spying, Mocking and Stubbing) - Done
9. Asynchronous Testing – (async await) - Done
10. Testing Promise - Done
11. Nock - Mock Api Calls and data - Done
12. GET POST Api Testing - Done
13. Code Coverage and Reporting (nyc-Istanbul)
► Used Framework and libraries
Mocha - Unit testing framework is the most popular framework for TypeScript/Javascript unit testing.
In this series, I used below popular libraries
- Chai - for assertion with with multiple assertion style
- Sinon - for spying , mocking and stubbing
- AXIOS - GET/POST data from API
- Nock - for async api mocking
- Nyc - Unit test coverage report by nyc Istanbul and configurations
► Sample code on github:
► Subscribe :
Subscribe Kumar Programming to watch more tutorials:
/ @kyprogramming
► JAVASCRIPT :
► FULL STACK DEVELOPER :
► UNIT TESTING - MOCHA CHAI :
► NODE JS - COMPLETE PROJECT :
► ANGULAR :
#Mocha #chai #UnitTesting #TypeScrriptUnitTesting #TSUnitTesting #typescript #typescripttutorial #JSUnitTesting #programming #coding #nodejs #nodejstutorial #kumarprogramming #kyprogramming #stepbystep #learning
#7- GET POST API Testing using NOCK | Mocha Chai Unit Testing in TypeScript & Node Js
This is 7th video of this series, hope you are learning well. In this video we have covered how to test GET POST API mentods testing using AXIOS and
NOCK libarary to mock api and its data.
► Topics covered in this Series
1. Introduction –Unit Testing Mocha Chai - Done
2. Installation and Writing Test Suites and Test cases and Running Test cases (describe , it) - Done
3. Chai - Different Chai Assertion Styles (assert, expect, should) - Done
4. Common Chai Assertions - Done
5. Hooks (before, after, beforeEach, afterEach) - Done
6. Nested Test Suites- Done
7. Skipping and Focusing Tests (skip, only) - Done
8. Sinon (Spying, Mocking and Stubbing) - Done
9. Asynchronous Testing – (async await) - Done
10. Testing Promise - Done
11. Nock - Mock Api Calls and data - Done
12. GET POST Api Testing - Done
13. Code Coverage and Reporting (nyc-Istanbul)
► Used Framework and libraries
Mocha - Unit testing framework is the most popular framework for TypeScript/Javascript unit testing.
In this series, I used below popular libraries
- Chai - for assertion with with multiple assertion style
- Sinon - for spying , mocking and stubbing
- AXIOS - GET/POST data from API
- Nock - for async api mocking
- Nyc - Unit test coverage report by nyc Istanbul and configurations
► Sample code on github:
► Subscribe :
Subscribe Kumar Programming to watch more tutorials:
/ @kyprogramming
► JAVASCRIPT :
► FULL STACK DEVELOPER :
► UNIT TESTING - MOCHA CHAI :
► NODE JS - COMPLETE PROJECT :
► ANGULAR :
#Mocha #chai #UnitTesting #TypeScrriptUnitTesting #TSUnitTesting #typescript #typescripttutorial #JSUnitTesting #programming #coding #nodejs #nodejstutorial #kumarprogramming #kyprogramming #stepbystep #learning
Комментарии