I’ve been thinking about ways to simplify rails integration testing. I wanted to see how well I could do it without cucumber and rspec. I decided to go pure minitest with capybara to help out. What emerged was the TestPilot pattern. Let’s check it out.
Read the rest of this entry »
Blog
TestPilot – Rails Integration Testing Pattern
October 26th, 2010 by Nick GauthierTesting AJAX with Test::Unit
October 8th, 2010 by Nick GauthierIf you want real end-to-end testing of a page with functioning AJAX, use Selenium. But I was interested in doing just a bit of JS speccing to make sure that the AJAX routes I called worked and that the data that came back fit the JS that I had written.
So, I figured with a little and a little , I could test my javascript with real route calls. Let’s check it out.
Read the rest of this entry »
-
You are currently browsing the SmartLogic Solutions Blog blog archives for October, 2010.