Category Archives: Ruby

Remove junk from IronRuby cucumber output

When running cucumber tests under IronRuby, your output will be full of junk like the following: Feature: example feature Scenario: a scenario←[90m     # features\testoutput.feature:3←[0m ←[32mGiven some test setup←[90m  # features/step_definitions/output_steps.rb:1←[0m←[0m ←[32mWhen I do something←[90m    # features/step_definitions/output_steps.rb:5←[0m←[0m ←[32mThen something happens←[90m # … Continue reading

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

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

RQuery: A thin layer of JQuery over watir/selenium

So I went to a presentation today, run by Aidy Lewis and Josh Chisholm about Josh’s new RQuery project; here’s a braindump of what I remember. RQuery is not supposed to be a competitor to Selenium or Watir but builds … Continue reading

Posted in RQuery, Ruby, Tools, Uncategorized | Tagged , , , | 2 Comments

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