Dennis "D.C." Dietrich

C#, .NET and the Curse of the Resource Fork - A Tester's Tale

Browse by Tags

Tagged Content List
  • Blog Post: The ultimate ExceptionAssert.Throws() method

    A while ago I published a post titled Pimp your VSTT exception tests in which I pointed out some disadvantages of VSTT's declarative approach to testing for exceptions and provided an alternative. I recently gave this some more thought while writing some new tests and noticed that my original version...
  • Blog Post: Pimp your VSTT exception tests

    Writing unit tests in VSTT is great since it comes with a nice unit testing framework and the test tools are neatly integrated into Visual Studio. There is one exception though: Exception testing (yes, that pun was intended). Consider the following example: public class Foo { private object...
Page 1 of 1 (2 items)