Railscasts #158: Factories not Fixtures

Posted in Development, Broadcasting, Frameworks, Ruby, Screencasts, Ruby On Rails on April 20, 2009


Railscasts #158: Factories not Fixtures

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.

Watch Video Watch Video Watch Video on External Site


Tags: Ruby, Ruby On Rails, Frameworks, Railscasts, Unit Testing, fixtures, Broadcasting, Screencasts, Development