Ask a Question related to Ruby, Design and Development.
-
Gour #1
Re: Test::Unit GUI
[email]nathaniel@NOSPAMtalbott.ws[/email] (nathaniel@NOSPAMtalbott.ws) wrote:
Hello Nathaniel!
Have you considered to include gtk2 patch for Test::Unit written by Kenta MURATA
(muraken2@nifty.com) in your distribution?
(It was psoted on ruby-dev list.)
Sincerely,
Gour
--
Gour
[email]gour@mail.inet.hr[/email]
Registered Linux User #278493
Gour Guest
-
Test::Unit non-auto-run test case?
I'm getting a handle on the Test::Unit library, and the automatically-running test case example was extremely simple to get running, but now I want... -
Test::Unit -- multiple errors in test method ???
Hi ! I have been writing some unit tests with Test::Unit. I've noted that when an assertion fails in a test method, the remaining assertions... -
Test::Unit in 1.8
So far I've noticed two changes in the Test::Unit included with 1.8. They've probably been in Test::Unit for I long time, but I'm just encountering... -
Method test::unit::TestSuite#<<(test)
Hi, I suggest to change the definition of this method slightly: current: # Adds the test to the suite. def <<(test) @tests << test end -
Test order in Test::Unit
On Sun, Jul 06, 2003 at 02:05:57AM +0900, Nathaniel Talbott wrote: instance_eval is also extremely useful; it lets you get at instance variables... -
Nathaniel Talbott #2
Re: Test::Unit GUI
Gour [mailto:gour@mail.inet.hr] wrote:
I've applied it in CVS under rough/lib/testunit - can someone grab it> Have you considered to include gtk2 patch for Test::Unit
> written by Kenta MURATA
> (muraken2@nifty.com) in your distribution?
and make sure both the gtk and gtk2 test runners work? I don't have
access to either toolkit at the moment.
Thanks,
Nathaniel
<:((><
+ - -
| EQUIP VI
Nathaniel Talbott Guest
-
Gour #3
Re: Test::Unit GUI
Nathaniel Talbott (nathaniel@NOSPAMtalbott.ws) wrote:
I fetched the gtk2 module from CVS and here is the result:> I've applied it in CVS under rough/lib/testunit - can someone grab it
> and make sure both the gtk and gtk2 test runners work? I don't have
> access to either toolkit at the moment.
ggd@gaura:~/program/ruby/testunit-0.1.8/examples> ruby ts_examples.rb --gtk2
/usr/local/lib/ruby/1.8/test/unit/ui/gtk2/testrunner.rb:294: warning: rb_f_lambda() is deprecated; use rb_block_proc() instead
/usr/local/lib/ruby/1.8/test/unit/ui/gtk2/testrunner.rb:296: warning: rb_f_lambda() is deprecated; use rb_block_proc() instead
/usr/local/lib/ruby/1.8/test/unit/ui/gtk2/testrunner.rb:415: warning: rb_f_lambda() is deprecated; use rb_block_proc() instead
ggd@gaura:~/program/ruby/testunit-0.1.8/examples>
Otherwise it works OK.
Sincerely,
Gour
--
Gour
[email]gour@mail.inet.hr[/email]
Registered Linux User #278493
Gour Guest
-
Nathaniel Talbott #4
Re: Test::Unit GUI
Gour [mailto:gour@mail.inet.hr] wrote:
--gtk2> I fetched the gtk2 module from CVS and here is the result:
>
> ggd@gaura:~/program/ruby/testunit-0.1.8/examples> ruby ts_examples.rbThose appear to be warnings caused by the gtk2 extension itself, so> /usr/local/lib/ruby/1.8/test/unit/ui/gtk2/testrunner.rb:294:
> warning: rb_f_lambda() is deprecated; use rb_block_proc() instead
> /usr/local/lib/ruby/1.8/test/unit/ui/gtk2/testrunner.rb:296:
> warning: rb_f_lambda() is deprecated; use rb_block_proc() instead
> /usr/local/lib/ruby/1.8/test/unit/ui/gtk2/testrunner.rb:415:
> warning: rb_f_lambda() is deprecated; use rb_block_proc() instead
> ggd@gaura:~/program/ruby/testunit-0.1.8/examples>
there's not really anything I can do about them.
Great! Were you able to check the regular GTK::TestRunner as well?> Otherwise it works OK.
Nathaniel
<:((><
+ - -
| EQUIP VI
Nathaniel Talbott Guest
-
Gour #5
Re: Test::Unit GUI
Nathaniel Talbott (nathaniel@NOSPAMtalbott.ws) wrote:
First I have to install GTK, but I'll report back.> Great! Were you able to check the regular GTK::TestRunner as well?
Sincerely,
Gour
--
Gour
[email]gour@mail.inet.hr[/email]
Registered Linux User #278493
Gour Guest
-
Gour #6
Re: Test::Unit GUI
Nathaniel Talbott (nathaniel@NOSPAMtalbott.ws) wrote:
I just checked and it works. Clean - no warnings.> Great! Were you able to check the regular GTK::TestRunner as well?
(this one is from the 1.8.0pre3 tarball, not CVS.)
Sincerely,
Gour
ps. I hope we'll get wx version soon :-)
--
Gour
[email]gour@mail.inet.hr[/email]
Registered Linux User #278493
Gour Guest



Reply With Quote

