ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Effective Unit Testing with DbUnit
Subject:   how to test stored procedure
Date:   2006-01-16 12:16:14
From:   aglover
Response to: how to test stored procedure

DbUnit works best as a database seeding framework. If you’d like to test a stored proc, then use DbUnit to seed the database with a known set of data, then call the stored proc via your test case and assert that returns the desired result.

1 to 1 of 1
1 to 1 of 1