Tag Archives: Test::Unit

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

…and you thought ruby was only good for web testing… So… having previously failed at getting ruby-based automated testing of WPF working, I attacked it from a different angle and succeeded! The difference is that this time I used IronRuby … Continue reading

Posted in Automated Testing, Example Code, IronRuby, Making Life Easier, Ruby, Test::Unit, Tools, white | 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

Screencast: Beginning with Cucumber

We have close to 1,000 watir tests that we’re beginning to migrate from test/unit to cucumber. The “Beginning with Cucumber” Railscast is a great introduction to how cucumber works – it’s quite rails-centric, but you’ll get the idea. Bookmark to:

Posted in Automated Testing, Links, Test::Unit, WATIR, cucumber | Tagged , , , , | Leave a comment

Find duplicate test names in ruby test::unit files

I’ve recently found a couple of instances of tests with the same test name in the same test::unit TestCase class. This is a bad thing, because the when the ruby interpreter reads the file in, it will ignore all methods … Continue reading

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

Quick and easy Watir test suites with Test::Unit

A test team usually has a need for a few fixed test suites, eg: a sanity suite or a suite which contains all tests for a full run. There’s usually also a need to be able to create suites with … Continue reading

Posted in Automated Testing, Example Code, Making Life Easier, Ruby, Test Management, Test::Unit, Tools, WATIR, agile | Tagged , , , , , , , , , | 2 Comments

Get HTML output from Test::Unit by using RSpec !?

Test::Unit‘s lack of pretty xml/html output led me to look around to see what was available. Turns out that there’s a very simple way to get html output… run your Test::Unit tests with rspec! Here’s a contrived and simple example … Continue reading

Posted in Example Code, Making Life Easier, RSpec, Ruby, Test::Unit | Tagged , , , , , | 6 Comments