Testing with VS2005 Demo

Today’s workshop was based on a demo to show all the vs features about testing, it covers: Unit Tests (With MockObjects) Integration Tests (Using ASP.Net Host) Functional Tests (With Web Tests) Load Tests (With testcontrollers and test agents)  I’ve packed all the code in a zip that you can download here: http://blogs.msdn.com/rido/attachment/1159890.ashx   DemoVSTesting.zip


My Workshop about testing

Tomorrow I will be talking about Testing with VS2005, here is my presentation: http://blogs.msdn.com/rido/attachment/1156243.ashx If you are interested in the code samples, please let me know and I will send you the latest version     Testing, Testing, Testing.pptx


Mocking SQLException

I’m working on a presentation about Testing, and one of the technics I would like to show is MockObjects. One of the mock objects I want to create is a DataAccess Layer, and this one should throw SqlExceptions, however the SqlException class is sealed and has no public constructor.   I found a comment about it here: http://www.taylor.se/blog/2006/06/09/mocking-sqlexception/ But the…