Fixtures are external dependencies which can make tests brittle and difficult to read. In this episode I show a better alternative using factories to generate the needed records.
Railscasts #158: Factories not Fixtures
Posted in Development, Broadcasting, Frameworks, Ruby, Screencasts, Ruby On Rails| Level: any | Date: April 20, 2009 | Votes: 0 | User: Dmytro Shteflyuk ![]() |
Comments: 1 ![]() |

Recent Videos RSS

Add to Favorites


1 Response(s) to this entry
Subscribe to comments with RSS.