The document discusses software testing and the benefits of unit testing. It describes different types of software tests including GUI tests, acceptance tests, system tests, integration tests, and unit tests. It then explains the benefits of unit test-driven development, including that unit tests prove code works, allow improving design without breaking it, force planning before coding, make for better design, reduce bug costs, and make development faster and more fun.
7. Benefits of Unit Testing
• Dump Driven Development
Add dump
Perform Run
action application
Run Perform
application action
Remove Check
dump dump
Fix code
8. Benefits of Unit Testing
• Debugger Driven Development
Add
breakpoint
Perform Run
action application
Run Perform
application action
Remove Stepping in
breakpoint and over
Fix code
9. Benefits of Unit Testing
• Test Driven Development
Write
test
Run Run
tests tests
Fix
code
10. Benefits of Unit Testing
• Test Driven Development
Write
test
Run Run
tests tests
Fix
code
11. Benefits of Unit Testing
• Unit tests prove that you code actually work.
• You can improve design without breaking it.
• TDD forces you to plan before code.
• Unit tests make better design.
• TDD reduces the cost of bugs.
• It‘s faster than writing code without tests.
• It‘s more fun