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
-
0.0.4
-
source
- 0.0.4 source August 19, 2011 (10.5 KB)
-
-
0.0.3
-
source
- 0.0.3 source August 18, 2011 (10 KB)
-
-
0.0.2
-
source
- 0.0.2 source August 16, 2011 (10 KB)
-
-
0.0.1
-
source
- 0.0.1 source August 16, 2011 (10 KB)
-