Seth Vargo
user

Seth Vargo

Evangelism, Technology, Rants and Pants


TagTesting
Featured

RubyRSpecTesting

RSpec Example Filtering for Multiple Version Testing

Posted on .

Authoring a client library for an upstream service is often challenging, but testing and preventing regressions against upstream API changes is sometimes impossible. This post discusses using RSpec example metadata filtering as a way to test against different ...

Featured

GitRSpecRubyTesting

Unit and functional testing git with RSpec

Posted on .

If you have ever written a Ruby application that interacts with git, you are probably already aware of the pains of testing such behavior. As if checking if git is installed at the proper version and catching all the crazy typos was not enough, git's algorithm...

Featured

ChefTesting

Unit Testing Chef Cookbooks

Posted on .

Okay, now that I'm done ranting about how to Unit test, let's move onto Chef. I spoke at Chef Summit a few months ago and received a lot of questions about ChefSpec. It's very difficult to demonstrate the value in a Unit test when everyone is thinking at a ...