JavaScript Simplified Course: Writing tests is difficult. It is an entirely separate skill set from programming which means you need to rewire your brain when writing tests to ensure you don’t try to write your tests as if they were normal code. In this video I will give you 6 tips to help you write better tests. 📚 Materials/References: JavaScript Simplified Course: Golden Rule Article: Unit vs Integration vs End-To-End Tests Video: 🌎 Find Me Here: My Blog: My Courses: Patreon: Twitter: Discord: GitHub: CodePen: ⏱️ Timestamps: 00:00 - Introduction 00:37 - The Golden Rule of Assertions 05:30 - When To Mock 10:20 - Avoid Intermittent Failures 11:34 - Test Driven Development 13:22 - Don’t Write DRY Tests 16:37 - What Types of Tests To Write #WebDevelopment #WDS #CodeTesting
Hide player controls
Hide resume playing