<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>TST Discussions Rss Feed</title><link>http://tst.codeplex.com/Thread/List.aspx</link><description>TST Discussions Rss Description</description><item><title>New Post: Testing login permissions</title><link>http://tst.codeplex.com/discussions/442380</link><description>&lt;div style="line-height: normal;"&gt;I need to write tests to validate the permissions for various application logins. I'm planning on using the EXECUTE AS LOGIN = 'ApplicationLogin'; and REVERT statements in the tests. Is that the best way to tackle this problem? Any advice on how best to test permissions?&lt;br /&gt;
&lt;/div&gt;</description><author>JohnMayo</author><pubDate>Thu, 02 May 2013 18:26:28 GMT</pubDate><guid isPermaLink="false">New Post: Testing login permissions 20130502062628P</guid></item><item><title>New Post: Change TST.Bat to allow for UserName/Password instead of only supporting trusted connections</title><link>http://tst.codeplex.com/discussions/429971</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;In the next version, can you please change the TST.Bat file to allow a username/password combination to be used when a trusted connection can't be used.&lt;/p&gt;
&lt;/div&gt;</description><author>JohnMayo</author><pubDate>Thu, 17 Jan 2013 23:22:02 GMT</pubDate><guid isPermaLink="false">New Post: Change TST.Bat to allow for UserName/Password instead of only supporting trusted connections 20130117112202P</guid></item><item><title>New Post: Output XML in JUnit format for CI?</title><link>http://tst.codeplex.com/discussions/360763</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;If you work on the JUnit XML approach, please post here how that worked out for you.&lt;/p&gt;&lt;/div&gt;</description><author>johnmayo</author><pubDate>Tue, 26 Jun 2012 03:56:59 GMT</pubDate><guid isPermaLink="false">New Post: Output XML in JUnit format for CI? 20120626035659A</guid></item><item><title>New Post: Output XML in JUnit format for CI?</title><link>http://tst.codeplex.com/discussions/360763</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thank you for your input! I can see that outputting TeamCity tags might work for TeamCity. However, I would like to have a more generic solution, and still believe that outputting in the generic JUnit XML format might be useful.&lt;/p&gt;&lt;/div&gt;</description><author>larsthorup</author><pubDate>Tue, 26 Jun 2012 03:07:36 GMT</pubDate><guid isPermaLink="false">New Post: Output XML in JUnit format for CI? 20120626030736A</guid></item><item><title>New Post: code coverage</title><link>http://tst.codeplex.com/discussions/350608</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;No, I haven't made these extensions available yet. I need to clean up the code and put tests around the functionality and haven't had the time to do so yet.&lt;/p&gt;&lt;/div&gt;</description><author>johnmayo</author><pubDate>Mon, 25 Jun 2012 21:49:33 GMT</pubDate><guid isPermaLink="false">New Post: code coverage 20120625094933P</guid></item><item><title>New Post: Output XML in JUnit format for CI?</title><link>http://tst.codeplex.com/discussions/360763</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I was able to to integrate TST tests with TeamCity by creating a version of Internal.RunOneSuiteInternal that prints out a few things around the test:&lt;/p&gt;
&lt;p&gt;##teamcity[testStarted name=''TestNameGoesHere"]&lt;/p&gt;
&lt;p&gt;And after the test either:&lt;/p&gt;
&lt;p&gt;##teamcity[testFinished name=''TestNameGoesHere'' duration=''TestDurationGoesHere']&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;##teamcity[testFailed name=''TestNameGoesHere'']&lt;/p&gt;
&lt;p&gt;depending if the test passed or failed.&lt;/p&gt;
&lt;p&gt;I put that version of Internal.RunOneSuiteInternal in a different database along with modified versions of versions of the Runner.RunAll, Runner.RunSuite, Internal.RunTestSession and Internal.RunOneSuiteInternal that called it. The change was pretty easy. I've also added statement coverage statistics to that code. Clean up the code and getting some tests around it are one of my backburner projects.&lt;/p&gt;&lt;/div&gt;</description><author>johnmayo</author><pubDate>Mon, 25 Jun 2012 20:52:24 GMT</pubDate><guid isPermaLink="false">New Post: Output XML in JUnit format for CI? 20120625085224P</guid></item><item><title>New Post: Output XML in JUnit format for CI?</title><link>http://tst.codeplex.com/discussions/360763</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I would like to run my T.S.T tests on TeamCity or Jenkins for Continuous Integration. I believe the XML format currently produced by T.S.T is not consumable directly by TeamCity or Jenkins. Would I have to write an XSLT transformation to the ubiquitous JUnit
 format myself, or is there some such transformation available already? Or are there better way to reach my goal?&lt;/p&gt;
