Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Node.js Testing - The COMPREHENSIVE basics
Welcome
βοΈMust watch: How to take this course (6:23)
Introduction To Testing (beginners level)
Introduction - Meet the testing world (3:54)
Our first test - A quick example using plain JavaScript (6:04)
Why testing - 5 fundamental and strategic reasons for testing (9:57)
Basic Testings (beginners level)
Hello test runners - Meet the testing engine that run them all (4:10)
Test runner configuration - Configuring Jest for delightful experience (6:40)
The test anatomy - Writing our first test using a test runner (9:57)
The AAA pattern - Writing highly structured tests (10:42)
Assertion basics - Writing our expectations in a declarative style (8:18)
π΄ββοΈ Exercise - Basic testing drills (9:43)
Expecting exceptions - Asserting that errors are thrown (10:02)
Hooks - Writing code before, during and after tests (15:04)
Integration Tests (intermediate level)
Hello integration tests - Meet the backend under test (5:56)
First integration tests - Coding first tests against backend API (17:32)
Integration tests setup - Starting and tearing-down a web server (8:41)
π΄ββοΈ Exercise - Integration testing drills (8:13)
Test Doubles (intermediate level)
Intro - When and how to "mock" your code during testing? (15:54)
Spies - Did that important thing happened? (14:17)
Stub and Mock - Let's simulate important scenario (15:51)
Dummy and Fake - When fake is better than the real thing (8:15)
Intercept - The test double of the Microservices age (11:32)
π΄ββοΈ Exercise - Test doubles drill (9:15)
Test Types And Strategy (intermediate level)
Introduction - Some important context (9:27)
Integration tests - When they shine (13:03)
Unit tests - When they shine β¨ (17:31)
End-To-End tests - When they shine (Soon)
Traditional strategies - Popular techniques that are getting aged (13:33)
Modern strategies - How to test modern applications. Part 1 β¨ (16:16)
Modern strategies - How to test modern applications. Part 2 β¨ (11:25)
Teach online with
Stub and Mock - Let's simulate important scenario
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock