RubyGems Navigation menu

test_seeds 0.0.4

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.

Gemfile:
= Copy to clipboard Copied!

install:
=

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)

Development Dependencies (4):

activerecord ~> 3.0.0
jeweler ~> 1.6.4
mysql2 < 0.3
rake >= 0

Owners:

Authors:

  • Paul Kmiec

SHA 256 checksum:

554f39fd745ef9f64856ae0f00c41c4afb0fcf273e4bb20803c9c825b1f040de

Total downloads 14,010

For this version 4,904

Licenses:

N/A

Required Ruby Version: None

Links: