Contenu connexe Similaire à A Second Look at Unit Testing by Roy Osherove (20) A Second Look at Unit Testing by Roy Osherove2. • Unit Of Work
• Setup Methods
• Constrained vs.
Unconstrained Isolation
Frameworks
• Principles of Good
Isolation Frameworks
• Faking Deep Legacy is OK
• Six Influence Forces
• Beautiful Builds
5. Test
Public
API
Production
Code
Unit Of Work
Return Noticeable State
3rd Party call
Value/Exception Change
6. Assert Test
Public
API
Production
Code
Unit Of Work
Return
Value/Exception
7. Test
Public
Assert
API
Production
Code
Unit Of Work
Noticeable State
Change
8. Test
Public
API
Production
Code 3rd Party
Unit Of Work Unit Of Work
3rd Party call
9. Test
Public
API
Production
Code
3rd Party
Unit Of Work
Unit Of Work
3rd Party call
37. Build Chain Triggers
Build Chaining
Triggered by checkin
Triggered by end of previo
Manual
Manual
38. Slow Builds
Do X
Do X + Y
Do X + Y + Z
Do X + y + Z + N
41. Extract Script
Shipping Skeleton
Fill in the blanks
Cumulative Builds
Build Waves
Location Agnostic
BeautifulBuilds.com