<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>T.S.T. the T-SQL Test Tool</title><link>http://tst.codeplex.com/Project/ProjectRss.aspx</link><description>TST simplifies the task of writing and running test automation for T-SQL code. Written in T-SQL it provides an API similar to those provided by other Unit Testing frameworks. Can produce test repor...</description><item><title>Updated Release: Version 1.5 (Mar 17, 2010)</title><link>http://tst.codeplex.com/releases/view/42111</link><description>&lt;div class="wikidoc"&gt;Version 1.5 changes:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Bug fix. In V1.4 and earlier table comparison failed if the tables compared had columns with spaces in them.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Thu, 18 Mar 2010 13:18:38 GMT</pubDate><guid isPermaLink="false">Updated Release: Version 1.5 (Mar 17, 2010) 20100318011838P</guid></item><item><title>Released: Version 1.5 (Mar 17, 2010)</title><link>http://tst.codeplex.com/releases/view/42111</link><description>&lt;div&gt;Version 1.5 changes:&lt;br&gt;
&lt;ul&gt;&lt;li&gt;Bug fix. In V1.4 and earlier table comparison failed if the tables compared had columns with spaces in them.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;</description><author></author><pubDate>Thu, 18 Mar 2010 13:18:38 GMT</pubDate><guid isPermaLink="false">Released: Version 1.5 (Mar 17, 2010) 20100318011838P</guid></item><item><title>Updated Wiki: Documentation</title><link>http://tst.codeplex.com/documentation?version=1</link><description>&lt;div class="wikidoc"&gt;&lt;br /&gt;&lt;b&gt;For complete documentation including a Quick Start section and a video introduction see click on the Home tab.&lt;/b&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Wed, 17 Mar 2010 08:15:49 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20100317081549A</guid></item><item><title>Updated Wiki: Home</title><link>http://tst.codeplex.com/wikipage?version=35</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Welcome to T.S.T.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;TST is a tool that simplifies writing and running automated tests for code written in T-SQL. At the heart of the TST tool is the TST database. This database contains a series of stored procedures that represent a test API. Part of this API is similar with those found in Unit Testing libraries familiar to programmers in C# or Java.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Feature Highlights&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Support for validating views as well as stored procedures and functions that return a table.&lt;/li&gt;
&lt;li&gt;A reliable implementation of Assert.Equals / Assert.NotEquals procedures that detect when a comparison should not be made due to incompatibility of the data types. Additional procedures like Assert.NumericEquals, Assert.NumericNotEquals, Assert.FloatEquals, Assert.FloatNotEquals are provided.&lt;/li&gt;
&lt;li&gt;Ability to run concurrent test sessions against the same or different databases.&lt;/li&gt;
&lt;li&gt;Ability to produce XML results.&lt;/li&gt;
&lt;li&gt;Automatic rollback of the database changes done during each test.&lt;/li&gt;
&lt;li&gt;TST will detect when its own rollback mechanism becomes ineffective in some scenarios that involve testing code that uses transactions. The TST rollback can be disabled at the test, suite or global level.&lt;/li&gt;
&lt;li&gt;No need to register the test stored procedures; they are picked up automatically by the TST test runners. &lt;/li&gt;
&lt;li&gt;Can be run from the command prompt or directly by calling one of the test runner stored procedures. &lt;/li&gt;
&lt;li&gt;The TST infrastructure is isolated in a separate database.&lt;/li&gt;
&lt;li&gt;Easy to install and integrate with other test frameworks.&lt;/li&gt;
&lt;li&gt;Does not have any dependencies besides SQL Server. &lt;/li&gt;
&lt;li&gt;Very small learning curve for someone already familiar with T-SQL. &lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;b&gt;Current release:&lt;/b&gt; &lt;a href="http://tst.codeplex.com/releases/view/42111"&gt;Version 1.5&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Related project on CodePlex:&lt;/b&gt; &lt;br /&gt;Managed Code Interface for T-SQL Test Tool &lt;a href="http://www.codeplex.com/MCI4TST" class="externalLink"&gt;http://www.codeplex.com/MCI4TST&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Complete documentation including a Quick Start section&lt;/b&gt;
&lt;ul&gt;&lt;li&gt;HTML format: &lt;a href="javascript:window.location.href='http://tst.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=76356';"&gt;TST.mht&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Word 2007 file: &lt;a href="javascript:window.location.href='http://tst.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=76355';"&gt;TST.docx&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;b&gt;7 minutes video demo:&lt;/b&gt; &lt;a href="http://www.youtube.com/watch?v=bLtK20bl7G4" class="externalLink"&gt;http://www.youtube.com/watch?v=bLtK20bl7G4&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Author&amp;#39;s home page and other projects:&lt;/b&gt; &lt;a href="http://www.ladimolnar.com" class="externalLink"&gt;http://www.ladimolnar.com&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The TST API&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Assert.LogInfo&lt;/li&gt;
&lt;li&gt;Assert.Pass&lt;/li&gt;
&lt;li&gt;Assert.Fail&lt;/li&gt;
&lt;li&gt;Assert.Equals&lt;/li&gt;
&lt;li&gt;Assert.NotEquals&lt;/li&gt;
&lt;li&gt;Assert.NumericEquals&lt;/li&gt;
&lt;li&gt;Assert.NumericNotEquals&lt;/li&gt;
&lt;li&gt;Assert.FloatEquals&lt;/li&gt;
&lt;li&gt;Assert.FloatNotEquals&lt;/li&gt;
&lt;li&gt;Assert.IsLike&lt;/li&gt;
&lt;li&gt;Assert.IsNotLike&lt;/li&gt;
&lt;li&gt;Assert.IsNull&lt;/li&gt;
&lt;li&gt;Assert.IsNotNull&lt;/li&gt;
&lt;li&gt;Assert.TableEquals&lt;/li&gt;
&lt;li&gt;Assert.IsTableEmpty&lt;/li&gt;
&lt;li&gt;Assert.RegisterExpectedError&lt;/li&gt;&lt;/ul&gt;

