Monday, June 2, 2008

Integration Unit Testing Analogy

I like Roy Osherove's restaurant analogy of Unit Testing vs. Integration Testing:

When it comes to paying for a meal...

Integration testing is like giving one big check to the group, with everyone having to calculate on their own how much they need to pay. sometimes everyone things they are good, but in the end the total amount may be too high or too low. There is a lot of interaction going on to decide who pays for what and who has already paid.

No comments:

Post a Comment