"NAKAMURA, Hiroshi" <nahi / keynauts.com> writes:

> > So, I think better
> > 
> >   ruby test myfile.rb
> 
> Absolutely.
> 'test.rb' which knows testing methods like RubyUnit or testsupp
> should be packed as Ruby standard library.
> 
> By the way, to get document using RDtool we do;
> 
> % rd2 foo.rd

;-)

But then using the same logic we should have

  % ruby doc foo.rd


Which would use rdtool or some other package as appropriate.


Personally, I think this is not necessary. I think that as a community 
we should agree on one tool for documentation and one tool for
testing, and then use those tools. I think this is a cleaner message
to give the world, and makes it more likely we'll get consistent and
composable results (both for testing and for documentation).


Regards


Dave