&lt;ul&gt;&lt;li&gt;Runner.RunAll &lt;/li&gt;
&lt;li&gt;Runner.RunSuite  &lt;/li&gt;
&lt;li&gt;Runner.RunTest  &lt;/li&gt;&lt;/ul&gt;

&lt;ul&gt;&lt;li&gt;Utils.SetConfiguration&lt;/li&gt;&lt;/ul&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Wed, 17 Mar 2010 08:11:25 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100317081125A</guid></item><item><title>Updated Release: Version 1.5 (Mar 17, 2010)</title><link>http://tst.codeplex.com/releases/view/42111</link><description>&lt;div class="wikidoc"&gt;Version 1.5 changes:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Fix a bug. In V1.4 and earlier table comparison failed if the tables compared had columns with spaces in them.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Wed, 17 Mar 2010 08:11:01 GMT</pubDate><guid isPermaLink="false">Updated Release: Version 1.5 (Mar 17, 2010) 20100317081101A</guid></item><item><title>Released: Version 1.5 (Mar 17, 2010)</title><link>http://tst.codeplex.com/releases/view/42111</link><description>&lt;div&gt;Version 1.5 changes:&lt;br&gt;
&lt;ul&gt;&lt;li&gt;Fix a bug. In V1.4 and earlier table comparison failed if the tables compared had columns with spaces in them.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;</description><author></author><pubDate>Wed, 17 Mar 2010 08:11:01 GMT</pubDate><guid isPermaLink="false">Released: Version 1.5 (Mar 17, 2010) 20100317081101A</guid></item><item><title>Updated Wiki: Home</title><link>http://tst.codeplex.com/wikipage?version=34</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Welcome to T.S.T.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;TST is a tool that simplifies writing and running automated tests for code written in T-SQL. At the heart of the TST tool is the TST database. This database contains a series of stored procedures that represent a test API. Part of this API is similar with those found in Unit Testing libraries familiar to programmers in C# or Java.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Feature Highlights&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Support for validating views as well as stored procedures and functions that return a table.&lt;/li&gt;
&lt;li&gt;A reliable implementation of Assert.Equals / Assert.NotEquals procedures that detect when a comparison should not be made due to incompatibility of the data types. Additional procedures like Assert.NumericEquals, Assert.NumericNotEquals, Assert.FloatEquals, Assert.FloatNotEquals are provided.&lt;/li&gt;
&lt;li&gt;Ability to run concurrent test sessions against the same or different databases.&lt;/li&gt;
&lt;li&gt;Ability to produce XML results.&lt;/li&gt;
&lt;li&gt;Automatic rollback of the database changes done during each test.&lt;/li&gt;
&lt;li&gt;TST will detect when its own rollback mechanism becomes ineffective in some scenarios that involve testing code that uses transactions. The TST rollback can be disabled at the test, suite or global level.&lt;/li&gt;
&lt;li&gt;No need to register the test stored procedures; they are picked up automatically by the TST test runners. &lt;/li&gt;
&lt;li&gt;Can be run from the command prompt or directly by calling one of the test runner stored procedures. &lt;/li&gt;
&lt;li&gt;The TST infrastructure is isolated in a separate database.&lt;/li&gt;
&lt;li&gt;Easy to install and integrate with other test frameworks.&lt;/li&gt;
&lt;li&gt;Does not have any dependencies besides SQL Server. &lt;/li&gt;
&lt;li&gt;Very small learning curve for someone already familiar with T-SQL. &lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;b&gt;Current release:&lt;/b&gt; &lt;a href="http://tst.codeplex.com/releases/view/33384"&gt;Version 1.4&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Related project on CodePlex:&lt;/b&gt; &lt;br /&gt;Managed Code Interface for T-SQL Test Tool &lt;a href="http://www.codeplex.com/MCI4TST" class="externalLink"&gt;http://www.codeplex.com/MCI4TST&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Complete documentation including a Quick Start section&lt;/b&gt;
&lt;ul&gt;&lt;li&gt;HTML format: &lt;a href="javascript:window.location.href='http://tst.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=76356';"&gt;TST.mht&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Word 2007 file: &lt;a href="javascript:window.location.href='http://tst.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=76355';"&gt;TST.docx&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;b&gt;7 minutes video demo:&lt;/b&gt; &lt;a href="http://www.youtube.com/watch?v=bLtK20bl7G4" class="externalLink"&gt;http://www.youtube.com/watch?v=bLtK20bl7G4&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Author&amp;#39;s home page and other projects:&lt;/b&gt; &lt;a href="http://www.ladimolnar.com" class="externalLink"&gt;http://www.ladimolnar.com&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The TST API&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Assert.LogInfo&lt;/li&gt;
&lt;li&gt;Assert.Pass&lt;/li&gt;
&lt;li&gt;Assert.Fail&lt;/li&gt;
&lt;li&gt;Assert.Equals&lt;/li&gt;
&lt;li&gt;Assert.NotEquals&lt;/li&gt;
&lt;li&gt;Assert.NumericEquals&lt;/li&gt;
&lt;li&gt;Assert.NumericNotEquals&lt;/li&gt;
&lt;li&gt;Assert.FloatEquals&lt;/li&gt;
&lt;li&gt;Assert.FloatNotEquals&lt;/li&gt;
&lt;li&gt;Assert.IsLike&lt;/li&gt;
&lt;li&gt;Assert.IsNotLike&lt;/li&gt;
&lt;li&gt;Assert.IsNull&lt;/li&gt;
&lt;li&gt;Assert.IsNotNull&lt;/li&gt;
&lt;li&gt;Assert.TableEquals&lt;/li&gt;
&lt;li&gt;Assert.IsTableEmpty&lt;/li&gt;
&lt;li&gt;Assert.RegisterExpectedError&lt;/li&gt;&lt;/ul&gt;

