Next: What should I test?
Up: Unit Testing 101
Previous: Definitions of unit testing
Contents
Index
- Test each part (unit) of the code in isolation.
- Create tests that retain their value over time.
- Create much larger regression tests that help demonstrate that the entire system still works (or not) after changes.
- In the XP view, if a program feature lacks an automated test it is assumed that it doesn't work.
- In a team environment unit tests ensure that we don't break one another's code.
Next: What should I test?
Up: Unit Testing 101
Previous: Definitions of unit testing
Contents
Index