System tests are a crucial piece of testing any application. I’m a big believer in isolated unit tests as well, but if I had to pick just one kind of test to use, it would be system tests. There is no substitute for actually exercising the full code base from top to bottom. That said, […]
As a software consultancy, we often perform additional or maintenance development on a previous project. It’s great to be able to maintain positive customer relationships and provide good value to them, but I admit I often dread returning to an old project. The main reason for my fear and trembling is trying to get the […]
Due to a project’s integration tests spuriously reporting failures with capybara-webkit on our CI servers, we switched to the capybara-selenium driver. In the process of switching, we discovered that a number of tests needed to be tweaked or partially rewritten. Why? It turned out that capybara-webkit was allowing us to interact with invisible or hidden […]
The Short Version of the Story As of August 2012, if you: are developing a Ruby on Rails application on OS X, and are using capybara-webkit for testing, and want to use Font Awesome, Look out! Serving that font to capybara-webkit will cause it to crash.
We use a wide variety of technology stacks here at Atomic, so invariably newer Atoms like me are assigned to projects where all or almost all of the technology is new to us. Since I’ve joined Atomic, I’ve gotten fairly familiar with the LAMP (Linux / Apache / MySQL / PHP) stack. (Except for the […]
Inspired by the blog post Capybara, Cucumber and How the Cookie Crumbles, I wanted to write a Cucumber step that signs a user directly into my application, without the need to navigate to a log-in page and submit a form. I am not thrilled about the stubbing and monkey patching discussed in that post, and […]
Out of the box, Cucumber contains a web step that allows you to easily click a link. But what if what you want to click is not a link, but some plain text like: <h3 class='clickable-text'>Click me</h3><h3 class='clickable-text'>Click me</h3> Unfortunately, Cucumber doesn’t have a web step for such case, so Dustin and I had to do […]