Search the web
Sign In
New User? Sign Up
extremeprogramming · Extreme Programming
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Your favorite teaching tricks?   Message List  
Reply | Forward Message #133886 of 152300 |

Friday night, I hung out with a pal who has been learning TDD. He is
naturally full of questions, and one exchange went like this:

"If I have tested all the low-level methods, I don't need to test
the components together, do I?"

"Did you run it to see if it worked?"

"Sure! I tried a few different options, and carefully looked at the
output to be sure it was ok."

"If you had to check it, then you weren't sure it worked. Ergo, you
should have written a test."

"Doh!"


I realized later that this was one of my favorite tricks for getting
people to test. And it provides an easy way forward for them, as often
all they have to do is take their scratch code, chuck it in a test, and
add a few asserts.


What other tricks do you folks have for pushing people forward with XP?

William




Mon Jul 30, 2007 8:48 pm

william_pietri
Offline Offline
Send Email Send Email

Forward
Message #133886 of 152300 |
Expand Messages Author Sort by Date

Friday night, I hung out with a pal who has been learning TDD. He is naturally full of questions, and one exchange went like this: "If I have tested all the...
William Pietri
william_pietri
Offline Send Email
Jul 30, 2007
8:50 pm

... I have one to help customers describe customer tests. If they seem not to want to do it, or have trouble, then when they ask me to build the feature, I...
J. B. Rainsberger
nails762
Offline Send Email
Jul 30, 2007
11:05 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help