by Matthias Marschall on February 18, 2010 · 0 comments
Throughout the last couple of days, I did a bigger refactoring of our Ruby on Rails application. As I changed quite a few moving parts, I covered everything I did with RSpec. It’s really an incredible feeling to have all your bases covered with automated tests when you finally start the manual regression test. Along [...]
by Matthias Marschall on December 9, 2009 · 1 comment
Too often people complain that to become agile they need to start using iterations, fancy story points and time boxes even though it simply does not fit the way they work.
But, that’s not true. Agile is much simpler than that. And much harder. In essence, agile is about fast feedback. But the feedback needs to [...]
by Matthias Marschall on June 18, 2009 · 2 comments
For developing our Ruby on Rails based web site, we usually take regular SQL dumps from our production servers (of course, anonymizing sensitive customer data along the way). Always having a fresh dump allows us to be on the safe side when writing database migrations. Having an up to date development database enables us to [...]
by Matthias Marschall on June 11, 2009 · 4 comments
Recently, I was looking deeper into how we could add some automated acceptance tests to our Ruby on Rails based website. We’re using RSpec since quite a while now for TDD, but doing some high level acceptance tests was not on our agenda so far.
DRY Cucumber Scenarios
The new cool kid on the block is Cucumber. [...]
by Matthias Marschall on May 28, 2009 · 3 comments
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 like [...]
by Matthias Marschall on May 22, 2009 · 0 comments
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 [...]