Skip to content

Latest commit

 

History

History
111 lines (57 loc) · 1.38 KB

10_Testing_Isolated_Microservices.md

File metadata and controls

111 lines (57 loc) · 1.38 KB

[Stephen Grider] Microservices with Node JS and React [ENG, 2020]

10. Testing Isolated Microservices


01. Scope of Testing


02. Testing Goals


Application


Application


Application


03. Testing Architecture


Application


04. Index to App Refactor


05. A Few Dependencies

$ npm install --save-dev @types/jest @types/supertest jest ts-jest supertest mongodb-memory-server

06. Test Environment Setup


07. Our First Test

$ cd auth
$ npm run test

08. An Important Note


08. An Important Note


09. Testing Invalid Input


10. Requiring Unique Emails


11. Changing Node Env During Tests


12. Tests Around Sign In Functionality


13. Testing Sign Out


14. Issues with Cookies During Testing


15. Easy Auth Solution


16. Auth Helper Function


17. Testing Non-Authed Requests


Application




Marley

Any questions in english: Telegram Chat
Любые вопросы на русском: Телеграм чат