testing

Capybara on the Command Line - Live Browser Testing From IRB

Capybara on the Command Line - Live Browser Testing From IRB

Everyone knows retro fitting tests is not the best way to go, but you can't escape the fact that sometimes it's unavoidable. Writing integration tests after the fact can sometimes be tricky, especially when dealing with complex xpaths or trying to assert against deeply buried elements. So if you're as tired of digging around in web inspector as I am, try this instead

4 steps to faster Rails tests

4 steps to faster Rails tests

I love testing now, but I wasn’t always this way. Although I could instinctively understand the benefits of writing tests, I never properly understood the benefits of test driven development until around 18 months ago when working on my first gem for On the Beach.