Closed GoogleCodeExporter closed 8 years ago
Attached is a patch rooted in the src directory that adds a new test runner
called
IsolatedProcessPerAssembly. It modifies the HostedTestDriverFactory, giving it
a new
property HostPerAssembly which is set in gallio.plugin. The created
HostedTestDriver
then acts accordingly.
Please review the change of the location of the creation of the Listener in the
base
AggregateTestDriver. Without this move, a new Listener was created for each test
process so only the report for the last run assembly was showing up.
I also modified the Processor Architecture code so that when you run with
multiple
processes, it will run each of those processes with the correct architecture. I
have
added a unit test to HostedTestDriverTest for this.
Original comment by rpro...@gmail.com
on 5 May 2009 at 6:16
Attachments:
Original comment by jeff.br...@gmail.com
on 13 May 2009 at 6:21
I have applied the patch with a few minor changes.
I think your intuition about the Listener is correct and that the old code was
broken. What worries me is that this implies other people may have been getting
incomplete test reports whenever there were multiple test partitions. I'm
surprised
I haven't noticed this myself...
Original comment by jeff.br...@gmail.com
on 20 May 2009 at 7:49
Original issue reported on code.google.com by
rpro...@gmail.com
on 4 May 2009 at 7:22