Test Seeds piggy backs on the transaction fixtures functionality. Test Seeds load fixtures into the database in the same way but then start a db transaction for the duration of the test file. Any objects for the common scenarios are then created and inserted into the database. Test Seeds then execute each test case within a context of a db savepoint (or nested db transactions). This allows test seeds to be inserted into the database once and then re-used for each test case that needs it.

Required Ruby Version

None

Authors

Paul Kmiec

Versions

  1. 0.0.4 August 19, 2011 (10.5 KB)
  2. 0.0.3 August 18, 2011 (10 KB)
  3. 0.0.2 August 16, 2011 (10 KB)
  4. 0.0.1 August 16, 2011 (10 KB)

SHA 256 checksum