<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1973750947775262558.post1483601613554898658..comments</id><updated>2008-07-03T11:40:34.864-04:00</updated><category term='coldfusion'/><category term='BOF'/><category term='server configuration'/><category term='debugging'/><category term='jenkins'/><category term='SQL Server'/><category term='jira'/><category term='CFUnited'/><category term='Windows'/><category term='Security'/><category term='twicf'/><category term='timesavers'/><category term='MongoDB'/><category term='MAX'/><category term='user group'/><category term='TDD'/><category term='bcrypt'/><category term='BDD'/><category term='start'/><category term='CFUG'/><category term='RIAUnleashed'/><category term='ORM'/><category term='eclipse plugin'/><category term='Under  the Hood'/><category term='MXUnit Videos'/><category term='shortcuts'/><category term='Code Dojo'/><category term='OO Design'/><category term='cfeclipse dictionaries'/><category term='Hudson'/><category term='Humor'/><category term='eclipse'/><category term='Documentation'/><category term='closures'/><category term='announcements'/><category term='facebook'/><category term='launchy'/><category term='mxunit product update'/><category term='Continuous Integration'/><category term='cfml'/><category term='scala'/><category term='ant'/><category term='air'/><category term='java'/><category term='refactoring'/><category term='mylyn'/><category term='mxunit eclipse plugin'/><category term='webservices'/><category term='energy saving tips'/><category term='unit testing testing private methods'/><category term='Presentations'/><category term='Best Practices'/><category term='flex'/><category term='test automation'/><category term='LiveCycle'/><category term='android'/><category term='Learning'/><category term='cfant'/><category term='noise control'/><category term='mobile development'/><category term='drivers'/><category term='flash builder'/><category term='generics'/><category term='twitter'/><category term='cfeclipse'/><category term='testability'/><category term='coldfusion builder'/><category term='unit testing'/><category term='ria'/><category term='fun'/><category term='cfObjective'/><category term='blogging'/><category term='svfug'/><category term='conferences'/><category term='subversion'/><title type='text'>Comments on MXUnit Blog: Using MXUnit to Test SQL Server Database Logic</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.mxunit.org/feeds/1483601613554898658/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html'/><author><name>bill shelton</name><uri>http://www.blogger.com/profile/06624894387927690246</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_R-2JPB8crqk/TIdxkrbeOnI/AAAAAAAAAZw/hHv2ocuuyqA/S220/avatar-twitter-white-bg.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1973750947775262558.post-1698700126623836080</id><published>2008-07-03T11:40:00.000-04:00</published><updated>2008-07-03T11:40:00.000-04:00</updated><title type='text'>big time. the notion of groups of tests is very co...</title><content type='html'>big time. the notion of groups of tests is very cool. and i know you shouldn't care about test order, but i can see how this would be useful.&lt;BR/&gt;&lt;BR/&gt;i really like the whole "method interceptor" approach, too. TestNG got their shit together</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/1698700126623836080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/1698700126623836080'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html?showComment=1215099600000#c1698700126623836080' title=''/><author><name>Marc Esher</name><uri>http://www.blogger.com/profile/05942611191966201181</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html' ref='tag:blogger.com,1999:blog-1973750947775262558.post-1483601613554898658' source='http://www.blogger.com/feeds/1973750947775262558/posts/default/1483601613554898658' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-260340863'/></entry><entry><id>tag:blogger.com,1999:blog-1973750947775262558.post-8706511381547915673</id><published>2008-07-03T11:14:00.000-04:00</published><updated>2008-07-03T11:14:00.000-04:00</updated><title type='text'>@mike - super-cool use of sql-05!&lt;br&gt;&lt;br&gt;@all - On...</title><content type='html'>@mike - super-cool use of sql-05!&lt;BR/&gt;&lt;BR/&gt;@all - One of of the numerous things about the TestNG approach that struck me was the ability to control the execution threads of tests: "You can also define new groups ..., such as whether to run the tests in parallel, how many threads to use, whether you are running JUnit tests, etc... "; e.g., &lt;BR/&gt;@Test(threadPoolSize = 3, invocationCount = 10,  timeOut = 10000)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/8706511381547915673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/8706511381547915673'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html?showComment=1215098040000#c8706511381547915673' title=''/><author><name>bill</name><uri>http://www.blogger.com/profile/06624894387927690246</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17359140296736057249'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html' ref='tag:blogger.com,1999:blog-1973750947775262558.post-1483601613554898658' source='http://www.blogger.com/feeds/1973750947775262558/posts/default/1483601613554898658' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1094271333'/></entry><entry><id>tag:blogger.com,1999:blog-1973750947775262558.post-7537357392941027231</id><published>2008-07-03T10:03:00.000-04:00</published><updated>2008-07-03T10:03:00.000-04:00</updated><title type='text'>yer right, mike, the plugin does work that way in ...</title><content type='html'>yer right, mike, the plugin does work that way in that it runs each test function as a separate webservice request. technically, only one object is created, and it's put in an object cache, and then subsequent calls to each test just pull that object from the cache. but the difference is that there's no request scope to speak of, and each function gets run in a single "operation" inside CF so to speak.&lt;BR/&gt;&lt;BR/&gt;i'm really curious though why you're having the problem when you run it in the html test runner. i wish i was sitting beside you now to watch it because this sounds like a fun problem to solve.&lt;BR/&gt;&lt;BR/&gt;also, we're heading out for stogies today during lunch. too bad you're down in the hood and not up here in sunny owings mills!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/7537357392941027231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/7537357392941027231'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html?showComment=1215093780000#c7537357392941027231' title=''/><author><name>Marc Esher</name><uri>http://www.blogger.com/profile/05942611191966201181</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html' ref='tag:blogger.com,1999:blog-1973750947775262558.post-1483601613554898658' source='http://www.blogger.com/feeds/1973750947775262558/posts/default/1483601613554898658' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-260340863'/></entry><entry><id>tag:blogger.com,1999:blog-1973750947775262558.post-2959533151677389436</id><published>2008-07-03T09:56:00.001-04:00</published><updated>2008-07-03T09:56:00.001-04:00</updated><title type='text'>If you're using mssql 2005, you absolutely want to...</title><content type='html'>If you're using mssql 2005, you absolutely want to take a look at the new snapshots feature.  I'm able to do a complete back and restore around each one of my database method tests.  It's pretty amazing how fast it is; maybe a second or two to do the backup and about the same for the restore.&lt;BR/&gt;&lt;BR/&gt;This goes hand in hand with the "develop locally" approach.  You definitely don't want to use this approach with a database that isn't just yours.  &lt;BR/&gt;&lt;BR/&gt;One caveat that I have, though is that some of my db test fail if I run them with anything other than the test runner embedded in the eclipse plugin.  It's very strange.  It's almost like the plugin runs tests serially and the html test runner runs them in parallel.  Trying to run tests in parallel while doing backups and restores in between probably ain't gonna work.&lt;BR/&gt;&lt;BR/&gt;When it does work, though, it's pretty freaking amazing.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/2959533151677389436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/2959533151677389436'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html?showComment=1215093360001#c2959533151677389436' title=''/><author><name>Mike</name><uri>http://www.blogger.com/profile/02592223337712827862</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://static.flickr.com/112/307858295_4acab70b86_o.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html' ref='tag:blogger.com,1999:blog-1973750947775262558.post-1483601613554898658' source='http://www.blogger.com/feeds/1973750947775262558/posts/default/1483601613554898658' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1897816558'/></entry><entry><id>tag:blogger.com,1999:blog-1973750947775262558.post-8667239022467331282</id><published>2008-07-03T09:56:00.000-04:00</published><updated>2008-07-03T09:56:00.000-04:00</updated><title type='text'>@marc - funny you should mention that! I had simil...</title><content type='html'>@marc - funny you should mention that! I had similar thoughts this morning with respect to creating and loading tables with data. This also speaks to the some of the TestNG/annotation stuff we've been discussing and some of Mike Rankin's thoughts. You could have a @BeforeSuite annotation that creates tables and data needed for the fixture, and then once all tests are run, you could call @AfterSuite to drop the tables ...&lt;BR/&gt;&lt;BR/&gt;bill</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/8667239022467331282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/8667239022467331282'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html?showComment=1215093360000#c8667239022467331282' title=''/><author><name>bill</name><uri>http://www.blogger.com/profile/06624894387927690246</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17359140296736057249'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html' ref='tag:blogger.com,1999:blog-1973750947775262558.post-1483601613554898658' source='http://www.blogger.com/feeds/1973750947775262558/posts/default/1483601613554898658' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1094271333'/></entry><entry><id>tag:blogger.com,1999:blog-1973750947775262558.post-1530356457799624927</id><published>2008-07-03T09:10:00.000-04:00</published><updated>2008-07-03T09:10:00.000-04:00</updated><title type='text'>just thinking out loud: it'd be cool if you kept t...</title><content type='html'>just thinking out loud: it'd be cool if you kept the DML scripts (create procedure, etc) in source control. then your test could fetch the script, strip off the "create..." junk and just run the guts of it. this way, you wouldn't duplicate your "real" db code and you'd always be testing the most recent. it'd help keep the tests from going stale, too.&lt;BR/&gt;&lt;BR/&gt;just a thought....</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/1530356457799624927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/1530356457799624927'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html?showComment=1215090600000#c1530356457799624927' title=''/><author><name>Marc Esher</name><uri>http://www.blogger.com/profile/05942611191966201181</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html' ref='tag:blogger.com,1999:blog-1973750947775262558.post-1483601613554898658' source='http://www.blogger.com/feeds/1973750947775262558/posts/default/1483601613554898658' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-260340863'/></entry><entry><id>tag:blogger.com,1999:blog-1973750947775262558.post-8367077620506317176</id><published>2008-07-02T09:36:00.000-04:00</published><updated>2008-07-02T09:36:00.000-04:00</updated><title type='text'>@aaron: yeah, it seems like there's a pretty big n...</title><content type='html'>@aaron: yeah, it seems like there's a pretty big need, or at least a desire, to have some ways to test databases. I was only able to touch on that briefly at the testing talk at CFUnited, but several folks mentioned afterwards that they really wanted some more info on the subject.  Stay tuned ...&lt;BR/&gt;&lt;BR/&gt;thanks,&lt;BR/&gt;-bill</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/8367077620506317176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/8367077620506317176'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html?showComment=1215005760000#c8367077620506317176' title=''/><author><name>bill</name><uri>http://www.blogger.com/profile/06624894387927690246</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17359140296736057249'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html' ref='tag:blogger.com,1999:blog-1973750947775262558.post-1483601613554898658' source='http://www.blogger.com/feeds/1973750947775262558/posts/default/1483601613554898658' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1094271333'/></entry><entry><id>tag:blogger.com,1999:blog-1973750947775262558.post-4288298082225360467</id><published>2008-07-02T09:24:00.000-04:00</published><updated>2008-07-02T09:24:00.000-04:00</updated><title type='text'>thanks!  I'm excited to hear more on this, and app...</title><content type='html'>thanks!  I'm excited to hear more on this, and appreciate you taking the time to explain your take on how to unit test databases and queries via MXUnit.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/4288298082225360467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/4288298082225360467'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html?showComment=1215005040000#c4288298082225360467' title=''/><author><name>Aaron Longnion</name><uri>http://www.blogger.com/profile/03864976259628767766</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09382330001470575797'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html' ref='tag:blogger.com,1999:blog-1973750947775262558.post-1483601613554898658' source='http://www.blogger.com/feeds/1973750947775262558/posts/default/1483601613554898658' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1091426648'/></entry><entry><id>tag:blogger.com,1999:blog-1973750947775262558.post-2771822220829057896</id><published>2008-07-01T14:07:00.000-04:00</published><updated>2008-07-01T14:07:00.000-04:00</updated><title type='text'>got it. thanks!</title><content type='html'>got it. thanks!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/2771822220829057896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/2771822220829057896'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html?showComment=1214935620000#c2771822220829057896' title=''/><author><name>bill</name><uri>http://www.blogger.com/profile/06624894387927690246</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17359140296736057249'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html' ref='tag:blogger.com,1999:blog-1973750947775262558.post-1483601613554898658' source='http://www.blogger.com/feeds/1973750947775262558/posts/default/1483601613554898658' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1094271333'/></entry><entry><id>tag:blogger.com,1999:blog-1973750947775262558.post-8555612552227975114</id><published>2008-07-01T13:52:00.000-04:00</published><updated>2008-07-01T13:52:00.000-04:00</updated><title type='text'>nice!&lt;br&gt;&lt;br&gt;one thing: in that test, if your asse...</title><content type='html'>nice!&lt;BR/&gt;&lt;BR/&gt;one thing: in that test, if your assertion fails, the debug() won't fire.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/8555612552227975114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/1483601613554898658/comments/default/8555612552227975114'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html?showComment=1214934720000#c8555612552227975114' title=''/><author><name>Marc Esher</name><uri>http://www.blogger.com/profile/05942611191966201181</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mxunit.org/2008/07/using-mxunit-to-test-sql-server.html' ref='tag:blogger.com,1999:blog-1973750947775262558.post-1483601613554898658' source='http://www.blogger.com/feeds/1973750947775262558/posts/default/1483601613554898658' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-260340863'/></entry></feed>
