jeffkreeftmeijer.com Archives - 27 April 2013, Saturday

I’m a little behind on my blog feeds, so I didn’t read Collective Idea ’s article about json_spec until yesterday. They created a gem which provides some RSpec matchers and Cucumber steps to do JSON API testing, since “They can be a joy to build but a pain to test”. In this article, I...

As you might have noticed, I’ve been spending some time trying to get running test suites with RSpec a bit better and faster over the last weeks. This week I looked into RSpec’s formatters. Aside from the red “F” RSpec will output when a spec fails, there’s no direct feedback that all...

In January of this year, @nvie published “A successful Git branching model” , in which he explained how he keeps his Git repositories nice and tidy. In addition to that, he released git-flow ; a bunch of Git extensions to make following this model extremely easy. I’m astounded that so...

why you should write acceptance (or integration) tests , but you should. I used Cucumber for a while now and I love it, but I think writing my tests in a business-readable domain-specific language and translating them into Ruby using step definitions is a bit too much sometimes. And I...

help you speed up your test runs by preloading your application’s dependencies and running your test suite without reloading the whole stack each time. That sounds like magic, but it’s actually quite simple to build a tool that can do something like that. In this article, we’ll write ...

Since 7.3, Vim has a setting called relativenumber (you can set it up with :set relativenumber or :set rnu ), which is a lot like the number setting you’re probably using to have line numbers already. But, instead of showing the absolute line numbers from the top of the file, it shows...

A lot of people are still using (tools like) Jeweler, which is fine. I would like to ask you to take a look at a simple .gemspec file sometime and ask yourself if this would more difficult to write and maintain than a Rakefile specifying the exact same thing. I feel like a lot of peop...

I’ve been using Textmate since I switched to the Mac a while back. It worked properly and I was fine with it. I never looked into Vim until a few months after @antekpiechinik told me I should. That was last week. To be honest, I thought Vim was for people that felt too cool to go out ...

The problem we have here is that code you’re working on is unstable and can’t be trusted, which means you can’t really use it to test anything either. That’s testing broken code with broken code and it can get very confusing very fast.

In January of this year, @nvie published “A successful Git branching model” , in which he explained how he keeps his Git repositories nice and tidy. In addition to that, he released git-flow ; a bunch of Git extensions to make following this model extremely easy. I’m astounded that so...

← Jeff Kreeftmeijer Archive Contact MicroGems: five minute RubyGems 03 Oct 2011 tweet! subscribe! Note: This is just something I've been playing around with. I'm not saying you should do this and I'm not implying this is better than what you're doing right now. I'm just sharing some e...