INTEGRATION TESTING CRASH COURSE IN 80 MINUTES WITH JEST AND SUPERTEST - Node JS (2022)

  Рет қаралды 12,915

Degraphe

Degraphe

2 жыл бұрын

In this video we will have an in depth look into the building and Integrated Testing of Our CRUD application using Node JS.
We will employ packages like Supertest, Jest, File System and build a complete CRUD API from beginning to end using Test Driven Development.
Github repository: github.com/debaosuidecl/integ...
Unit testing video: • Unit Testing with JEST...

Пікірлер: 16
@durotemy8410
@durotemy8410 2 жыл бұрын
hello degraphe...thanks so much i really enjoyed the content..
@yassinejk7860
@yassinejk7860 2 жыл бұрын
very helpful, thank you
@gaby19971029
@gaby19971029 2 жыл бұрын
flipping great
@vitormancio9631
@vitormancio9631 Жыл бұрын
Awelsome, thanks ! :)
@degraphe8824
@degraphe8824 Жыл бұрын
Thank you too!
@Gwgitu77
@Gwgitu77 29 күн бұрын
Thanks a lot
@kamrans8846
@kamrans8846 2 жыл бұрын
Nice explanation. Good job! Please provide a full nodejs testing include mock, database,....
@leoechenique987
@leoechenique987 Жыл бұрын
Thanks i came here for this now i've to search in another place haha
@faminaalam2568
@faminaalam2568 Жыл бұрын
I am waiting for end-to-end graphql API testing. when you will upload it?
@filipedonatti8872
@filipedonatti8872 2 жыл бұрын
I had an error in the the "save" function. I had to remove the path.join property. So I substituted the entire function and re-wrote it like so: const fs = require('fs'); function save(bookData){ try { const string = JSON.stringify(bookData); fs.writeFileSync('../data/books.json', string); return true; } catch (error) { console.log('Error at save function'); return false } }; module.exports = { save };
@virtumind
@virtumind Жыл бұрын
awsome I wish I find a job 😮‍💨
@adilismail3593
@adilismail3593 Жыл бұрын
What is an example for E2E in nodejs app ?
@curryhousechicken
@curryhousechicken 3 ай бұрын
why the video so blurry? I can't see squats
@user-vk7jk8fx8j
@user-vk7jk8fx8j 8 ай бұрын
Thank you very much for this video! it was really educational. I have a couple of questions: 1. You didn't actually check that the book was deleted / updated correctly, should this be done in integration testing? 2. If you would have checked for actual deletion or update, I'm not sure that the mock of the file would allow it to be tested since it will always return the same json file, is there any solution to this issue?
@rijwanhossain5210
@rijwanhossain5210 2 жыл бұрын
Increase the font size...
@rijwanhossain5210
@rijwanhossain5210 2 жыл бұрын
BTW you are doing great work keep it up
Unit Testing with JEST in 80 Minutes - CRASH COURSE (NODE JS)
1:17:33
When To Unit, E2E, And Integration Test
14:58
ThePrimeTime
Рет қаралды 87 М.
A pack of chips with a surprise 🤣😍❤️ #demariki
00:14
Demariki
Рет қаралды 36 МЛН
Whyyyy? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 19 МЛН
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 69 МЛН
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Software Developer Diaries
Рет қаралды 69 М.
Don’t Do E2E Testing!
17:59
Continuous Delivery
Рет қаралды 150 М.
Mocking Asynchronous Functions with Jest
21:50
Swashbuckling with Code
Рет қаралды 66 М.
Test-Driven Development // Fun TDD Introduction with JavaScript
12:55
Spring Boot Testcontainers - Integration Testing made easy!
33:31
Jest. Unit Тестирование в JavaScript
1:27:05
Владилен Минин
Рет қаралды 168 М.
Mocking a Database in Node with Jest
13:29
Sam Meech-Ward
Рет қаралды 63 М.
Stop Writing So Many Tests
10:02
Web Dev Simplified
Рет қаралды 81 М.
Why Vitest Is Better Than Jest
13:13
Web Dev Simplified
Рет қаралды 128 М.
i like you subscriber ♥️♥️ #trending #iphone #apple #iphonefold
0:14
Разряженный iPhone может больше Android
0:34
WWDC 2024 Recap: Is Apple Intelligence Legit?
18:23
Marques Brownlee
Рет қаралды 5 МЛН
Купил этот ваш VR.
37:21
Ремонтяш
Рет қаралды 244 М.
КОПИМ НА АЙФОН В ТГК АРСЕНИЙ СЭДГАПП🛒
0:59