Feed Icon  

Contact

  • Bryant Likes
  • Send mail to the author(s) E-mail
  • twitter
  • View Bryant Likes's profile on LinkedIn
  • del.icio.us
Get Microsoft Silverlight
by clicking "Install Microsoft Silverlight" you accept the
Silverlight license agreement

Hosting By

Hot Topics

Tags

Open Source Projects

Archives

Ads

Multi-Threaded and Multi-Domain Tests

Posted in BizTalk | Test-Driven Dev at Tuesday, 19 July 2005 07:58 Pacific Daylight Time

Just finished writing some test code for some shared utilities on my current project. The project is a BizTalk project so the utilities can be hit from multiple threads and from multiple boxes (with a shared database box). So I needed to test for these scenarios. The multiple threads was pretty easy, but I found this page to be very useful and thought I would pass it along.

I also attempted to simulate the multiple box scenario by creating multiple AppDomains (one domain per thread) and then hitting the utility from the separate domains. In figuring out how to do this I made use of this article by Eric Gunnerson. The tests all pass, which is good, but I'm not totally convinced that I'm really simulating things correctly.

Anyhow, both those links are good reads that I want to remember... 

Comments are closed.