But keep in mind that it is just an additional option not a replacement. Mockobjects can't replace the test for a real write/read check to the database.
> -----Original Message----- > From: jon wingfield [mailto:jon.wingfield@;mkodo.com] > Sent: Wednesday, October 30, 2002 4:50 PM > To: Tomcat Users List > Subject: RE: OFF-TOPIC: testing > > > Or you could use the mockobjects project > (www.mockobjects.com) to write > JUnit testcases which require no physical database > connection. You can set up the sql statements you expect > your code to execute and the data you expect to be > returned. Using mock objects you can also simulate database > failure cases without pulling out network cables, killing the > database etc ;) -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
