The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Software Testing >> Unit Testing

Pages: 1
bthompson
Member


Reged: 12/08/08
Posts: 30
Microsoft Unit Testing - Problem when running mult
      #637561 - 08/05/10 03:59 PM

Hey,

I have a [TestClass] and then several [TestMethods]

when I run my TestMethods one at a time they run as expected but when run in a batch they fail. In my [TestClass] i have a int counter variable I use when testing. This variable is incremented each time the test attempts to access the DB. The problem is when running tests in a batch this variable is incremented randomly it seems. Are these tests run on multiple threads??

Any help would be great.

Thx,

Brad


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 0 anonymous users are browsing this forum.

Moderator:  AJ, Jeanj 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 1644

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5