Posts Tagged ‘cucumber’
Posted by Rahoul Baruah on October 5th, 2009 under Ruby on Rails and Software Development, Writing Reliable, Bug-Free Code Tags: Bug-Free Code, bugs, cucumber, logging, rails, ruby, Writing Reliable •
Comments Off
We just had some customers report a bug. Not good. We didn’t get an exception email. All the tests passed. We couldn’t see anything untoward in the log files. But it was there. We could reproduce it, both in staging and in production. Not good at all.
But the weirdest thing was we couldn’t [...]
Posted by Rahoul Baruah on May 15th, 2009 under Designing Great Software, Managing Successful Projects, Ruby on Rails and Software Development, Writing Reliable, Bug-Free Code Tags: cucumber, design, estimates, project planning, requirements gathering •
Comments Off
Writing estimates up-front is a really tricky part of client work.
From the customer’s point of view it’s pretty essential. You need to know how much you are spending before the work begins so you don’t get stung.
From the developer’s point of view it’s pretty difficult to do because [...]
Posted by Rahoul Baruah on March 24th, 2009 under Ruby on Rails and Software Development, Writing Reliable, Bug-Free Code Tags: acceptance tests, Bug-Free Code, cucumber, selenium, specifying, watir, webrat, Writing Reliable •
1 Comment
One of the issues when using Selenium or Watir to power your full-stack acceptance testing (apart from the time it takes for the test suite to run), is that stuff happens within your browser, fails and then Cucumber happily moves on to the next test before you get a chance to look at what went [...]
Posted by Rahoul Baruah on March 12th, 2009 under General Tags: Bug-Free Code, cucumber, demeters revenge, luke redpath, mock objects, rspec, shoulda, specifying, Writing Reliable •
2 Comments
I had the pleasure of speaking to Luke Redpath the other day.
I started off by thanking him for his Demeter’s Revenge plugin, which is one of the first things I install on a new project. He said he didn’t use it much any more, as he doesn’t do mocking, except during the design [...]
Posted by Rahoul Baruah on January 16th, 2009 under Designing Great Software, Ruby on Rails and Software Development, Writing Reliable, Bug-Free Code Tags: cucumber, watir, Writing Reliable, Bug-Free Code •
Comments Off
I think Cucumber is fast becoming indispensable for my testing. The point of it is that you can write documentation that your client understands and then prove that the application does what it says. When coupled with WATIR you can show that it really works in an actual browser – you can even [...]
Posted by Rahoul Baruah on November 21st, 2008 under Beautiful Code, Designing Great Software, Ruby on Rails and Software Development, Writing Reliable, Bug-Free Code Tags: cucumber, rails, rspec, ruby, software design, Writing Reliable, Bug-Free Code •
Comments Off
I’ve written up a new post at the Brightbox blog detailing how we are using RSpec and Cucumber to build acceptance tests for the next generation Brightbox systems.