Categories
Website Design

How To Write Better Tests In 6 Easy Steps [Video]

How To Write Better Tests In 6 Easy Steps

JavaScript Simplified Course: https://javascriptsimplified.com/?utm_source=youtube&utm_medium=video-description&utm_term=video-id-4-_0aTlkqK0

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: https://javascriptsimplified.com/?utm_source=youtube&utm_medium=video-description&utm_term=video-id-4-_0aTlkqK0
Golden Rule Article: https://www.epicweb.dev/the-golden-rule-of-assertions
Unit vs Integration vs End-To-End Tests Video: https://youtu.be/4-_0aTlkqK0

🌎 Find Me Here:

My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified

⏱️ 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

Watch/Read More