Testing Angular 2+ Apps with Jasmine and Karma | Mosh
?Get the COMPLETE COURSE (60% OFF – LIMITED TIME):
A step-by-step and pragmatic introduction to unit testing Angular apps.
01:11 Introduction to Automated Testing
08:38 Different Types of Tests
14:40 Fundamentals of Unit Testing with Jasmine
22:24 Testing Strings and Arrays
This video is part of my Udemy course "Testing Angular Apps". You can get the complete course with a discount here:
You can find all my courses here:
Stay in touch:
Thank you mosh…it really helps a lot and able to understand quickly.
Amazingly detailed. Thank you so much for being so precise.
This is a great tutorial, I wanted to dive deeper and bought your course on Udemy – there is so much more on the Unit Testing topic. I heartily recommend it to all interested! (great deal by using the link in the description).
You’re a great teacher Mosh!
great video! from the relaxing jazz to the clear and methodical explanations, this is a great intro. thanks!
This was a really good video that addresses a lot of real word questions and issues.
I love the part about “you’re not coding for fun, your job is to deliver”. So spot-on, that perspective comes with experience. Thanks Mosh!
Excellent tutorial.
Though the introduction is one of the best and is absolutely useful to watch ,14:50 is tutorial start point in case anyone wants to move fast.
I very liked that at the beginning you clarify, why someone would need automated tests and why someone would not need them. That’s pretty true and I think you could copy that part in a separate video and release that. That has nothing to do with Angular, so others may find that part interesting too.
The most beautiful explanation at all I loved Angular because of the way you explain Thank you Mosh ??
It’s an excellent tutorial. I am really glad to find it.
Mosh, you explained it in a very simplified way, I like it. its awesome. Keep it up , buddy.
Your explanation is very unique and interesting mosh. thank you for the wonderful videos 🙂
Hey Mosh, great video. Is this full course only on udemy? You mentioned you’re a pluralsight author as well. I have a pluralsight account, be great if this was on there as well.
You should have split this into two different Tutorials, general introduction about testing and the introduction in Jasmine and Karma!
Une très belle introduction aux tests front.
Je pense que je vais écrire mon premier test front lundi ?
Merci beaucoup
Start at 8:39 if you are well aware of what testing is and why automation is needed
I have a question. Do we really need to write unit tests along with integrated tests? It seems that the way you defined integrated test it could cover all unit tests issues.
Good question and something many people wonder about.
Unit tests and integration tests are testing for different things. It’s like saying “do I need to have a door in a car… I could just get out of the boot”. Anyone would say, well, you “could” get out of the boot, but it’s quite cumbersome to do so and will take you much longer each time you need to get in and out of the car.
Integration tests are more costly to maintain and run, so the majority of your testing can and should be in unit tests, and your integration tests cover just that, the interractions and integarations between components.
very clear explanations, thank you
15:30 some people say you should write test code quite differently from production code. Watch https://www.youtube.com/watch?v=oO-FMAdjY68 “Why Good Developers Write Bad Tests”. For example you can repeat yourself. You should not factor too much.
Very solid tutorial… good job Mosh!
That’s one hell of an intro abouth this subject. Congrats. I come from Java where we write tests before code (TDD) in our team. And I’m learning Ionic for myself. I endep up in this video to learn how to test with Angular. Didn’t watch it all, only the intro, and I’m amazed so far. Thank you! Will watch the entire video later.