Hi Robbie, Thank you for your reply. Your example is similar to how I had previously set up my tests, but as Cliff identified, "You set the driver to a field that would be shared amongst the threads." Isn't this the case?
Are you able to successfully run all three of the tests you've defined in this class in parallel? Thanks for your feedback. Brian On Monday, December 17, 2012 6:53:47 AM UTC-8, robbie wareham wrote: > > I have been using MbUnit as the driver of parallel webdriver tests for a > while. > > To my life simply, I apply parallization at a class level rather than > method level > > e.g. > > [Parallelizable(TestScope.Self)] > public class SigningUpTests > { > > private RemoteWebDriver _driver; > > > [SetUp] > > public void SetUp() > { > _driver = DriverFactory.CreateDriver(); > } > > [TearDown] > > public void TearDown() > { > _driver.Quit(); > } > > > [Test] > pubic void Test1() > { > ... > } > > [Test] > pubic void Test2() > { > ... > } > > > } > > This means that I do not have to worry about different threads sharing the > same webdriver instance. If you were desperate to have paralleization > within a class, then you cannot use SetUp and TearDown without creating > some kind of context container. > -- You received this message because you are subscribed to the Google Groups "MbUnit.User" group. To view this discussion on the web visit https://groups.google.com/d/msg/mbunituser/-/QgJf8fZelI4J. To post to this group, send email to mbunituser@googlegroups.com. To unsubscribe from this group, send email to mbunituser+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mbunituser?hl=en.