<?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-13321238.post3324292553191835452..comments</id><updated>2011-11-16T08:49:10.836+11:00</updated><category term='AOP'/><category term='alt.net'/><category term='tools'/><category term='pdc'/><category term='workflow'/><category term='silverlight'/><category term='books'/><category term='ajax'/><category term='TFS'/><category term='development'/><category term='holiday'/><category term='Sandcastle'/><category term='alm'/><category term='community'/><category term='WP7'/><category term='how to'/><category term='games'/><category term='live writer'/><category term='readify'/><category term='communication'/><category term='open source'/><category term='general'/><category term='CruiseControl.NET'/><category term='VSTS'/><category term='blogger'/><category term='scrum'/><category term='agile'/><category term='tech industry'/><category term='powershell'/><category term='mocking'/><category term='tech.ed'/><category term='microsoft'/><category term='design'/><category term='.net'/><category term='podcasting'/><category term='code contracts'/><category term='testing'/><category term='architecture'/><category term='blogging'/><category term='basics'/><category term='usability'/><category term='nhibernate'/><category term='management'/><category term='database'/><category term='presentations'/><title type='text'>Comments on Richard Banks - Agile and .NET: Underscores in Test Names are a Pain to Type, Righ...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.richard-banks.org/feeds/3324292553191835452/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13321238/3324292553191835452/comments/default'/><link rel='alternate' type='text/html' href='http://www.richard-banks.org/2011/11/underscores-in-test-names-are-pain-to.html'/><author><name>Richard Banks</name><uri>https://profiles.google.com/108737416426536739827</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='//lh3.googleusercontent.com/-qMhF7F-2pE0/AAAAAAAAAAI/AAAAAAAABG0/pyfB5AVfmqM/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-13321238.post-9048285006649881353</id><published>2011-11-11T13:34:07.093+11:00</published><updated>2011-11-11T13:34:07.093+11:00</updated><title type='text'>I use an AHK script from &lt;a href="http://blog.jpbo...</title><content type='html'>I use an AHK script from &lt;a href="http://blog.jpboodhoo.com/BDDAutoHotKeyScriptUpdateTake2.aspx" rel="nofollow"&gt;here&lt;/a&gt; that I probably originally found on &lt;a href="http://www.davesquared.net/2008/05/bdd-test-naming-with-autohotkey.html" rel="nofollow"&gt;Dave Tchepak&amp;#39;s blog&lt;/a&gt;, so I just hit CTRL-Shift-U to toggle naming mode, which_I_can_do_ANYWHERE but it can catch me out sometimes ;-)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13321238/3324292553191835452/comments/default/9048285006649881353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13321238/3324292553191835452/comments/default/9048285006649881353'/><link rel='alternate' type='text/html' href='http://www.richard-banks.org/2011/11/underscores-in-test-names-are-pain-to.html?showComment=1320978847093#c9048285006649881353' title=''/><author><name>Ben Scott</name><uri>http://belfryimages.com.au</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://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.richard-banks.org/2011/11/underscores-in-test-names-are-pain-to.html' ref='tag:blogger.com,1999:blog-13321238.post-3324292553191835452' source='http://www.blogger.com/feeds/13321238/posts/default/3324292553191835452' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1386448516'/></entry><entry><id>tag:blogger.com,1999:blog-13321238.post-5882241308276263050</id><published>2011-11-11T12:34:23.929+11:00</published><updated>2011-11-11T12:34:23.929+11:00</updated><title type='text'>Camel and pascal casing only really works up to ab...</title><content type='html'>Camel and pascal casing only really works up to about 30 characters or so.  After that your brain has to work too hard to parse the text, which is why underscores for test names are generally a better approach.  Also, when you look at a long list of tests after a test run then it&amp;#39;s very easy to read the test names.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13321238/3324292553191835452/comments/default/5882241308276263050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13321238/3324292553191835452/comments/default/5882241308276263050'/><link rel='alternate' type='text/html' href='http://www.richard-banks.org/2011/11/underscores-in-test-names-are-pain-to.html?showComment=1320975263929#c5882241308276263050' title=''/><author><name>Richard Banks</name><uri>http://www.blogger.com/profile/11682500243311050542</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://farm1.static.flickr.com/75/buddyicons/83433068@N00.jpg?1187650471'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.richard-banks.org/2011/11/underscores-in-test-names-are-pain-to.html' ref='tag:blogger.com,1999:blog-13321238.post-3324292553191835452' source='http://www.blogger.com/feeds/13321238/posts/default/3324292553191835452' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2050377826'/></entry><entry><id>tag:blogger.com,1999:blog-13321238.post-5841092268484629515</id><published>2011-11-11T10:07:07.532+11:00</published><updated>2011-11-11T10:07:07.532+11:00</updated><title type='text'>Hmm interesting.  We tend to stay away from unders...</title><content type='html'>Hmm interesting.  We tend to stay away from underscores.  The main reason is if an editor or something ever underlines it then you can have trouble telling where the underscores are and where just normal spaces are.&lt;br /&gt;&lt;br /&gt;You might also try (depending on what you prefer of course) using CamelCase (http://en.wikipedia.org/wiki/CamelCase).&lt;br /&gt;&lt;br /&gt;An example is...&lt;br /&gt;&lt;br /&gt;myGreatUnitTestName.&lt;br /&gt;&lt;br /&gt;It actually still is very readable.  :)&lt;br /&gt;&lt;br /&gt;It also depends on your coding standards and language.  It is great to sit down and write a coding standard so that everyone is on the same page to start with.  That way when some code comes up for review and it doesn&amp;#39;t fit the standard you can ask your engineer to refactor it to suit.  The end result is code that is consistent and doesn&amp;#39;t make people jump through mental hoops every 2 seconds trying to understand the code.&lt;br /&gt;&lt;br /&gt;Our practice is to always imagine we are writing code that a completely new employee (armed with our coding standards) might need to sit down and work on it tomorrow.  Or another exercise is to imagine that you may not look at or think about the project for 2 or 3 years.  That is a good length of time and you would be surprised what you can forget in that time.&lt;br /&gt;&lt;br /&gt;What ever you do if you don&amp;#39;t code with  consistent, readable and well documented code you may never be able to extract yourself from the process and will have to keep working on code that only you can read and understand.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13321238/3324292553191835452/comments/default/5841092268484629515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13321238/3324292553191835452/comments/default/5841092268484629515'/><link rel='alternate' type='text/html' href='http://www.richard-banks.org/2011/11/underscores-in-test-names-are-pain-to.html?showComment=1320966427532#c5841092268484629515' title=''/><author><name>Aaron Singline</name><uri>http://www.turboweb.co.nz/</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://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.richard-banks.org/2011/11/underscores-in-test-names-are-pain-to.html' ref='tag:blogger.com,1999:blog-13321238.post-3324292553191835452' source='http://www.blogger.com/feeds/13321238/posts/default/3324292553191835452' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1782284297'/></entry></feed>