&lt;ul&gt;&lt;li&gt;Runner.RunAll &lt;/li&gt;
&lt;li&gt;Runner.RunSuite  &lt;/li&gt;
&lt;li&gt;Runner.RunTest  &lt;/li&gt;&lt;/ul&gt;

&lt;ul&gt;&lt;li&gt;Utils.SetConfiguration&lt;/li&gt;&lt;/ul&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Wed, 17 Mar 2010 08:10:14 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100317081014A</guid></item><item><title>New Post: Running UnitTests in multiple databases</title><link>http://tst.codeplex.com/Thread/View.aspx?ThreadId=84016</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Is there a way to run UnitTests in multiple databases in one pass?&lt;/p&gt;
&lt;p&gt;Ideally, it would be nice to be able to run either all of the unit tests in multiple databases or all of the unit tests of within a specific suite in across various databases.&lt;/p&gt;
&lt;p&gt;If the RunAll, Runsuite and RunTest stored procedures could take a list of database names instead of just a single database name, it would be really handy.&lt;/p&gt;&lt;/div&gt;</description><author>JohnMayo</author><pubDate>Thu, 11 Feb 2010 02:04:17 GMT</pubDate><guid isPermaLink="false">New Post: Running UnitTests in multiple databases 20100211020417A</guid></item><item><title>New Post: Initial Data</title><link>http://tst.codeplex.com/Thread/View.aspx?ThreadId=75296</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;First of all thanks for your fast response.&lt;/p&gt;
&lt;p&gt;I will create a secondary empty database &amp;quot;REDBTest&amp;quot; which will be used to hold the initial data from the test fixture. &amp;quot;MISReporting&amp;quot; Stored Procedures retrieves data from the &amp;quot;REDB&amp;quot;. Instead of writing the statements to call them directly as below:&lt;/p&gt;
&lt;div style="color:Black;background-color:White"&gt;
&lt;pre&gt;&lt;span style="color:Blue"&gt;select&lt;/span&gt; a.xxx, b.yyy 
&lt;span style="color:Blue"&gt;from&lt;/span&gt; MISReporting.dbo.Table1 a 
&lt;span style="color:Blue"&gt;inner&lt;/span&gt; &lt;span style="color:Blue"&gt;join&lt;/span&gt; REDB.dbo.Table2 b 
&lt;span style="color:Blue"&gt;on&lt;/span&gt; a.Id = b.Id
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;I will utilize the &amp;quot;Create Synonym&amp;quot; command as an abstruction layer. So using the following command on &amp;quot;MisReporting&amp;quot;.&lt;/p&gt;
&lt;div style="color:Black;background-color:White"&gt;
&lt;pre&gt;&lt;span style="color:Blue"&gt;Create&lt;/span&gt; Synonym REDB_Table2 &lt;span style="color:Blue"&gt;for&lt;/span&gt; REDBTest.dbo.Table2
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;And the TSQL statement inside the Stored Procedure on &amp;quot;MISReporting&amp;quot; database will be:&lt;/p&gt;
&lt;div style="color:Black;background-color:White"&gt;
&lt;pre&gt;&lt;span style="color:Blue"&gt;select&lt;/span&gt; a.xxx, b.yyy 
&lt;span style="color:Blue"&gt;from&lt;/span&gt; MISReporting.dbo.Table1 a 
&lt;span style="color:Blue"&gt;inner&lt;/span&gt; &lt;span style="color:Blue"&gt;join&lt;/span&gt; REDB_Table2 b 
&lt;span style="color:Blue"&gt;on&lt;/span&gt; a.Id = b.Id

