| 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. |
| Your Name: | |
| Report Problem: | |
| Message: | |