in

TFS Advantage

Furthering Continuous Integration Efforts on Microsoft Visual Studio Team System Team Foundation Server

Browse by Tags

  • Coverage issue

    Quick question: Usually I'm in the habit of putting a try-catch block around code "just for the heck of it", especially if that code contains a call to an external 3rd-party library. This seems like a good practice to make sure all exceptions are handled gracefully. However, when unit testing...
    Posted to Test Driven Design (Forum) by dann on 06-26-2008
  • Re: Beginners question about unit testing a method that fires an event

    Download source code... The pattern I have used successfuly is to add a handler before invoking your test subject, then setting some private member variables in the handler and inspecting their values. Whenever I do this, I typically clear the privates in a TestInitialize to ensure if someone else forgets...
    Posted to Test Driven Design (Forum) by tim on 06-26-2008
Page 1 of 1 (2 items)
Hound Dog Enterprises, LLC
Powered by Community Server (Non-Commercial Edition), by Telligent Systems