Rule #39 - Avoid multiple assert statements

Опубликовано: 28 Июнь 2023
на канале: 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...


На этой странице сайта вы можете посмотреть видео онлайн Rule #39 - Avoid multiple assert statements длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь 10 Minutes with Coach Joe 28 Июнь 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 386 раз и оно понравилось 18 зрителям. Приятного просмотра!