From: Chris Morris Date: 2003-02-22T05:36:20+09:00 Subject: Re: unit testing: method actions vs. results > Can unit testing be used to test (or test-first develop) methods that > *do* something rather than *return* something? E.g., play a sound, > display an image, or drop down a menu. How? TIA, Essentially, these things are all various forms of output. Your question is quite broad. Any testing can pretty much be boiled down to put something in, verify what comes out. Obviously, some forms of output are much more difficult to test than others. The XP (extremeprogramming@yahoogroups.com) list archives might turn up some interesting threads on this. Chris http://clabs.org