<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www2.sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Adam Machanic : Testing</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/Testing/default.aspx</link><description>Tags: Testing</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>CloudSeeder: CLR Stored Procedures For Creating CPU Pressure</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2012/10/23/cloudseeder-clr-stored-procedures-for-creating-cpu-pressure.aspx</link><pubDate>Tue, 23 Oct 2012 19:49:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:45743</guid><dc:creator>Adam Machanic</dc:creator><slash:comments>0</slash:comments><comments>http://www2.sqlblog.com/blogs/adam_machanic/comments/45743.aspx</comments><wfw:commentRss>http://www2.sqlblog.com/blogs/adam_machanic/commentrss.aspx?PostID=45743</wfw:commentRss><description>Sometimes, in the interest of testing various scenarios that your server might encounter, it's useful to be able to quickly simulate some condition or another. I/O, memory, CPU pressure, and so on. This latter one is something I've been playing with a...(&lt;a href="http://www2.sqlblog.com/blogs/adam_machanic/archive/2012/10/23/cloudseeder-clr-stored-procedures-for-creating-cpu-pressure.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://www2.sqlblog.com/aggbug.aspx?PostID=45743" width="1" height="1"&gt;</description><enclosure url="http://www2.sqlblog.com/blogs/adam_machanic/attachment/45743.ashx" length="11043" type="application/octet-stream" /><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/Testing/default.aspx">Testing</category><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/SQLCLR/default.aspx">SQLCLR</category><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/threads/default.aspx">threads</category><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/cpu/default.aspx">cpu</category></item><item><title>Announcing SQLQueryStress: A simple query load tool</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2006/10/21/announcing-sqlquerystress-a-simple-query-load-tool.aspx</link><pubDate>Sat, 21 Oct 2006 04:29:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:327</guid><dc:creator>Adam Machanic</dc:creator><slash:comments>1</slash:comments><comments>http://www2.sqlblog.com/blogs/adam_machanic/comments/327.aspx</comments><wfw:commentRss>http://www2.sqlblog.com/blogs/adam_machanic/commentrss.aspx?PostID=327</wfw:commentRss><description>On October 20, 2004 -- two years ago -- &lt;a href="http://www.sqljunkies.com/WebLog/amachanic/archive/2004/10/20/4699.aspx"&gt;I announced that I was considering writing my own query load testing tool&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Clearly,
my follow through on this promise has been incredibly delayed.&amp;nbsp; But all
is not lost, and I'm happy to report that I am true to my word.&amp;nbsp; As of
today, &lt;a href="http://www.datamanipulation.net/SQLQueryStress/"&gt;beta-1 of my new SQLQueryStress tool is available for download&lt;/a&gt;.&lt;br&gt;&lt;br&gt;SQLQueryStress
is a free tool that provides a simple means of load testing individual
queries.&amp;nbsp; It provides some support for query parameterization and
options for collection of I/O and CPU metrics.&amp;nbsp; It is not intended to
replace tools such as Visual Studio Team System's load tests, but
rather to be a simple and easy-to-use tool in the DBA or database
developer's kit. I think it lives up to that goal, and initial feedback
I've gotten from a few people I've shown it to has been positive.&amp;nbsp; I've
been working on this project on and off for around the last eight
months, so I'm quite excited to finally release it to the public!&lt;br&gt;&lt;br&gt;Please &lt;a href="http://www.datamanipulation.net/SQLQueryStress/"&gt;check it out&lt;/a&gt;
and provide me with any feedback you have: What works?&amp;nbsp; What doesn't
work?&amp;nbsp; What other features would you like to see?&amp;nbsp; I'm planning to do
quite a bit more with this tool, so I'm definitely interested in what
users think would be useful.&amp;nbsp; And of course, please let me know if you
find any bugs (but given the rigor with which I've tested this project,
there couldn't &lt;i&gt;possibly &lt;/i&gt;be any!)&lt;br&gt;&lt;br&gt;Thanks, and enjoy!&lt;br&gt;&lt;img src="http://www2.sqlblog.com/aggbug.aspx?PostID=327" width="1" height="1"&gt;</description><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/Performance/default.aspx">Performance</category><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/Query+Tuning/default.aspx">Query Tuning</category><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/Testing/default.aspx">Testing</category></item><item><title>Introducing: TSQLMacro</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2006/07/12/introducing-tsqlmacro.aspx</link><pubDate>Thu, 13 Jul 2006 01:37:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:93</guid><dc:creator>Adam Machanic</dc:creator><slash:comments>4</slash:comments><comments>http://www2.sqlblog.com/blogs/adam_machanic/comments/93.aspx</comments><wfw:commentRss>http://www2.sqlblog.com/blogs/adam_machanic/commentrss.aspx?PostID=93</wfw:commentRss><description>&lt;p&gt;I am pleased to announce the official introduction of the &lt;a href="http://www.datamanipulation.net/tsqlmacro" target="#"&gt;TSQLMacro framework&lt;/a&gt;, version 0.5 (prebeta-1).  This version is functionally complete based on the &lt;a href="http://www.datamanipulation.net/tsqlmacro/tsqlmacrodesignspec.asp" target="#"&gt;initial design spec&lt;/a&gt;, features are stable, and I am not currently aware of any bugs.
&lt;/p&gt;&lt;p&gt;
So what is TSQLMacro?  You can get a &lt;a href="http://www.datamanipulation.net/tsqlmacro" target="#"&gt;complete rundown here&lt;/a&gt;.
But in essence, TSQLMacro is my attempt to bring C/C++-style macro and
preprocessor support into TSQL, in order to ease certain development
burdens. Please read the &lt;a href="http://www.datamanipulation.net/tsqlmacro/tsqlmacrointro.asp" target="#"&gt;TSQLMacro Introduction&lt;/a&gt; for a detailed analysis of those issues.
&lt;/p&gt;&lt;p&gt;
And of course, there's a &lt;a href="http://www.datamanipulation.net/tsqlmacro/tsqlmacrodownload.asp" target="#"&gt;download page&lt;/a&gt;.
But I highly recommend reading up before downloading -- I haven't yet
included a readme or any other kind of documentation in the download.
&lt;/p&gt;&lt;p&gt;As always -- and especially, in this case -- I would appreciate
any comments, feedback, suggestions, rants, or other things you'd like
to tell me about this project! I've spent a huge amount of time -- way
too much time -- working on this, so I'm eager to see what people
think! Thanks!&lt;/p&gt;&lt;br&gt;&lt;img src="http://www2.sqlblog.com/aggbug.aspx?PostID=93" width="1" height="1"&gt;</description><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/T-SQL/default.aspx">T-SQL</category><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/Testing/default.aspx">Testing</category><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/developer+tools/default.aspx">developer tools</category></item><item><title>Introducing: TSQLAssert</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2006/07/12/introducing-tsqlassert.aspx</link><pubDate>Thu, 13 Jul 2006 01:37:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:94</guid><dc:creator>Adam Machanic</dc:creator><slash:comments>0</slash:comments><comments>http://www2.sqlblog.com/blogs/adam_machanic/comments/94.aspx</comments><wfw:commentRss>http://www2.sqlblog.com/blogs/adam_machanic/commentrss.aspx?PostID=94</wfw:commentRss><description>Yes, yet another introduction (although there was almost zero reaction to &lt;a href="http://sqlblog.com/blogs/adam_machanic/archive/2006/07/12/introducing-tsqlmacro.aspx"&gt;yesterday's introduction&lt;/a&gt;).
&lt;p&gt;
Today, I introduce the first thing built on top of &lt;a href="http://www.datamanipulation.net/tsqlmacro" target="#"&gt;TSQLMacro&lt;/a&gt;.  I proudly present the &lt;a href="http://www.datamanipulation.net/tsqlmacro/tsqlassert.asp" target="#"&gt;TSQLAssert debug assertion framework&lt;/a&gt;!
&lt;/p&gt;&lt;p&gt;
For those of you who've worked with assertions before, I think you'll
enjoy this quite a bit. It provides similar functionality to assertions
in other languages, and I think it will be great for debugging and
perhaps as an addition to environments using &lt;a href="http://tsqlunit.sourceforge.net/" target="#"&gt;TSQLUnit&lt;/a&gt;.
&lt;/p&gt;&lt;p&gt;
For those of you who haven't felt the joy that is asserting in your code, check out the following intro in the Wikipedia: &lt;a href="http://en.wikipedia.org/wiki/Assertion_%28computing%29" target="#"&gt;http://en.wikipedia.org/wiki/Assertion_%28computing%29&lt;/a&gt;
&lt;/p&gt;&lt;p&gt;
As always, feedback is appreciated!  Thank you!&lt;/p&gt;&lt;br&gt;&lt;img src="http://www2.sqlblog.com/aggbug.aspx?PostID=94" width="1" height="1"&gt;</description><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/T-SQL/default.aspx">T-SQL</category><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/Testing/default.aspx">Testing</category><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/developer+tools/default.aspx">developer tools</category></item></channel></rss>