&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;If i run the SQLTest Tests it will reference the &amp;quot;MISReporting&amp;quot; with &amp;quot;REDBTest&amp;quot; data.&lt;/p&gt;
&lt;p&gt;To restore for production purpose i will use the command:&lt;/p&gt;
&lt;div style="color:Black;background-color:White"&gt;
&lt;pre&gt;&lt;span style="color:Blue"&gt;USE&lt;/span&gt; [MISReporting]
GO

&lt;span style="color:Blue"&gt;DROP&lt;/span&gt; SYNONYM REDB_Table2
GO
&lt;span style="color:Blue"&gt;CREATE&lt;/span&gt; SYNONYM REDB_Table2 &lt;span style="color:Blue"&gt;for&lt;/span&gt; REDB.dbo.Table2
GO
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>nmiliotis</author><pubDate>Tue, 17 Nov 2009 09:10:14 GMT</pubDate><guid isPermaLink="false">New Post: Initial Data 20091117091014A</guid></item><item><title>New Post: Initial Data</title><link>http://tst.codeplex.com/Thread/View.aspx?ThreadId=75296</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&lt;span style="font-size:10pt"&gt;You&amp;rsquo;d want to have a build environment where you have control of some test version of your DBs as opposed to an environment that uses production DBs. If you need to switch between test DBs and production DBs you can write a script that does restore DB from some backups. Unless you have really big DBs, switching from one set of backups to another will be relatively fast. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10pt"&gt;In many cases it is useful if as part of your build process you include the process that initializes your DBs. In that case the test automation can be integrated as one of the final steps of the build process and you can work on top of a clean and predictable set of DBs. In some cases you may also want to create a back-up of the clean DB (this typically takes a few seconds) and restore it at different moments during the test process.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10pt"&gt;Having this type of environment where you have a clean DB, you will have to set the initial data as part of your test. Typically a test will not do a lot of things. It will be focused on a limited aspect and it will have the following structure:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-size:10pt"&gt;The test fixture. The part where you set up the data context for your test. Can be INSERTS / UPDATES or even      better calls to sprocs.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size:10pt"&gt;Exercise the unit under test.      Here you invoke the sprocs / functions, views, etc that are the subject of      your test. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size:10pt"&gt;Read and verify the expected result.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-size:10pt"&gt;My point here is that 1. (the test fixture) is part of the test. Normally you should not rely on the right context being already in place. Rather you should start from a clean or at least predictable state and set-up the right context in the test. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10pt"&gt;There are plenty of reason why in a test environment you really want to avoid having to work with a production DB: Complexity that is out of your control, performance, the inability of scoping tests to only well defined scenarios, and so on.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10pt"&gt;&lt;br&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Tue, 17 Nov 2009 04:28:21 GMT</pubDate><guid isPermaLink="false">New Post: Initial Data 20091117042821A</guid></item><item><title>New Post: Initial Data</title><link>http://tst.codeplex.com/Thread/View.aspx?ThreadId=75296</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;As i am checking the T.S.T. project i wonder about the Initial Data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have two databases. The &amp;quot;REDB&amp;quot; and the &amp;quot;MISReporting&amp;quot;. The second database has a lot of SP's that evaluate the first database and store the results How do i validate the results if i don't know the expected results. Do i need to clean up the main database each time when running the SQLTST_xxx SP's and initialize with specified records in order to know what i am expecting. Or do i have to create a new emtpy database &amp;quot;REDBTest&amp;quot;&amp;nbsp;which will contain the initial data. In that case i have the problem with &amp;quot;MISReporting&amp;quot; queries which refers to &amp;quot;REDB&amp;quot; and not to the &amp;quot;REDBTest&amp;quot;.&amp;nbsp;What is your opinion?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>nmiliotis</author><pubDate>Mon, 16 Nov 2009 20:36:23 GMT</pubDate><guid isPermaLink="false">New Post: Initial Data 20091116083623P</guid></item><item><title>Updated Release: Version 1.4 (Sep 23, 2009)</title><link>http://tst.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=33384</link><description>&lt;div class="wikidoc"&gt;Version 1.4 changes:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;V 1.3 or earlier will not install on a SQL Server with a case sensitive collation. The V1.4 release fixes all known issues related to case sensitive collations.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Sat, 26 Sep 2009 17:20:17 GMT</pubDate><guid isPermaLink="false">Updated Release: Version 1.4 (Sep 23, 2009) 20090926052017P</guid></item><item><title>Released: Version 1.4 (Sep 23, 2009)</title><link>http://tst.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=33384</link><description>&lt;div&gt;Version 1.4 changes:&lt;br&gt;
&lt;ul&gt;&lt;li&gt;V 1.3 or earlier will not install on a SQL Server with a case sensitive collation. The V1.4 release fixes all known issues related to case sensitive collations.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;</description><author></author><pubDate>Sat, 26 Sep 2009 17:20:17 GMT</pubDate><guid isPermaLink="false">Released: Version 1.4 (Sep 23, 2009) 20090926052017P</guid></item><item><title>Closed Issue: Another Case Sensitivity Issue [4033]</title><link>http://tst.codeplex.com/WorkItem/View.aspx?WorkItemId=4033</link><description>Internal.PrepareTestInformation looks for stored procedures with &amp;#34;Setup_&amp;#34; and &amp;#34;Teardown_&amp;#34; in the SP name&lt;br /&gt;Internal.AnalyzeSprocName tests for &amp;#34;SETUP_&amp;#34; and &amp;#34;TEARDOWN_&amp;#34; in the SP name&lt;br /&gt;&lt;br /&gt;Formats should be consistent, either all upper or all Pascal &amp;#40;mixed&amp;#41; case.&lt;br /&gt;Comments: &lt;p&gt;This issue is fixed in V1.4&lt;/p&gt;</description><author>lmolnar</author><pubDate>Wed, 23 Sep 2009 09:25:34 GMT</pubDate><guid isPermaLink="false">Closed Issue: Another Case Sensitivity Issue [4033] 20090923092534A</guid></item><item><title>Closed Issue: Error on installation when using a case-sensitive collation [3536]</title><link>http://tst.codeplex.com/WorkItem/View.aspx?WorkItemId=3536</link><description>I received an error while installing the tst database using &amp;#34;tst.bat &amp;#47;Setup&amp;#34;  The version is 1.2&lt;br /&gt;&lt;br /&gt;Changed database context to &amp;#39;tempdb&amp;#39;.&lt;br /&gt;Changed database context to &amp;#39;TST&amp;#39;.&lt;br /&gt;&lt;br /&gt;&amp;#40;1 rows affected&amp;#41;&lt;br /&gt;Msg 207, Level 16, State 1, Server ACNCND63419BB, Procedure PrepareTestInformation, Line 118&lt;br /&gt;Invalid column name &amp;#39;SuiteID&amp;#39;.&lt;br /&gt;Msg 207, Level 16, State 1, Server ACNCND63419BB, Procedure PrepareTestInformation, Line 118&lt;br /&gt;Invalid column name &amp;#39;SprocType&amp;#39;.&lt;br /&gt;&lt;br /&gt;This cause of this error was that my sql server database is using a case-sensitive collation.  The following changes were made in SetTSTDatabase.sql to resolve the issue&amp;#58;&lt;br /&gt;&lt;br /&gt;Line 985, change SuiteID to SuiteId&lt;br /&gt;Line 985, change SprocType to SProcType&lt;br /&gt;&lt;br /&gt;After these two changes were made, the setup completed successfully.&lt;br /&gt;&lt;br /&gt;-- Erin&lt;br /&gt;Comments: &lt;p&gt;This issue is fixed in V 1.4&lt;/p&gt;</description><author>lmolnar</author><pubDate>Wed, 23 Sep 2009 09:23:19 GMT</pubDate><guid isPermaLink="false">Closed Issue: Error on installation when using a case-sensitive collation [3536] 20090923092319A</guid></item><item><title>Updated Wiki: Home</title><link>http://tst.codeplex.com/Wiki/View.aspx?title=Home&amp;version=33</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Welcome to T.S.T.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;TST is a tool that simplifies writing and running automated tests for code written in T-SQL. At the heart of the TST tool is the TST database. This database contains a series of stored procedures that represent a test API. Part of this API is similar with those found in Unit Testing libraries familiar to programmers in C# or Java.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Feature Highlights&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Support for validating views as well as stored procedures and functions that return a table.&lt;/li&gt;
&lt;li&gt;A reliable implementation of Assert.Equals / Assert.NotEquals procedures that detect when a comparison should not be made due to incompatibility of the data types. Additional procedures like Assert.NumericEquals, Assert.NumericNotEquals, Assert.FloatEquals, Assert.FloatNotEquals are provided.&lt;/li&gt;
&lt;li&gt;Ability to run concurrent test sessions against the same or different databases.&lt;/li&gt;
&lt;li&gt;Ability to produce XML results.&lt;/li&gt;
&lt;li&gt;Automatic rollback of the database changes done during each test.&lt;/li&gt;
&lt;li&gt;TST will detect when its own rollback mechanism becomes ineffective in some scenarios that involve testing code that uses transactions. The TST rollback can be disabled at the test, suite or global level.&lt;/li&gt;
&lt;li&gt;No need to register the test stored procedures; they are picked up automatically by the TST test runners. &lt;/li&gt;
&lt;li&gt;Can be run from the command prompt or directly by calling one of the test runner stored procedures. &lt;/li&gt;
&lt;li&gt;The TST infrastructure is isolated in a separate database.&lt;/li&gt;
&lt;li&gt;Easy to install and integrate with other test frameworks.&lt;/li&gt;
&lt;li&gt;Does not have any dependencies besides SQL Server. &lt;/li&gt;
&lt;li&gt;Very small learning curve for someone already familiar with T-SQL. &lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;b&gt;Current release:&lt;/b&gt; &lt;a href="http://tst.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=33384"&gt;Version 1.4&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Related project on CodePlex:&lt;/b&gt; &lt;br /&gt;Managed Code Interface for T-SQL Test Tool &lt;a href="http://www.codeplex.com/MCI4TST" class="externalLink"&gt;http://www.codeplex.com/MCI4TST&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Complete documentation including a Quick Start section&lt;/b&gt;
&lt;ul&gt;&lt;li&gt;HTML format: &lt;a href="javascript:window.location.href='http://tst.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=76356';"&gt;TST.mht&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Word 2007 file: &lt;a href="javascript:window.location.href='http://tst.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=76355';"&gt;TST.docx&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;b&gt;7 minutes video demo:&lt;/b&gt; &lt;a href="http://www.youtube.com/watch?v=bLtK20bl7G4" class="externalLink"&gt;http://www.youtube.com/watch?v=bLtK20bl7G4&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Author's home page and other projects:&lt;/b&gt; &lt;a href="http://www.ladimolnar.com" class="externalLink"&gt;http://www.ladimolnar.com&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The TST API&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Assert.LogInfo&lt;/li&gt;
&lt;li&gt;Assert.Pass&lt;/li&gt;
&lt;li&gt;Assert.Fail&lt;/li&gt;
&lt;li&gt;Assert.Equals&lt;/li&gt;
&lt;li&gt;Assert.NotEquals&lt;/li&gt;
&lt;li&gt;Assert.NumericEquals&lt;/li&gt;
&lt;li&gt;Assert.NumericNotEquals&lt;/li&gt;
&lt;li&gt;Assert.FloatEquals&lt;/li&gt;
&lt;li&gt;Assert.FloatNotEquals&lt;/li&gt;
&lt;li&gt;Assert.IsLike&lt;/li&gt;
&lt;li&gt;Assert.IsNotLike&lt;/li&gt;
&lt;li&gt;Assert.IsNull&lt;/li&gt;
&lt;li&gt;Assert.IsNotNull&lt;/li&gt;
&lt;li&gt;Assert.TableEquals&lt;/li&gt;
&lt;li&gt;Assert.IsTableEmpty&lt;/li&gt;
&lt;li&gt;Assert.RegisterExpectedError&lt;/li&gt;&lt;/ul&gt;

