> From: Frederic Gedin <[EMAIL PROTECTED]>
> 
> I do make unit testing by hitting the database. All of my om tests
> inherit from a specific TestOM class which records all test database
> records and delete them in the teardown function. Of course, these unit
> tests are executed in the development database and not in the deployment
> database.
> 
> Frederic

See also org.apache.torque.util.LargeSelectTest in turbine CVS for an
example of this:

http://cvs.apache.org/viewcvs/jakarta-turbine-torque/src/rttest/org/apache/t
orque/Attic/LargeSelectTest.java
(Note: This shouldn't be in Attic so it may have moved by the time you click
the above link).

Cheers,

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to