| Rails411 |
| Rails Testing Guide: The Lo-Down on Fixtures |
|
The structure is one thing, but what about when I want to automatically create sample data? Enter fixtures. Fixtures is a fancy word for ‘sample data’. Fixtures allow you to populate your testing database with predefined data before your tests run. Fixtures are database independent and assume one of two formats: YAML or CSV. |
| Listing Information | ||||
|---|---|---|---|---|
| Website: | http://manuals.rubyonrails.com/read/chapter/26 | |||
| Average Visitor Rating: | 0.00 (Out of 5) | |||
| Number of ratings: | 0 | |||
| Hits: | 312 | |||
| Added: | 2006-05-30 13:13:48 | |||
| Last updated: | 2006-07-17 12:47:07 | |||