&lt;ul&gt;&lt;li&gt;Runner.RunAll &lt;/li&gt;
&lt;li&gt;Runner.RunSuite  &lt;/li&gt;
&lt;li&gt;Runner.RunTest  &lt;/li&gt;&lt;/ul&gt;

&lt;ul&gt;&lt;li&gt;Utils.SetConfiguration&lt;/li&gt;&lt;/ul&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Wed, 23 Sep 2009 09:15:20 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090923091520A</guid></item><item><title>Updated Release: Version 1.4 (Sep 23, 2009)</title><link>http://tst.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=33384</link><description>&lt;div class="wikidoc"&gt;Version 1.4 changes:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;V 1.3 failed to install on a SQL Server with a case sensitive collation. This release fixes all known issues related to case sensitive collations.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Wed, 23 Sep 2009 09:14:38 GMT</pubDate><guid isPermaLink="false">Updated Release: Version 1.4 (Sep 23, 2009) 20090923091438A</guid></item><item><title>Released: Version 1.4 (Sep 23, 2009)</title><link>http://tst.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=33384</link><description>&lt;div&gt;Version 1.4 changes:&lt;br&gt;
&lt;ul&gt;&lt;li&gt;V 1.3 failed to install on a SQL Server with a case sensitive collation. This release fixes all known issues related to case sensitive collations.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;</description><author></author><pubDate>Wed, 23 Sep 2009 09:14:38 GMT</pubDate><guid isPermaLink="false">Released: Version 1.4 (Sep 23, 2009) 20090923091438A</guid></item><item><title>Created Release: Version 1.4 (Sep 23, 2009)</title><link>http://tst.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=33384</link><description>&lt;div class="wikidoc"&gt;Version 1.4 changes:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;V 1.3 failed to install on a SQL Server with a case sensitive collation. This release fixes all issues related to case sensitive collations.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Wed, 23 Sep 2009 09:14:09 GMT</pubDate><guid isPermaLink="false">Created Release: Version 1.4 (Sep 23, 2009) 20090923091409A</guid></item><item><title>Created Issue: Another Case Sensitivity Issue [4033]</title><link>http://tst.codeplex.com/WorkItem/View.aspx?WorkItemId=4033</link><description>Internal.PrepareTestInformation looks for stored procedures with &amp;#34;Setup_&amp;#34; and &amp;#34;Teardown_&amp;#34; in the SP name&lt;br /&gt;Internal.AnalyzeSprocName tests for &amp;#34;SETUP_&amp;#34; and &amp;#34;TEARDOWN_&amp;#34; in the SP name&lt;br /&gt;&lt;br /&gt;Formats should be consistent, either all upper or all Pascal &amp;#40;mixed&amp;#41; case.&lt;br /&gt;</description><author>hanemaj</author><pubDate>Mon, 21 Sep 2009 18:59:40 GMT</pubDate><guid isPermaLink="false">Created Issue: Another Case Sensitivity Issue [4033] 20090921065940P</guid></item></channel></rss>