Introduction To Testing In JavaScript With Jest

preview_player
Показать описание
Testing is one of those things that people either love or hate. Usually testing is something that is hated, until you work on a project with good tests and you realize how amazing they are. In this video I am going to show you how to get started with testing in JavaScript using Jest. I will talk about the code you need in order to write tests, as well as show you some pitfalls of testing. At the end of the video I will breakdown the importance of testing and some best practices you can adhere to in order to make your tests amazing.

📚 Materials/References:

🧠 Concepts Covered:

- How to install Jest
- What unit testing is
- Why testing is important
- How to write unit tests with Jest
- The importance of test coverage

🌎 Find Me Here:

#Jest #WDS #UnitTest
Рекомендации по теме
Комментарии
Автор

This is a developer that truly knows what he's talking about, nonstop, in facts, and fast - short and simple, bite-sized tips to all development. Master branch, honestly.

deansprivatearchive
Автор

Notes
- test script: "jest --coverage" will detail what's being tested and what's not
- Unit tests test the smallest part of your code
- toBe() vs toEqual()

tracynnnn
Автор

Definitely would be interested in more testing videos. A topic I only really became aware of when I started looking at job postings and my home made projects started getting more complex. Appreciate what you do!

michaelhuskey
Автор

This was very well explained and demonstrated, great job Kyle! I think a lot of us would like at least another video going deeper into testing, explaining better practices, and whatnot. Great video, though.

hugoperez
Автор

I'm someone who don't comment on videos but whenever I search for a video and see yours, I always choose you. you are the best man

drchrisntsako
Автор

This was such a clear and concise explanation; thank you!

AnishSana
Автор

Amazing tutorial! I was afraid of start studying this topic because it seemed so hard. Now, this video gives me a more clear idea. Thanks!

Автор

Thanks. I'm going through a job interview and they asked me to run unit tests, so this is really helpful as a start. Really appreciate it

mauricioviera
Автор

I am very interested in more testing videos. This was a great intro for me, and I’m at that point in my self-teaching to start getting into testing my code! Look forward to more.

jthomasaurus
Автор

That's awesome. I was just searching on Udemy for a Jest testing course when this popped up. Weird. I'd would really like to see more testing or production deployment ready based courses. Best practices for making app's well tested and properly staged for active use and deploy. It's a topic that is missed very often.

fragileglass
Автор

This is a really great intro to testing using Jest. It would good to see more testing videos, possibly ones that cover plain vanilla (no framework) javascript and testing functions that manipulate DOM.

DavidLeDuc
Автор

Thank you for making this video! I have been curious about automated tests but didn't know where to start. I'm highly interested in a test series💕

Cloud-
Автор

Kyle bro .. i love how you talk smoothly and going step by step without hurry..

hetroxity
Автор

Really really good stuff dude! Coming from nearly a decade of professional Android development, moving to web work, I was hoping to find a succinct explanation about quick setup and coverage. Definitely a thumbs up and a sub from me. I know you're focusing on newer devs a lot, but even at the senior level needing a quick intro, very helpful stuff!

kakitayuri
Автор

Thanks Kyle,
You are really helpful with your videos, great content, well paced and I love the simplicity of how you make something complicated look simplified.
And yes, I would love more videos on testing, I believe it to be necessary and a must for every developer out there.
Thanks again mate!

JohnAussieMate
Автор

It would be nice to have a Jest course for typescript and Express/React. Really helps us understand how to setup testing for our project

tech
Автор

OMG. I am a Manual Testing upping my technical skills to become an Automated Tester and it is the first video I see (after months of seriously researching a lower than beginner level tutorial) that really help me write my first Javascript testing script in 5min. Thank you so much.

highestaccomplisher
Автор

Never found a guy so smooth in explanation in 14 minutes.

calebsirma
Автор

Came here for a refresher, last time i wrote tests was in school and i really enjoyed them then so excited to refresh my knowledge

FirstLast-gklg
Автор

Dude! Test seemed like a mile away before I watch this... I get just enough of it to start trying on my own very nice... thanks

DRocksRecords