Ask a Question related to Ruby, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. 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
    5. 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...
  3. #2

    Default Re: Test::Unit GUI

    Gour [mailto:gour@mail.inet.hr] wrote:
    > Have you considered to include gtk2 patch for Test::Unit
    > written by Kenta MURATA
    > (muraken2@nifty.com) in your distribution?
    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.

    Thanks,


    Nathaniel

    <:((><
    + - -
    | EQUIP VI


    Nathaniel Talbott Guest

  4. #3

    Default Re: Test::Unit GUI

    Nathaniel Talbott (nathaniel@NOSPAMtalbott.ws) wrote:
    > 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.
    I fetched the gtk2 module from CVS and here is the result:

    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

  5. #4

    Default Re: Test::Unit GUI

    Gour [mailto:gour@mail.inet.hr] wrote:
    > I fetched the gtk2 module from CVS and here is the result:
    >
    > 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>
    Those appear to be warnings caused by the gtk2 extension itself, so
    there's not really anything I can do about them.

    > Otherwise it works OK.
    Great! Were you able to check the regular GTK::TestRunner as well?


    Nathaniel

    <:((><
    + - -
    | EQUIP VI


    Nathaniel Talbott Guest

  6. #5

    Default Re: Test::Unit GUI

    Nathaniel Talbott (nathaniel@NOSPAMtalbott.ws) wrote:
    > Great! Were you able to check the regular GTK::TestRunner as well?
    First I have to install GTK, but I'll report back.

    Sincerely,
    Gour

    --
    Gour
    [email]gour@mail.inet.hr[/email]
    Registered Linux User #278493


    Gour Guest

  7. #6

    Default Re: Test::Unit GUI

    Nathaniel Talbott (nathaniel@NOSPAMtalbott.ws) wrote:
    > Great! Were you able to check the regular GTK::TestRunner as well?
    I just checked and it works. Clean - no warnings.

    (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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139