The document discusses unit testing, test-driven development (TDD), and acceptance test-driven development (ATDD). It begins with an introduction to the speaker and describes the importance and benefits of learning TDD. Various types of tests are defined, including unit tests, integration tests, and user interface tests. The basics of unit testing, including test structure and using doubles, are explained. TDD and how it works in an iterative cycle of writing a failing test, code, and refactoring is covered. ATDD is introduced as a way to write the right code through specification by examples and acceptance tests. The benefits of ATDD for different roles are outlined.
תקנים דורשים Unit tests
לקוחות לא מקבלים "יש באגים"
המטרה של היום הזה: לענות על שאלות וחששות...
תשאלו ותתשתתפו – זה בשבילכם!
גם אני למדתי ככה
להגדיל
להזיז שמאלה את ה-happy customers
לחשוב מחדש
להעלות את הכותרות יותר למעלה
קידוד עד הרגע האחרון!
אין סטביליזיישן
לשנות צבע של המילה ולמרכז
A container for multiple unit tests
שקף נפרד על Testing the test first
שקף נפרד על Testing the test first
שקף נפרד על Testing the test first
* Refactoring זה בעיקר להוריד כפילויות
להחליף תמונה
TDD provides a safety net
Caution: If tests are bad, refactoring can be more difficult than without!
On the other hand, TDD drives for good tests
Small steps, climbers rule
להחליף תמונה
TDD provides a safety net
Caution: If tests are bad, refactoring can be more difficult than without!
On the other hand, TDD drives for good tests
Small steps, climbers rule
להחליף תמונה
TDD provides a safety net
Caution: If tests are bad, refactoring can be more difficult than without!
On the other hand, TDD drives for good tests
Small steps, climbers rule
להחליף תמונה
TDD provides a safety net
Caution: If tests are bad, refactoring can be more difficult than without!
On the other hand, TDD drives for good tests
Small steps, climbers rule
להחליף תמונה
TDD provides a safety net
Caution: If tests are bad, refactoring can be more difficult than without!
On the other hand, TDD drives for good tests
Small steps, climbers rule
להחליף תמונה
TDD provides a safety net
Caution: If tests are bad, refactoring can be more difficult than without!
On the other hand, TDD drives for good tests
Small steps, climbers rule
להחליף תמונה
TDD provides a safety net
Caution: If tests are bad, refactoring can be more difficult than without!
On the other hand, TDD drives for good tests
Small steps, climbers rule
להחליף תמונה
TDD provides a safety net
Caution: If tests are bad, refactoring can be more difficult than without!
On the other hand, TDD drives for good tests
Small steps, climbers rule
אין טעם להוסיף טסטים לכל הקוד שכבר כתוב
Detours (Moles) יכולים לעזור, וגם Pex