It's not a dumb question but I will need some more information to help.

I suspect what is happening is that there aren't enough parallelizable
tests.

Here are a few tips that might help identify the issue:

Setting DegreeOfParallelism alone is not enough to make tests run in
parallel.  You also have to add [Parallelizable] to the tests methods and/or
fixtures.  Keep in mind that those are different things.  A parallelizable
test method may run in parallel with other test methods within the same
fixture.  Ditto for a test fixture.  So if you only put [Parallelizable] on
the fixtures then that will only ensure the fixtures can run in parallel
with each other but their respective methods still run in series with each
other (but possibly in parallel with methods in other parallelizable
fixtures).

Jeff. 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Miro
Sent: Tuesday, June 23, 2009 7:43 AM
To: MbUnit.User
Subject: MbUnit Assembly attributes


Hello, I have problem setting both the DegreeOfParallelism and
DefaultTestCaseTimeout. My testing project is being written in VB and in the
assemblyinfo.vb there are the following lines:
  <Assembly: DegreeOfParallelism(5)>
  <Assembly: DefaultTestCaseTimeout(10)> However, only two tests run
simultaneously and the tests don't abort after 10 sec (I've set 10 sec
timeout just to try it out). Any clue why this can be happening. Thanks in
advance and sorry if my question is sort of dumn - I am a newbe.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to