up previous next contents index
Next: Create a test database Up: Unit Testing Database Code Previous: Unit Testing Database Code   Contents   Index

Two lines of thought

There appear to be two lines of thought when it comes to unit testing database code:

  1. Create a test database.
  2. Use mock objects to simulate the database.


up previous next contents index
Next: Create a test database Up: Unit Testing Database Code Previous: Unit Testing Database Code   Contents   Index