Create Your Own Code Coverage Tool with JavaScript, Node.js, and V8 Engine || Erick Wendel

preview_player
Показать описание
Get ready to roll up your sleeves and build your very own code coverage tool from scratch!

Ever wonder what goes on behind the scenes of code coverage tools like Jest, C8, and Istanbul?

And the best part? This demo was created with the help of Chat GPT, the language model trained by OpenAI and it was exciting to see how it's powerful to not only creates code but helps with ideas.

Ready to get started? Pour yourself a drink and let's dive in!

✅ SOURCE CODE

✅ FOLLOW ME

✅ TIMELINE

00:00 - SUBSCRIBE NOW
01:36 - About video content
02:21 - What is CDP?
03:04 - How GPT chat helped me with the project of this video
04:04 - How I researched libs that use chrome dev tools for code coverage
05:02 - Creating the structure of the project
08:15 - Using the inspector module to create test coverage
11:54 - Checking the results of the test coverage call
13:14 - Finding lines of code that have no code coverage
14:01 - Filtering coverage results
16:07 - Ignoring node modules and coverage file itself in results
18:39 - Saving the results to a JSON file
19:13 - Search and filter only the results with lines not covered
20:39 - How did chatGPT help me to create the report function
23:17 - Creating the variable that sets the color of the letters in the logs
25:38 - Creating the function to display uncovered lines, by color
29:45 - Analyzing the function result and improving the code
32:36 - Testing other use cases for test coverage: new functions and new modules
33:51 - Javascript tooltips and courses
34:15 - Video summary
35:11 - Blooper reel
36:34 - Thank you!

#CodeCoverage #JavaScript #Nodejs #V8Engine #CodeTesting #SoftwareDevelopment #WebDevelopment #FrontendDevelopment #BackEndDevelopment #ErickWendel #CodeQuality #CodeAnalysis #CodePerformance #CodeEfficiency #CodeOptimization #CodingTips #ProgrammingTips #TechTips #DeveloperCommunity #WebApps #OpenSource #TechBlog #CodeNewbie #LearnToCode #CodeLikeAPro #CodeChallenge #CodeMentor #CodeDebugging #CodeReview #CodeRefactoring
Рекомендации по теме
Комментарии
Автор

Sensacional! Eu acho doido demais ler seus posts no linkedin, fico lendo com sua voz na mente, kkkk, Muito bom!

FelipeFontana
Автор

O curso Fundamentos de Javascript - Aprendendo a programar quando vai esta disponível de novo?

hugolinobg
Автор

cals.mjs???

cals.js???

which is good and why?

fahan
join shbcf.ru