Skip navigation.

Ruby

Mocha - a new twist on mocking in Ruby

Mock Objects | ruby
Mocha is a library for mocking and stubbing within tests using a syntax like that of JMock and SchMock. The main difference between this mocking library and others like FlexMock and RSpec is that it allows you to mock and stub methods on real (non-mock) classes and instances.

SOAP request with Ruby

ruby
[textile]
I had a hard time finding examples while trying to get code to test a SOAP service with Ruby. Therefore, I thought I would add an example to the Google code repository. In the end I didn't get this working, this is the final work of a developer named Jim Johnson. I got started down the road and Jim came along and finished it up.

Watir Update and Plans

ruby | WATIR
Over the past several months, i’ve been spending most of my free time on Watir. It’s becoming more and more popular. I taught a Watir tutorial at the Agile conference last month in Denver. The class had over-filled (the conference...

Using the Rake Build Language

ruby
10 Aug 05: Rake is a build language, similar in purpose to make andant. Like make and ant it's a Domain Specific Language, unlike thosetwo it's an internal DSL programmed in the Ruby language. In thisarticle I introduce rake and describe some interesting things thatcame out of my use of rake to build this web site: dependency models,synthesized tasks, custom build routines and debugging the builds

Schmock: Ruby mock library

Mock Objects | ruby
Simple mock object implementation knocked together while developing a Ruby on Rails app. Draws from the jmock stable of mocking.

FlexMock: mock objects for Ruby

Mock Objects | ruby
FlexMock is a simple mock object for unit testing in Ruby. The interface is simple, but still provides a good bit of flexibility.

Stanz 2005 announced

events | general software testing | ruby
[textile]
"Stanz2005":http://www.softed.com/stanz2005/index.htm has been announced and though there are not as many speakers as at the SQE Star Conferences, the talks that are there though look in depth and all of them seem of real value.
A personal recommendation is "Elisabeth Hendrickson":http://www.qualitytree.com/ who is giving a talk on testing in agile projects based on her experiences, if this is anything like the one she gave at STARwest 2004 then it is a must see. The information was clear informative and she had some really useful stories that provided excellent contextual qualitative information on the benefits of an expert tester on Agile Teams.

Another tester succumbs

ruby

From Elisabeth Hendrickson, testing consultant and my occasional partner in training:

I'd been resisting Ruby for such a long time, thinking that I alreadyknew enough scripting languages. I figured I'd be better off spendingmy time learning Java and C#.