Rule #39 - Avoid multiple assert statements

Pubblicato il: 28 giugno 2023
sul canale di: 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...


In questa pagina del sito puoi guardare il video online Rule #39 - Avoid multiple assert statements della durata di ore minuti seconda in buona qualità , che l'utente ha caricato 10 Minutes with Coach Joe 28 giugno 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 386 volte e gli è piaciuto 18 spettatori. Buona visione!