From noreply at rubyforge.org Tue May 26 20:05:12 2009
From: noreply at rubyforge.org (noreply at rubyforge.org)
Date: Tue, 26 May 2009 20:05:12 -0400 (EDT)
Subject: [test-unit-tracker] [ test-unit-Feature Requests-26032 ] Parallel
option?
Message-ID: <20090527000512.C97C018580F9@rubyforge.org>
Feature Requests item #26032, was opened at 2009-05-26 17:05
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=21859&aid=26032&group_id=5650
Category: None
Group: None
Status: Open
Priority: 3
Submitted By: Daniel Berger (djberg96)
Assigned to: Nobody (None)
Summary: Parallel option?
Initial Comment:
Hi,
I came across this project for rspec that allows you to run tests in parallel:
http://github.com/grosser/parallel_specs/tree/master
Could something similar be implemented for test-unit as a way of increasing test speed?
Regards,
Dan
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=21859&aid=26032&group_id=5650
From noreply at rubyforge.org Fri May 29 22:51:35 2009
From: noreply at rubyforge.org (noreply at rubyforge.org)
Date: Fri, 29 May 2009 22:51:35 -0400 (EDT)
Subject: [test-unit-tracker] [ test-unit-Feature Requests-26032 ] Parallel
option?
Message-ID: <20090530025135.16B7A1858106@rubyforge.org>
Feature Requests item #26032, was opened at 2009-05-27 09:05
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=21859&aid=26032&group_id=5650
Category: None
Group: None
Status: Open
>Priority: 1
Submitted By: Daniel Berger (djberg96)
Assigned to: Nobody (None)
Summary: Parallel option?
Initial Comment:
Hi,
I came across this project for rspec that allows you to run tests in parallel:
http://github.com/grosser/parallel_specs/tree/master
Could something similar be implemented for test-unit as a way of increasing test speed?
Regards,
Dan
----------------------------------------------------------------------
>Comment By: Kouhei Sutou (kou)
Date: 2009-05-30 11:51
Message:
test-unit provides priority mode. The mode reduces number of tests in a test. It increases test speed.
To implement multi process test feature is not difficult but messy. I implemented it in Cutter, a unit testing framework for C.
I think test output is very important to debug. If we just run multiple test-unit (rspec) processes in parallel, outputs of them are mixed. It causes NO debug friendly output.
In Cutter, there are master process and child processes. Child processes send their results to master process via pipe. Test result is outputed by only master process. So outputs aren't mixed.
If we add multi-process test running support, we will implement the same architecture of Cutter.
If priority mode isn't satisfied you, we need to consider about it. Parallel mode is one of ideas.
# Patch is welcome. :)
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=21859&aid=26032&group_id=5650