I ran ZenTest against the following code:

module SomeDB
  class Field
    attr_accessor :name, :type, :size

    def initialize(name, type, size=0)
      @name = name
      @type = type
      @size = size
    end

    def to_s
      [@name, @type] << @size unless @size == 0
    end
  end
end

And it produced the following test code:

# Code Generated by ZenTest v. 2.3.0
#                 classname: asrt / meth =  ratio%
#             SomeDB::Field:    0 /    2 =   0.00%

require 'test/unit' unless defined? $ZENTEST and $ZENTEST

module TestSomeDB
  class TestField < Test::Unit::TestCase
    def test_name_equals
      raise NotImplementedError, 'Need to write test_name_equals'
    end

    def test_size
      raise NotImplementedError, 'Need to write test_size'
    end

    def test_size_equals
      raise NotImplementedError, 'Need to write test_size_equals'
    end

    def test_type_equals
      raise NotImplementedError, 'Need to write test_type_equals'
    end
  end
end

# Number of errors detected: 2

Any idea why it didn't create stubs for 'test_name' and 'test_size'? 
Shouldn't it have also created a stub for 'test_to_s'?

TIA
-- 
Bill Guindon (aka aGorilla)