Rule #39 - Avoid multiple assert statements

Publié le: 28 juin 2023
sur la chaîne: 10 Minutes with Coach Joe
386
18

RULE DESCRIPTION:

Avoid multiple assert statements.

TIMESTAMP:

0:14 Intro
0:48 Why is it bad?
1:01 Correcting the test
1:19 Preferred option
1:37 Multiple assertions are allowed
1:53 Testing 1 logical concept
2:30 I challenge you to minimize the number of assertions in a unit test

COACH JOE MISSION:

This video series will cover all Coach Joe rules. Lesson tutorials are broken down into visual descriptions along with good and bad code examples. Following these preferred standard coding rules will help write cleaner more maintainable code, test driven development (TDD) and unit testing. Many rules apply to other languages like C#, Python, Typescript and Kotlin. Below are a list of Coach Joe rules included in this series that will help with your learning and education process.


Amazing pictures and artwork provided by:
https://www.pexels.com/photo/top-view...
https://www.pexels.com/photo/outdoorc...
https://www.freepik.com/free-vector/r...
https://www.freepik.com/free-photo/po...
https://www.freepik.com/free-photo/po...
https://www.pexels.com/photo/abstract...
https://www.freepik.com/free-photo/yo...
https://www.freepik.com/free-photo/po...
https://www.freepik.com/free-vector/m...
https://www.freepik.com/free-vector/b...
https://www.freepik.com/free-photo/sm...
https://www.pexels.com/photo/photo-of...
https://www.pexels.com/photo/photo-of...


Sur cette page du site, vous pouvez voir la vidéo en ligne Rule #39 - Avoid multiple assert statements durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur 10 Minutes with Coach Joe 28 juin 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 386 fois et il a aimé 18 téléspectateurs. Bon visionnage!