5. • Unit test (Unit)
• Integration test (Collaboration)
• User interface test (Frontend, ex.
WatiN)
• Regression test (Continuous
Integration)
• …, System, Performance, Stress, Usab
ility, …
The Black-box only applies to the TDD
Test types:
• White-box test
• Black-box test
Test Types
White-Box Test
• 1st generation Intergration
testing
• 2nd generation Unit testing
Black-Box Test
• 3rd generation Unit testing
6. • Red, Green, Refactor
• Make it Fail
• No code without a failing test
• Make it Work
• As simply as possible
• Make it Better
• Refactor