[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

How do I register a custom runner for Test::Unit?

Eric Promislow

11/20/2007 11:04:00 PM

Three years ago in http://tinyurl....
(http://groups.google.com/group/comp.lang.ruby/browse_f...
5df4ed2c27d59326/d69077b7759fe4bf?hl=en&lnk=st&q=ruby+test+custom
+runner+group%3Acomp.lang.ruby#d69077b7759fe4bf)
someone asked Nathaniel how he could register his custom test runner
without hacking the list of RUNNERS in test/unit/autorunner.rb

Nathaniel's answer was to use an explicit call, as in:

MyRunner.run(MySuite)

This still seems to be the case. I would like to invoke rake with the
TESTOPTS env var pointing to my custom runner. Is there a way to get
around both having my customers manually hack autorunner.rb (or
supplying them with a script to do that, which is probably no better),
while still using Rake's ability to discover the tests, build the test
suite, fire the runner, and return the results?

I'm trying to avoid reinventing as many wheels as possible here.

Thanks,
Eric Promislow
6 Answers

suzeeq

11/1/2013 2:53:00 PM

0

Michael Black wrote:
> On Fri, 1 Nov 2013, WrongWayWade wrote:
>
>> K Street Warrior wrote:
>>> ...tonight's "Once Upon a Time in Wonderland" episode and "Stargate:
>>> SG-1" rerun?
>>>
>>> The former was simply missing entirely, on every channel that should
>>> have carried an instance, and the latter was aired normally at 10 am
>>> and 1 pm ET but was missing from its normal third occurrence at 8 pm
>>> ET, replaced not by breaking news or a sporting event but by some old
>>> movie.
>>>
>>> What gives?
>> What gives is that you have been judged too stupid to watch TV. Please turn
>> in your set and any cable equipment to the nearest government recycling
>> center. That is all.
>>
> Wait a minute. SInce tv is the opiate of the masses, if someone is too
> stupid to watch tv, there can't be some other place for them.

The asylum maybe?

K Street Warrior

11/1/2013 3:15:00 PM

0

In article l50b54$t4d$1@dont-email.me, "WrongWayWade"
<rl3166pls@excite.com> wrote:

> What gives is that you have been judged [insult deleted]. Please
> turn in your set and any cable equipment to the nearest government
> recycling center. That is all.

*clown plonked*

OK, now that the local chapter of Wannabe Wits has been heard from, has
anyone got any *useful* responses to my perfectly reasonable questions?

Adam H. Kerman

11/1/2013 5:01:00 PM

0

K Street Warrior <ksw-10395@gmail.com> wrote:
>"WrongWayWade" <rl3166pls@excite.com> wrote:

>>What gives is that you have been judged [insult deleted]. Please
>>turn in your set and any cable equipment to the nearest government
>>recycling center. That is all.

>*clown plonked*

>OK, now that the local chapter of Wannabe Wits has been heard from, has
>anyone got any *useful* responses to my perfectly reasonable questions?

Fix your dryer so it stops creating excess lint that forms sockpuppets, seamus.

Michael Black

11/1/2013 8:20:00 PM

0

Barry Margolin

11/1/2013 8:50:00 PM

0

In article <alpine.LNX.2.02.1311011619140.22101@darkstar.example.org>,
Michael Black <et472@ncf.ca> wrote:

> On Fri, 1 Nov 2013, Adam H. Kerman wrote:
>
> > K Street Warrior <ksw-10395@gmail.com> wrote:
> >> "WrongWayWade" <rl3166pls@excite.com> wrote:
> >
> >>> What gives is that you have been judged [insult deleted]. Please
> >>> turn in your set and any cable equipment to the nearest government
> >>> recycling center. That is all.
> >
> >> *clown plonked*
> >
> >> OK, now that the local chapter of Wannabe Wits has been heard from, has
> >> anyone got any *useful* responses to my perfectly reasonable questions?
> >
> > Fix your dryer so it stops creating excess lint that forms sockpuppets,
> > seamus.
> >
> Are you hinting that when socks disappear in a washing machine or dryer,
> the missing socks end up as sockpuppets?

That explains why there are so many of them!

--
Barry Margolin
Arlington, MA

Michael Black

11/12/2013 1:37:00 PM

0