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.
Full Threads Newest First

Showing messages 1 through 1 of 1.

  • how to test stored procedure
    2006-03-02 07:32:14  suman_s65 [View]

    You may need to use the combination of DBUnit[to simulate different database states] with sqlunit[for testing stored procedures..]