Posted almost 2 years ago. Visible to the public.

CucumberFactory 1.11 lets you use FactoryGirl traits

If you have FactoryGirl traits like this:

factory :movie do title 'Sunshine' year 2007 trait :vintage do year 1951 end trait :moody do title 'Interstellar' end end

You can now call them from Cucumber Factory like this:

Given there is a movie (vintage, moody)

By refactoring problematic code and creating automated tests, makandra can vastly improve the maintainability of your Rails application.

Author of this card:

Henning Koch
Last edit:
almost 2 years ago
by Henning Koch
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Henning Koch to makandropedia