Category Archives: Automated Testing

TURN: test::unit reporting as it should have been…

TURN (“Test::Unit Reporter (New)”) aims to fix test::unit‘s default output. Instead of waiting until the end of a test run for failure details, Turn displays failures immediately. It looks promising… Bookmark to:

Posted in Automated Testing, Making Life Easier, Ruby, Test::Unit, Tools | Tagged , , , | Leave a comment

How to test a WPF app using IronRuby and White

—UPDATE— Since I wrote this post, I have put together a ruby gem designed for testing WPF UIs called ‘bewildr’. I wrote up an introductory post about bewildr here. Bewildr removes the need for using White – it’s written in … Continue reading

Posted in Automated Testing, Example Code, IronRuby, Making Life Easier, Ruby, Test::Unit, Tools, bewildr, white | Tagged , , , , , , , , | 1 Comment

Updated script to list all cucumber step definitions

In a previous post I put up a small script that would dump out all step definitions available in a cucumber project. Here’s an updated version… it hasn’t changed much apart from the output is now a html table that … Continue reading

Posted in Automated Testing, Example Code, Making Life Easier, Ruby, Tools, cucumber | Tagged , , , , , | Leave a comment

Automating a WPF UI using ruby, win32ole and White

UPDATE (17/2/2010): It *can* be done, see here: How to test a WPF app using IronRuby and White. The solution doesn’t use win32ole though… just IronRuby —– Short story: it doesn’t work (…well, not out-of-the-box). Long story: I’ve finally had … Continue reading

Posted in Automated Testing, Example Code, Ruby, Tools, white, win32ole | Tagged , , , , , | 1 Comment

Lessons from a watir success story

There aren’t enough UI test automation success stories documented on the net, so here’s my contribution. This post is about  how we started with zero automated UI testing capability, and how a couple of months later we had the capability … Continue reading

Posted in Automated Testing, Ruby, Test Management, Test::Unit, Tools, WATIR, agile | Tagged , , , , , , , , , | 10 Comments

How to list all cucumber step definitions

If you’re using cucumber you probably have step definitions split across several files, and you’re probably using a tool that doesn’t do a good job of listing the available step definitions (one of the biggest downsides of using cucumber). What … Continue reading

Posted in Automated Testing, Example Code, Ruby, cucumber | Tagged , , | 4 Comments

Cucumber step definition for debugging

Building on a previous post about debugging cucumber tests with ruby-debug, here’s a simple cucumber step definition you can use in your cucumber scenario in order to debug it: Then /^I debug$/ do breakpoint 0 end Use it as follows: … Continue reading

Posted in Automated Testing, Example Code, Ruby, Tools, cucumber | Tagged , , , , | Leave a comment