When cooking a new dish, things get out of control if you try to manage too many things at once You might face a similar situation when trying to write a new Chef cookbook. Getting your arms around all those tools and frameworks needed to write solid, tested cookbooks gets you spinning. You need to … Continue reading Test Driven Chef Cookbooks With Meez
Tag: testing
Why Teaching Developers To Test Is A Good Investment
Test a developer's software and you'll find bugs. Teach a developer to test and they can release their software. A bit of a twist on the old fish and eating maxim, but the same idea: teaching a skill enables self-reliance and self-confidence. And, while it's harder than quickly doing someone a big favor, teaching is … Continue reading Why Teaching Developers To Test Is A Good Investment
Your Code is NOT Somebody Else’s Problem
Imagine an ant working at the top of a mountain. Next to it, there's a sluice of melt water running and, at that moment, the ant removes a tiny particle from the rock face. A few hundred molecules of water quickly seize upon the shortcut, and gravity takes care of the rest. The individual rivulets … Continue reading Your Code is NOT Somebody Else’s Problem
Getting Lean with Weekly Sprints
In Scrum, sprints are time-boxed delivery cycles that help keep the team focused on the goal. If you don't know which goal I'm referring to, check out Dr. Eliyahu M. Goldratt's novel "The Goal" (hint: I think it's something about making money). For web development, I run weekly sprints and this surprises a lot of … Continue reading Getting Lean with Weekly Sprints
Stealthily Introducing Agile from the Bottom Up
Even today, in the 21st century, it's rare for CEOs to steer their companies into agile waters. Change is hard, scary and leads into the unknown and changing an entire organization compounds all these fears. But, there are subtle, yet significant, ways in which you can organize your own work to be much more agile. … Continue reading Stealthily Introducing Agile from the Bottom Up
Why Automated Testing is a Must for DevOps
You've heard a lot about test automation. But why is it so important? It's a lot of additional effort and adds lots of code which needs to be maintained later, right? DevOps Favors Continuous Releases One of the important parts of any DevOps process is the regular release of working software. In Scrum, iterations tend … Continue reading Why Automated Testing is a Must for DevOps
RSpec Tips & Tricks
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 … Continue reading RSpec Tips & Tricks
Agile Is About Feedback, Not About Fancy Practices
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 … Continue reading Agile Is About Feedback, Not About Fancy Practices
Setting up a test database on a ruby on rails continuous integration server using SQL instead of schema.rb
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 … Continue reading Setting up a test database on a ruby on rails continuous integration server using SQL instead of schema.rb
webrat: Automated Acceptance Testing with RSpec or Cucumber
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 … Continue reading webrat: Automated Acceptance Testing with RSpec or Cucumber