From: Michael Campbell Date: 2003-06-03T05:11:13+09:00 Subject: Re: Unit Testing Style > 1) I have several test cases that do multiple assert_* calls. Is > that > a Good Thing, a Bad Thing, or not something that's even worth > worrying about? Usually it's things like "Was the file created? > Does it contain data of the right format? Is the data correct?" > > In one case, however, the test case is "run a command remotely > that > logs to yet another remote database, and verify the command was > run, output was generated, logged to the right database with the > right timestamp, from the right machine, etc., etc., etc." In the general sense, I have a number of tests (in java, mind you) that have multiple asserts. __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com