Showing 4 videos tagged with fixtures

Fixtures and Factories

00:08:00 www.fosslc.org
A comparison of Rails fixtures to factories (with Fixjour).

Railscast - Episode 60: Testing without Fixtures

00:09:49 railscasts.com
Tests which rely heavily on fixtures are brittle and can be difficult to maintain. This episode will show a couple techniques for creating tests which don't use fixtures.

Railscast - Episode 81: Fixtures in Rails 2.0

00:04:25 railscasts.com
In Rails 2.0, fixtures see many improvements which makes them much easier to manage. Watch this episode for details.

Railscast - Episode 158: Factories not Fixtures

00:12:36 railscasts.com
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.