Test::Unit GUI

D’oh! That’s what I get for not looking!

Dan

···

-----Original Message-----
From: nathaniel@NOSPAMtalbott.ws [mailto:nathaniel@NOSPAMtalbott.ws]
Sent: Wednesday, June 18, 2003 3:01 PM
To: ruby-talk@ruby-lang.org
Subject: Re: Test::Unit GUI

Berger, Daniel [mailto:djberge@qwest.com] wrote:

-----Original Message-----
From: John Platte [mailto:john.platte@nikaconsulting.com]
Sent: Wednesday, June 18, 2003 11:34 AM
To: ruby-talk@ruby-lang.org
Subject: Test::Unit GUI

Hello,

I’m planning on doing a lot of test-driven coding soon, so I’m
scoping
out the fastest way to trigger Test::Unit runs as I code.
I got the
GTK
GUI going and found that hitting the “Run” button doesn’t
reload the

code, it just runs the test again.

  1. Is there an existing test-run GUI that reloads the code at each
    test
    run a la junit?

John,

Without looking, I would guess that it’s a simple matter of
replacing
“require” with “load” somewhere in the GUI code. Using load should
probably
be the default anyway. Send it on as a bug to Nathaniel.

See http://www.ruby-talk.org/36342 for a bit of an
explanation of why this doesn’t exist currently. Short
answer: it unfortunately involves a lot more than just
loading instead of requiring.

Sorry,

Nathaniel