The World’s Leading Microsoft .NET Magazine
   
 
timstall

Donate Today!

Search Box

 

Calendar

««Jul 2009»»
SMTWTFS
    12
3
4
567891011
12131415161718
19202122232425
262728293031

My RSS Feeds








Mailing List

Most Popular Tags

                                                           

Creating Database Unit Tests - new install UI

posted Monday, 4 September 2006

The MassDataHandler is a framework to assist with Database Unit Testing. The framework makes it very easy to insert test data into a database, which in turn makes it very easy to write database unit tests. The user merely needs to specify their relevant data in a simple XML fragment, and then the framework uses knowledge of the database schema to do all the grunt work and convert that XML data into SQL, from which it populates the database.

It is an open-source .Net app available here.

We recently improved the install process for the app by having a GUI form collect environmental info for SQL 2005, MSTest, and MSBuild. The install script uses the concept of Having an MSBuild script collect userinput.

If you're looking to test your data layer, check out this free tool. It's now easier to install.

tags:    

links: digg this    technorati    




1. Krishna left...
Tuesday, 16 January 2007 8:41 am

Where is the MSTest.exe located? I do not find that in this C:\Program Files\Microsoft Visual Studio 8\Common7\IDE. Please help me.


2. Tim Stall left...
Friday, 19 January 2007 2:41 pm

Hey Krishna, it requires more advanced versions of Visual Studio, I think developer edition. Can you run tests in Visual Studio? If not, there's the problem. If yes, maybe MSTest was installed to a different directory, and you can do a system-wide search for "MSTest.exe".