From djberg96 at gmail.com Tue Oct 16 18:15:13 2012 From: djberg96 at gmail.com (Daniel Berger) Date: Tue, 16 Oct 2012 12:15:13 -0600 Subject: [test-unit-users-en:00086] mini-test and parallel? Message-ID: Hi, May I ask why mini-test is required for test-unit 2? What does it use it for? Also, I see a parallel.rb file. Are test-unit 2 tests automatically run in parallel now? Or is there an option to run them in parallel? Just curious. Thanks, Dan From kou at cozmixng.org Wed Oct 17 13:05:43 2012 From: kou at cozmixng.org (Kouhei Sutou) Date: Wed, 17 Oct 2012 22:05:43 +0900 (JST) Subject: [test-unit-users-en:00087] Re: mini-test and parallel? In-Reply-To: References: Message-ID: <20121017.220543.1363925147495781003.kou@cozmixng.org> Hi, In "[test-unit-users-en:00086] mini-test and parallel?" on Tue, 16 Oct 2012 12:15:13 -0600, Daniel Berger wrote: > May I ask why mini-test is required for test-unit 2? What does it use it for? Really!? https://rubygems.org/gems/test-unit doesn't say test-unit 2 requires minitest. > Also, I see a parallel.rb file. Are test-unit 2 tests automatically > run in parallel now? Or is there an option to run them in parallel? Ah, OK. I understand. You are using Ruby trunk, aren't you? Ruby trunk install test-unit 2.0.0.0 gem by default. It is not test-unit gem. It is a minitest wrapper that provides test/unit compatible API. test-unit gem doesn't support parallel tests yet. Sorry. :< parallel_tests will work with test-unit gem. https://github.com/grosser/parallel_tests Thanks, -- kou From djberg96 at gmail.com Wed Oct 17 14:07:13 2012 From: djberg96 at gmail.com (Daniel Berger) Date: Wed, 17 Oct 2012 08:07:13 -0600 Subject: [test-unit-users-en:00088] Re: mini-test and parallel? In-Reply-To: <20121017.220543.1363925147495781003.kou@cozmixng.org> References: <20121017.220543.1363925147495781003.kou@cozmixng.org> Message-ID: On Wed, Oct 17, 2012 at 7:05 AM, Kouhei Sutou wrote: > Hi, > > In > "[test-unit-users-en:00086] mini-test and parallel?" on Tue, 16 Oct 2012 12:15:13 -0600, > Daniel Berger wrote: > >> May I ask why mini-test is required for test-unit 2? What does it use it for? > > Really!? > > https://rubygems.org/gems/test-unit doesn't say test-unit 2 > requires minitest. > >> Also, I see a parallel.rb file. Are test-unit 2 tests automatically >> run in parallel now? Or is there an option to run them in parallel? > > Ah, OK. I understand. > You are using Ruby trunk, aren't you? > > Ruby trunk install test-unit 2.0.0.0 gem by default. It is > not test-unit gem. It is a minitest wrapper that provides > test/unit compatible API. > > test-unit gem doesn't support parallel tests yet. Sorry. :< > > parallel_tests will work with test-unit gem. > https://github.com/grosser/parallel_tests Ah, I got confused. Thanks for the information. Regards, Dan From djberg96 at gmail.com Mon Oct 29 12:19:59 2012 From: djberg96 at gmail.com (Daniel Berger) Date: Mon, 29 Oct 2012 06:19:59 -0600 Subject: [test-unit-users-en:00089] Odd exit error in irb Message-ID: Hi, I found this curious. If I do "require 'test/unit'" in 1.9 on OSX in irb I get an error when I exit. This doesn't happen if I use "test-unit" (hyphen instead of slash). Note that I've renamed the original "test" directory in the stdlib to "test-old". djberge:~/Repositories/depot >irb irb(main):001:0> quit irb(main):001:0> require 'test-unit' => true irb(main):002:0> quit djberge:~/Repositories/depot >irb irb(main):001:0> require 'test/unit' => true irb(main):002:0> quit /usr/local/lib/ruby/1.9.1/irb.rb:83:in `throw': uncaught throw :IRB_EXIT (ArgumentError) from /usr/local/lib/ruby/1.9.1/irb.rb:83:in `irb_exit' from /usr/local/lib/ruby/1.9.1/irb/context.rb:265:in `exit' from /usr/local/lib/ruby/1.9.1/irb/extend-command.rb:23:in `irb_exit' from /usr/local/lib/ruby/gems/1.9.1/gems/test-unit-2.5.2/lib/test/unit.rb:501:in `block in ' Regards, Dan