# Unit/Regression tests for Ruby builtin classes and modules

**URL:** <https://www.ruby-forum.com/t/unit-regression-tests-for-ruby-builtin-classes-and-modules/96998>\
**Category:** Ruby\
**Created:** [July 4, 2006, 4:18am UTC](https://www.ruby-forum.com/t/unit-regression-tests-for-ruby-builtin-classes-and-modules/96998 "2006-07-04T04:18:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wayne\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/b5ac83/32.png) [@Wayne\_K](https://www.ruby-forum.com/u/Wayne_K)\
**Post date:** [July 4, 2006, 4:18am UTC](https://www.ruby-forum.com/t/unit-regression-tests-for-ruby-builtin-classes-and-modules/96998/1 "2006-07-04T04:18:32Z")

</div>

As part of our Gardens Point [Ruby.NET](http://Ruby.NET) project we have spawned off a  
separate open source project to develop a comprehensive set of  
Unit/Regression  
tests for each of the 1000+ methods in the Ruby builtin Classes and  
Modules.

This test suite is intended to complement existing Ruby test suites and  
is  
designed to be a valuable resource for testing various implementations  
of Ruby.

The tests will be written as Ruby source programs and will most likely  
use the  
standard Ruby Test::Unit framework.

A public discussion forum has been set up at  
[http://groups.google.com/group/RubyTests](http://groups.google.com/group/RubyTests)

I invite those interested to subscribe.

Cheers, Wayne.

Dr Wayne K. Senior Lecturer  
Email: removed\_email\_address@domain.invalid School of Software Engineering and DC  
Phone: +61 7 3864 9336 Faculty of Information Technology  
Fax: +61 7 3864 9390 Queensland University of Technology

---

<div class="post-metadata">

**Author:** ![Wayne\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/b5ac83/32.png) [@Wayne\_K](https://www.ruby-forum.com/u/Wayne_K)\
**Post date:** [July 4, 2006, 5:09am UTC](https://www.ruby-forum.com/t/unit-regression-tests-for-ruby-builtin-classes-and-modules/96998/2 "2006-07-04T05:09:41Z")

</div>

— Wayne K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> designed to be a valuable resource for testing
> 
> Cheers, Wayne.

I actually started something like that already. See  
[http://rubyforge.org/cgi-bin/viewvc.cgi/ruby\_test/?root=shards](http://rubyforge.org/cgi-bin/viewvc.cgi/ruby_test/?root=shards)

I also setup a series of benchmarks, which also double  
as a sort of high-iteration test bed for weeding out  
those pesky C bugs that might not rear their ugly  
heads in a single op.

Perhaps we should join forces?

Regards,

Dan

---

<div class="post-metadata">

**Author:** ![Wayne\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/b5ac83/32.png) [@Wayne\_K](https://www.ruby-forum.com/u/Wayne_K)\
**Post date:** [July 4, 2006, 8:03am UTC](https://www.ruby-forum.com/t/unit-regression-tests-for-ruby-builtin-classes-and-modules/96998/3 "2006-07-04T08:03:53Z")

</div>

I would seriously _love_ to see a combined effort on creating a  
comprehensive test suite…and eventually the result of such testing and  
verification, a primitive Ruby specification. I’d willing contribute  
time to  
such a project. I’ve been a committer on the oft-maligned and  
rarely-helped  
Rubicon project which is badly behind the times, and we have built out  
many  
tests on the JRuby project to support our work as well. I’m a community  
member of Wayne’s testing project now, and it seems like a good  
opportunity  
to finally conquer the testing beast.

---

<div class="post-metadata">

**Author:** ![Wayne\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/b5ac83/32.png) [@Wayne\_K](https://www.ruby-forum.com/u/Wayne_K)\
**Post date:** [July 4, 2006, 9:08am UTC](https://www.ruby-forum.com/t/unit-regression-tests-for-ruby-builtin-classes-and-modules/96998/4 "2006-07-04T09:08:23Z")

</div>

On Jul 3, 2006, at 7:15 PM, Wayne K. wrote:

> The tests will be written as Ruby source programs and will most  
> likely use the  
> standard Ruby Test::Unit framework.
> 
> A public discussion forum has been set up at http://  
> [groups.google.com/group/RubyTests](http://groups.google.com/group/RubyTests)
> 
> I invite those interested to subscribe.

We have a ton of tests for the core libraries already done for BFTS  
as part of MetaRuby.

(Can you add me since I can never figure out how to add my regular  
address to google groups.)

–  
Eric H. - removed\_email\_address@domain.invalid - [http://blog.segment7.net](http://blog.segment7.net)  
This implementation is HODEL-HASH-9600 compliant

[http://trackmap.robotcoop.com](http://trackmap.robotcoop.com)
