Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 TSQLUnit

Author  Topic 

KHeon
Posting Yak Master

135 Posts

Posted - 2005-04-18 : 11:27:08
Found this interesting project the other day and was wondering if anyone had come across it already and if so have they used it.

[url]http://tsqlunit.sourceforge.net/[/url]

Kyle Heon
PixelMEDIA, Inc.
Senior Application Programmer, MCP
kheon@pixelmedia.com

Kristen
Test

22859 Posts

Posted - 2005-04-18 : 11:50:49
Very few of our SProcs would work in isolation in the way that seems to be proposed in tSQLunit.

Where we have, for example, a function that performs a specific task we has a "test rig" for it. This is all the test conditions that it must pass if it is changed. This is not automated, as such, but there again the test only needs to be run if the SProc/Function is changed.

Our "test rig" is included in the comments for the Sproc/function, so is always maintained together with the code itself - no need to visit some other repository when changes are need to source code, or test rig.

Not quite the same thing! - but it seems to suit us.

Kristen
Go to Top of Page
   

- Advertisement -