MENU

Fun & Interesting

Angular Unit Testing | TOP 5 Mistakes to Avoid

Decoded Frontend 11,975 6 months ago
Video Not Working? Fix It Now

Explore all the potential of WallabyJS 2.0 with a free trial 🚀 https://wallabyjs.com/?referrer=DecodedFrontend2024 🔥 Angular Unit Testing Course - https://bit.ly/course-angular-testing Angular Unit Tesing isn't easy topic and there is always something to improve there. In this video, I want to share with you the TOP 5 mistakes that have a significant and negative impact on your tests, but those mistakes are extremely easy to fix, so you can get an easy win straightaway. Let’s go! 🔗 Code On GitHub: https://github.com/DMezhenskyi/angular-top-testing-mistakes 👥 Decoded Frontend Community on Discord https://bit.ly/decoded-frontend-discord 🌱🤝 Support Decoded Frontend: Patreon - https://patreon.com/DecodedFrontend 🕒 Time Codes: 00:00:00 - Intro; 00:01:05 - Demo App Overview; 00:03:03 - Mistake 1 - Assigning values in describe block; 00:07:43 - Mistake 2 - Improper change of component inputs; 00:11:30 - How to learn Unit Testing in Angular; 00:12:02 - Mistake 3 - Fragile CSS selectors; 00:13:48 - Mistake 4 - Class-Only Unit Tests; 00:18:05 - Mistake 5 - False-Positive output tests; 00:20:24 - WallabyJS: Sponsorship Integration; 00:22:36 - Outro; 💡 For more Angular tips, follow also: Twitter - https://twitter.com/DecodedFrontend Instagram - https://www.instagram.com/decodedfrontend LinkedIn - https://www.linkedin.com/in/dmezhenskyi

Comment