&lt;/div&gt;</description><author>larsthorup</author><pubDate>Mon, 25 Jun 2012 04:13:22 GMT</pubDate><guid isPermaLink="false">New Post: Output XML in JUnit format for CI? 20120625041322A</guid></item><item><title>New Post: How does Assert.TableEquals work?</title><link>http://tst.codeplex.com/discussions/357773</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&lt;span style="font-size: 11pt;"&gt;Yes, #ExpectedResult and #ActualResult are the one that are compared and this cannot be changed. Take a look at the documentation where this is explained in details. The TST QUICK start database has some examples as well.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Sat, 02 Jun 2012 23:59:41 GMT</pubDate><guid isPermaLink="false">New Post: How does Assert.TableEquals work? 20120602115941P</guid></item><item><title>New Post: How does Assert.TableEquals work?</title><link>http://tst.codeplex.com/discussions/357773</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I am new here, I was wondering how does&amp;nbsp;&lt;span style="font-size:27px; font-weight:bold"&gt;Assert.TableEquals&amp;nbsp;&lt;span style="font-size:13px; font-weight:normal"&gt;work?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:13px; font-weight:normal"&gt;I expected Assert.TableEquals ActualTableName ExpectedTableName&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Or is that it only and always compares tables by following names #ActualResult and #ExpectedResult?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Anjana&lt;/p&gt;
&lt;/div&gt;</description><author>AnjanaPatil</author><pubDate>Thu, 31 May 2012 01:33:09 GMT</pubDate><guid isPermaLink="false">New Post: How does Assert.TableEquals work? 20120531013309A</guid></item><item><title>New Post: code coverage</title><link>http://tst.codeplex.com/discussions/350608</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi John,&lt;/p&gt;
&lt;p&gt;Are these extensions available ?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</description><author>whgibbo</author><pubDate>Tue, 10 Apr 2012 11:22:42 GMT</pubDate><guid isPermaLink="false">New Post: code coverage 20120410112242A</guid></item><item><title>New Post: Assert.TableEquals does not support the DATE data type</title><link>http://tst.codeplex.com/discussions/304065</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Implemented in V1.9.&lt;/p&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Sun, 01 Apr 2012 03:04:02 GMT</pubDate><guid isPermaLink="false">New Post: Assert.TableEquals does not support the DATE data type 20120401030402A</guid></item><item><title>New Post: Add @ExpectedErrorLikeMessage to Assert.RegisterExpectedError API</title><link>http://tst.codeplex.com/discussions/286673</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Implemented in V1.9.&lt;/p&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Sun, 01 Apr 2012 03:03:43 GMT</pubDate><guid isPermaLink="false">New Post: Add @ExpectedErrorLikeMessage to Assert.RegisterExpectedError API 20120401030343A</guid></item><item><title>New Post: RegisterExpectedError but got different error text</title><link>http://tst.codeplex.com/discussions/303504</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Implemented in V1.9.&lt;/p&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Sun, 01 Apr 2012 03:03:21 GMT</pubDate><guid isPermaLink="false">New Post: RegisterExpectedError but got different error text 20120401030321A</guid></item><item><title>New Post: code coverage</title><link>http://tst.codeplex.com/discussions/350608</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;It is possible to get statement coverage statistics and I've written some extensions around TST to do that. The approach I took was to add comments into the code being tested tagging each line of code, parse the stored procedures at the beginning of a test session for the tags and then ran a trace while the tests were running which could then be parsed for the tags. The end result was a list of tags for all of the statements that could be run and a list of tags for all of the statements that were run which made it easy to generate both statement coverage statistics and a list of which code coverage tags weren't run.&lt;/p&gt;&lt;/div&gt;</description><author>johnmayo</author><pubDate>Fri, 30 Mar 2012 12:11:16 GMT</pubDate><guid isPermaLink="false">New Post: code coverage 20120330121116P</guid></item><item><title>New Post: code coverage</title><link>http://tst.codeplex.com/discussions/350608</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Does anybody know if it is possible to get any code coverage status from the tests?&lt;/p&gt;
&lt;p&gt;If so, could you please explain how ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Many thanks&lt;/p&gt;
&lt;/div&gt;</description><author>whgibbo</author><pubDate>Fri, 30 Mar 2012 07:31:25 GMT</pubDate><guid isPermaLink="false">New Post: code coverage 20120330073125A</guid></item><item><title>New Post: TST for Data validations </title><link>http://tst.codeplex.com/discussions/349255</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Short answer: &lt;br /&gt;TST is designed primarily for code validation and not for data validation. There are some downsides in using TST for data validation (see below).&lt;/p&gt;
&lt;p&gt;Long answer:&lt;br /&gt;The question is: What kind of ETL jobs are we talking about? Are those actual production mode ETL jobs with real data or test ETL jobs where you seed the data for the purpose of exercising test scenarios? From your description I assume we are talking about the first case: production mode ETL jobs.&lt;/p&gt;
&lt;p&gt;The first case: If your goal is to make sure that production data is in good shape and you want to validate production data that results after ETL jobs are run. Using TST for this scenario has one important downside: One individual TST test procedure will stop at the first assert that fails. This means that if you have a test that has several asserts you will only be able to see the first failure and not be sure about the rest. Also I imagine that after you run the ETL you not only want to see if a certain relation is broken but you want to see in how many places and where are those places (as in how many rows and which rows). That may also be cumbersome to do with TST.&lt;/p&gt;
&lt;p&gt;Keep in mind that in this case, what you do is to validate particular data and you will not necessarily be able to find certain bugs that you may have in your stored procedures. And this brings us to the second case:&lt;/p&gt;
&lt;p&gt;The second case: If your goal is to make sure that you don&amp;rsquo;t have bugs in your stored procedures. Validating data after the production ETL is run, is not a reliable way to achieve this goal. There are several issues: &lt;br /&gt;1.&amp;nbsp;You find out about the bug only after the data is already impacted. &lt;br /&gt;2.&amp;nbsp;There are bugs that code validation will catch easily and data validation will not catch at all. This is probably the worst case. You end up running with bugs that may not be discovered or are discovered by chance long time after data corruption is introduced in production. &lt;br /&gt;3.&amp;nbsp;You may have bugs that will not be hit in the production for quite a while. Fixing a bug found 6 months after the system was released to production is most of the time way more difficult than fixing the bug 10 minutes after you introduced it.&lt;/p&gt;
&lt;p&gt;If your goal is to do data validation (first case) then TST is not ideal. If your goal is to make sure that you don&amp;rsquo;t have bugs in your stored procedures (second case), TST is a good tool.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Sun, 25 Mar 2012 16:33:27 GMT</pubDate><guid isPermaLink="false">New Post: TST for Data validations  20120325043327P</guid></item><item><title>New Post: Assert.TableEquals does not support the DATE data type</title><link>http://tst.codeplex.com/discussions/304065</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;ETA: April 7th or earlier&lt;/p&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Sun, 25 Mar 2012 03:28:39 GMT</pubDate><guid isPermaLink="false">New Post: Assert.TableEquals does not support the DATE data type 20120325032839A</guid></item><item><title>New Post: Add @ExpectedErrorLikeMessage to Assert.RegisterExpectedError API</title><link>http://tst.codeplex.com/discussions/286673</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&lt;span style="font-size: x-small;"&gt;
&lt;p&gt;ETA: April 7th or earlier.&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Fri, 23 Mar 2012 11:33:04 GMT</pubDate><guid isPermaLink="false">New Post: Add @ExpectedErrorLikeMessage to Assert.RegisterExpectedError API 20120323113304A</guid></item><item><title>New Post: RegisterExpectedError but got different error text</title><link>http://tst.codeplex.com/discussions/303504</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&lt;span style="font-size: x-small;"&gt;
&lt;p&gt;ETA: March 7th or earlier&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>lmolnar</author><pubDate>Fri, 23 Mar 2012 08:36:52 GMT</pubDate><guid isPermaLink="false">New Post: RegisterExpectedError but got different error text 20120323083652A</guid></item><item><title>New Post: TST for Data validations </title><link>http://tst.codeplex.com/discussions/349255</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi, I am working as a SDET in Database Testing. I am tryitng to find out a tool for Testing stored procedures in my SQL server. We have some jobs for ETL which runs these stored procedures. I need to test the Databse for data validations after stored procedures.
 Most of the tables don't have foreign keys. Any ideas about creating automated test cases in T-SQL language ? Is TST best for it ? I am not good in C# or .NET so Iam looking for T-SQL tools. Please let me know.&lt;/p&gt;
&lt;p&gt;Archana&lt;/p&gt;
&lt;/div&gt;</description><author>archanagvnk</author><pubDate>Mon, 19 Mar 2012 22:32:00 GMT</pubDate><guid isPermaLink="false">New Post: TST for Data validations  20120319103200P</guid></item></channel></rss>