To run automated tests for your Ruby on Rails webapp, not only do you need your latest database structure deployed to the test database (created by rake db:test:prepare), but you also need some seed data for lookup tables, e.g. like zip codes. Common approaches like adding seed data through rails migrations are discouraged, and plugins … Continue reading Seed Data In Ruby On Rails
Tag: testing
Acceptance Testing with Cucumber
After watching a Pivotal Labs Tech Talk Making a Case for Cucumber, I decided to give it a try. Especially the seamless integration with rails and webrat made me curious. Webrat is a headless browser simulator, which can execute UI tests for you. You even can use the same syntax to drive a real browser … Continue reading Acceptance Testing with Cucumber
Limiting Access to Test and Production Systems
How do you decide who in the company should have access to the test and production environments? Opening it up to everyone is one extreme which in today's security sensitive world is no longer an option. At the far other end, granting only one person access, while perhaps more secure (depending on who you've entrusted … Continue reading Limiting Access to Test and Production Systems