# Fwd: Reap's rubytest script

**URL:** <https://www.ruby-forum.com/t/fwd-reaps-rubytest-script/65728>\
**Category:** Ruby\
**Created:** [August 20, 2006, 11:13pm UTC](https://www.ruby-forum.com/t/fwd-reaps-rubytest-script/65728 "2006-08-20T23:13:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 20, 2006, 11:13pm UTC](https://www.ruby-forum.com/t/fwd-reaps-rubytest-script/65728/1 "2006-08-20T23:13:36Z")

</div>

My ‘rubytest’ program which allows one to directly run tests that are  
commented in =begin test … =end blocks in source. I’ve thought for a  
while now that maybe that’s not a good name. But I could never think  
of a better one. Today I thought that maybe ‘test#’ might be good  
since ‘#’ seems to be an accepatable file name character on all  
platforms. What do others think of this? Any other suggestions? Or  
should I just stick to ‘rubytest’.

Thanks,  
T.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 20, 2006, 11:21pm UTC](https://www.ruby-forum.com/t/fwd-reaps-rubytest-script/65728/2 "2006-08-20T23:21:38Z")

</div>

unittest

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 20, 2006, 11:24pm UTC](https://www.ruby-forum.com/t/fwd-reaps-rubytest-script/65728/3 "2006-08-20T23:24:12Z")

</div>

TRANS wrote:

> My ‘rubytest’ program which allows one to directly run tests that are  
> commented in =begin test … =end blocks in source. I’ve thought for a  
> while now that maybe that’s not a good name. But I could never think  
> of a better one. Today I thought that maybe ‘test#’ might be good  
> since ‘#’ seems to be an accepatable file name character on all  
> platforms. What do others think of this? Any other suggestions? Or  
> should I just stick to ‘rubytest’.

test/inline?

> Thanks,  
> T.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 21, 2006, 1:02am UTC](https://www.ruby-forum.com/t/fwd-reaps-rubytest-script/65728/4 "2006-08-21T01:02:52Z")

</div>

TRANS wrote:

> of a better one. Today I thought that maybe ‘test#’ might be good

test# makes me think it’s for testing C#. They name all their stuff  
like that.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 21, 2006, 1:05am UTC](https://www.ruby-forum.com/t/fwd-reaps-rubytest-script/65728/5 "2006-08-21T01:05:45Z")

</div>

On Aug 20, 2006, at 5:24 PM, Eero S. wrote:

> test/inline?

The idea’s good, but I would prefer a variant: ‘inline\_test’.

Also, please consider ‘intrinsic\_test’ and ‘embedded\_test’ as a  
candidates.

Regards, Morton

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 21, 2006, 10:12pm UTC](https://www.ruby-forum.com/t/fwd-reaps-rubytest-script/65728/6 "2006-08-21T22:12:25Z")

</div>

TRANS wrote:

> My ‘rubytest’ program which allows one to directly run tests that are  
> commented in =begin test … =end blocks in source. I’ve thought for a  
> while now that maybe that’s not a good name. But I could never think  
> of a better one. Today I thought that maybe ‘test#’ might be good  
> since ‘#’ seems to be an accepatable file name character on all  
> platforms. What do others think of this? Any other suggestions? Or  
> should I just stick to ‘rubytest’.

Thanks for the suggestions.

I noticed a couple of things today. Python comes with a script called  
‘unittestgui’. But more interesting Ruby appearently comes with a  
script ‘testrb’ that runs unit tests. I was hiding on my system because  
it was named ‘testrb1.8’ and not linked (DEBIAN MAINTAINERS YOU MIGHT  
WANT TO FIX THIS!) So ideally it would be nice if my comment runner  
code could just be added to this script. Who maintains the test/unit  
code these days?

Thanks,  
T.
