Next: Unit Testing with JUnit
Up: JUnit
Previous: Unit Testing 101
Contents
- 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: Unit Testing with JUnit
Up: JUnit
Previous: Unit Testing 101
Contents